#include <wiiuse/wpad.h>
#include <gcmodplay.h>
#include "Player.h"
#include "Options.h"
#include "Color.h"
Go to the source code of this file.
Variables | |
Options * | g_options |
the global options | |
TetrisPieceDesc | g_pieceDesc [TETRISPIECE_ID_MAX][4] |
Pieces have up to 4 possible rotations. | |
Player * | g_players |
the player instances | |
MODPlay | g_modPlay |
used for playing the game music | |
bool | g_isEditMode = false |
true when editing the playfield | |
bool | g_isClassicMode = false |
classic mode | |
int | g_tcycMenu |
the current menu state | |
Mtx | g_view |
the global view matrix | |
vec3w_t | g_wiiacc [MAX_PLAYERS] |
wiimote acceleration data | |
expansion_t | g_wiiexp [MAX_PLAYERS] |
wiimote expansion-controller data | |
int | g_totalPowerups |
The total number of powerup classes (determined at runtime). | |
ColorGradient | g_cubeGradients [COLOR_ID_MAX] |
gradients for coloring the face of a tetris piece block |
Definition in file globals.cpp.
ColorGradient g_cubeGradients[COLOR_ID_MAX] |
{ {{255, 255, 64, 255}, {128, 128, 0, 255}, {64, 64, 0, 255}}, {{64, 255, 255, 255}, {0, 128, 128, 255}, {0, 64, 64, 255}}, {{64, 255, 64, 255}, {0, 128, 0, 255}, {0, 64, 0, 255}}, {{255, 64, 64, 255}, {128, 0, 0, 255}, {64, 0, 0, 255}}, {{255, 128, 64, 255}, {128, 64, 0, 255}, {64, 32, 0, 255}}, {{64, 64, 255, 255}, {0, 0, 128, 255}, {0, 0, 64, 255}}, {{255, 64, 255, 255}, {128, 0, 128, 255}, {64, 0, 64, 255}}, {{200, 150, 100, 255}, {150, 100, 50, 255}, {100, 50, 0, 255}}, {{100, 100, 100, 255}, {50, 50, 50, 255}, {25, 25, 25, 255}}, {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}} }
gradients for coloring the face of a tetris piece block
Definition at line 44 of file globals.cpp.
TetrisPieceDesc g_pieceDesc[TETRISPIECE_ID_MAX][4] |
Pieces have up to 4 possible rotations.
static description of every tetris piece for all 4 rotations
Definition at line 32 of file globals.cpp.