Go to the source code of this file.
Data Structures | |
| struct | shape |
Defines | |
| #define | A_FIRST 1 |
| #define | A_LAST 21 |
| #define | B_COLS 12 |
| #define | B_ROWS 23 |
| #define | B_SIZE (B_ROWS * B_COLS) |
| #define | CTOD(x) ((x) * 2 + (((Cols - 2 * B_COLS) >> 1) - 1)) |
| #define | D_FIRST 1 |
| #define | D_LAST 22 |
| #define | faster() (fallrate -= fallrate / 3000) |
| #define | MAXLEVEL 9 |
| #define | MINCOLS 40 |
| #define | MINLEVEL 1 |
| #define | MINROWS 23 |
| #define | PRE_PENALTY 0.75 |
| #define | RTOD(x) ((x) - 1) |
Typedefs | |
| typedef uint32_t | cell |
Functions | |
| int | fits_in (const struct shape *shape, int pos) |
| void | place (const struct shape *shape, int pos, int onoff) |
| void | stop (const char *why) |
Variables | |
| cell | board [B_SIZE] |
| int | classic |
| int | Cols |
| shape * | curshape |
| long | fallrate |
| char | key_msg [100] |
| shape * | nextshape |
| int | Rows |
| int | score |
| shape | shapes [] |
| int | showpreview |
Definition in file tetris.h.
1.4.7