A file for anything that needs to be globally visible. More...
#include <gccore.h>
#include <wiiuse/wpad.h>
#include <gcmodplay.h>
#include "prototypes.h"
#include "defines.h"
#include "Player.h"
#include "Options.h"
#include "Color.h"
#include "libwiigui/gui.h"
Go to the source code of this file.
Variables | |
TetrisPiece | g_currPiece [MAX_PLAYERS] |
the currently falling tetris piece | |
TetrisPiece | g_nextPiece [MAX_PLAYERS] |
the next tetris piece | |
u8 | map [MAX_PLAYERS][MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT] |
the current layout of all fallen pieces | |
vec3w_t | g_wiiacc [MAX_PLAYERS] |
wiimote acceleration data | |
expansion_t | g_wiiexp [MAX_PLAYERS] |
wiimote expansion-controller data | |
Options & | g_options |
the global options | |
TetrisPieceDesc | g_pieceDesc [NUMTYPES][4] |
static description of every tetris piece for all 4 rotations | |
Player | g_players [MAX_PLAYERS] |
the player instances | |
MODPlay | g_modPlay |
used for playing the game music | |
bool | g_isEditMode |
true when editing the playfield | |
int | g_tcycMenu |
the current menu state | |
ColorGradient | g_cubeGradients [COLOR_ID_MAX] |
gradients for coloring the face of a tetris piece block | |
u32 * | g_xfb [2] |
the external frame buffer | |
GXRModeObj * | g_vmode |
the video mode | |
Mtx | GXmodelView2D |
2D modelview matrix | |
Mtx44 | orthographic |
2D projection matrix | |
GuiImageData * | pointer [MAX_PLAYERS] |
GuiImage * | bgImg |
GuiSound * | bgMusic |
GuiWindow * | mainWindow |
GuiImageData * | grabber [MAX_PLAYERS] |
GuiImageData * | debug_grabber1 |
GuiImageData * | debug_grabber2 |
GuiImageData * | debug_grabber3 |
GuiImageData * | debug_grabber4 |
GuiSound * | btnSoundOver |
GuiSound * | g_heartbeatSound |
GuiSound * | g_tetrisCheerSound |
GuiImageData * | btnOutline |
GuiImageData * | btnOutlineOver |
GuiImageData * | btnLargeOutline |
GuiImageData * | btnLargeOutlineOver |
GuiImageData * | btnData40x40Square |
GuiImageData * | btnData40x40SquareOver |
GuiImageData * | btnData80x40 |
GuiImageData * | btnData80x40Over |
GuiImageData * | btnDataMinus |
GuiImageData * | btnDataMinusOver |
GuiImageData * | btnDataPlus |
GuiImageData * | btnDataPlusOver |
GuiImageData * | tetrisLove |
GuiTrigger * | trigA |
GuiTrigger * | trigHome |
A file for anything that needs to be globally visible.
Definition in file globals.h.