Variables

code/include/globals.h File Reference

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
Optionsg_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
GuiImageDatapointer [MAX_PLAYERS]
GuiImagebgImg
GuiSoundbgMusic
GuiWindowmainWindow
GuiImageDatagrabber [MAX_PLAYERS]
GuiImageDatadebug_grabber1
GuiImageDatadebug_grabber2
GuiImageDatadebug_grabber3
GuiImageDatadebug_grabber4
GuiSoundbtnSoundOver
GuiSoundg_heartbeatSound
GuiSoundg_tetrisCheerSound
GuiImageDatabtnOutline
GuiImageDatabtnOutlineOver
GuiImageDatabtnLargeOutline
GuiImageDatabtnLargeOutlineOver
GuiImageDatabtnData40x40Square
GuiImageDatabtnData40x40SquareOver
GuiImageDatabtnData80x40
GuiImageDatabtnData80x40Over
GuiImageDatabtnDataMinus
GuiImageDatabtnDataMinusOver
GuiImageDatabtnDataPlus
GuiImageDatabtnDataPlusOver
GuiImageDatatetrisLove
GuiTriggertrigA
GuiTriggertrigHome

Detailed Description

A file for anything that needs to be globally visible.

Definition in file globals.h.

 All Classes Files Functions Variables Enumerations Enumerator