#include <unistd.h>
#include "tetris.h"
Go to the source code of this file.
Defines | |
#define | BC B_COLS |
#define | BL (B_COLS - 1) |
#define | BR (B_COLS + 1) |
#define | ML -1 |
#define | MR 1 |
#define | TC (-B_COLS) |
#define | TL (-B_COLS - 1) |
#define | TR (-B_COLS + 1) |
Functions | |
int | fits_in (const struct shape *shape, int pos) |
void | place (const struct shape *shape, int pos, int onoff) |
Variables | |
shape | shapes [] |
Definition in file shapes.c.