Defines the TetrisPiece classes. More...
#include <gctypes.h>
#include "mt.h"
#include "defines_Powerup.h"
Go to the source code of this file.
Classes | |
struct | TetrisPieceDesc |
Every piece fits into a 4x4 grid. More... | |
class | TetrisPiece |
A tetris piece. More... | |
struct | TetrisPieceConnectivityInfo |
Connectivity information used for powerup pieces. More... | |
class | TetrisPieceBlock |
An individual block that composes a tetris piece. More... | |
Defines | |
#define | DEFAULT_BLOCKS_PER_PIECE 4 |
Enumerations | |
enum | TetrisPieceId { TETRISPIECE_ID_NONE = -1, TETRISPIECE_ID_O, TETRISPIECE_ID_I, TETRISPIECE_ID_S, TETRISPIECE_ID_Z, TETRISPIECE_ID_L, TETRISPIECE_ID_J, TETRISPIECE_ID_T, TETRISPIECE_ID_JUNK, TETRISPIECE_ID_MAX, TETRISPIECE_ID_RAND_MAX = 7 } |
Enumerates all tetris piece types. More... | |
Variables | |
TetrisPieceDesc | g_pieceDesc [TETRISPIECE_ID_MAX][4] |
Pieces have up to 4 possible rotations. |
Defines the TetrisPiece classes.
Definition in file TetrisPiece.h.
enum TetrisPieceId |
Enumerates all tetris piece types.
Definition at line 38 of file TetrisPiece.h.