TetriCycle for Wii. More...
#include <gcmodplay.h>
#include <fat.h>
#include "main.h"
#include "tcyc_input.h"
#include "tcyc_menu.h"
#include "audio.h"
#include "menu.h"
#include "Options.h"
#include "Player.h"
#include "tetris_mod.h"
#include "pieces_bin.h"
Go to the source code of this file.
Functions | |
int | main () |
void | TCYC_Game () |
Runs the game loop. | |
void | TCYC_SetUp2D () |
Prepares for drawing 2D. | |
void | TCYC_DrawText () |
Draws in-game text such as lines, score, level. | |
int | TCYC_GetTargetPlayer (int x) |
Returns the player associated with the passed in x-coordinate. | |
int | TCYC_GetTargetPowerupSlot (int player, int x, int y) |
Returns the player's powerup slot associated with the passed in (x,y)-coordinate. | |
void | GX_Cube (int colorIdx, u8 alpha, GuiImageData *imgData) |
Draws a unit cube centered at the origin. | |
void | TCYC_EditPlayfield () |
Runs the "edit playfield" loop. | |
Variables | |
TetrisPieceDesc | g_pieceDesc [TETRISPIECE_ID_MAX][4] |
static description of every tetris piece for all 4 rotations | |
ColorGradient | g_cubeGradients [COLOR_ID_MAX] |
gradients for coloring the face of a tetris piece block | |
Player * | g_players |
the player instances | |
u32 * | g_xfb [2] |
the external frame buffer | |
GXRModeObj * | g_vmode |
the video mode | |
Mtx | GXmodelView2D |
2D modelview matrix | |
Mtx44 | orthographic |
2D projection matrix | |
Mtx | g_view |
the global view matrix | |
Options * | g_options |
the global options | |
MODPlay | g_modPlay |
used for playing the game music | |
bool | g_isEditMode |
true when editing the playfield | |
int | g_tcycMenu |
the current menu state | |
GuiWindow * | mainWindow |
GuiTrigger * | trigA |
GuiSound * | btnSoundOver |
GuiSound * | g_tetrisCheerSound |
GuiImageData * | btnData40x40Square |
GuiImageData * | btnData40x40SquareOver |
GuiImageData * | grabber [MAX_PLAYERS] |
GuiImageData * | debug_grabber1 |
GuiImageData * | debug_grabber2 |
GuiImageData * | debug_grabber3 |
GuiImageData * | debug_grabber4 |
GuiImageData * | pointer [MAX_PLAYERS] |
TetriCycle for Wii.
Definition in file main.cpp.