A file for globally visible funtion prototypes. More...
#include <gccore.h>
#include "menu.h"
#include "Powerup.h"
Go to the source code of this file.
Defines | |
#define | MAX_ACQUIRED_POWERUPS 3 |
Functions | |
void | Reset () |
void | InitPieces () |
void | NewPiece (int player) |
void | NewPieceAll () |
void | DrawPiece (int player, TetrisPiece *cp=NULL, u8 alpha=255) |
Draws a tetris piece. | |
void | DrawPieceAll () |
void | DrawPieceShadow (int player) |
void | DrawPieceShadowAll () |
void | DrawNextPiece (int player) |
void | DrawNextPieceAll () |
void | DrawBase (int player) |
void | DrawBaseAll () |
void | DrawSquare (int x, int y, u8 gfx, int player, u8 alpha=255) |
void | DrawMap (int player) |
void | DrawMapAll () |
void | rotate (int way, int player) |
void | TCYC_Draw () |
void | TCYC_SetUp2D () |
void | TCYC_DrawPlayfieldBoundary () |
void | TCYC_DrawText () |
void | TCYC_DrawPowerups () |
void | TCYC_DrawPowerupBorders () |
void | TCYC_DrawPowerupTexture (int upperLeftX, int upperLeftY, GuiImageData *imgData, u8 alpha) |
void | TCYC_DrawPowerupTextures () |
int | TCYC_GetTargetPlayer (int x) |
int | TCYC_GetTargetPowerupSlot (int player, int x, int y) |
void | DrawBlockAsCube (int player, float x, float y, int colorIdx, u8 alpha=255, GuiImageData *imgData=NULL) |
void | GX_Cube (int colorIdx, u8 alpha=255, GuiImageData *imgData=NULL) |
void | InitPieceDescriptions () |
int | RemoveLines (int player) |
void | RemoveLine (int line, int player) |
int | TestRotate (int way, int player) |
void | DoInput () |
void | DoMovement (int player) |
void | TCYC_Update () |
void | TCYC_ProcessInput () |
void | Pause (const char *pauseTxt=NULL, GXColor *txtColor=NULL) |
void | TCYC_ProcessEditModeInput () |
void | sgenrand (unsigned long seed) |
double | genrand () |
void | RootMenu () |
void | OptionsMenu () |
void | winner (int player) |
void | FadeOutMusicAndStop () |
void | TetriCycle_main () |
void | game () |
void | TCYC_Render () |
void | editPlayfield () |
void | TCYC_DrawEditMode () |
void | TCYC_DrawTetriCycleEditMode () |
void | TCYC_DrawEditPlayfieldMenu () |
bool | canPlace (int player, TetrisPiece *cp=NULL) |
bool | MoveBlock (int type, int player, TetrisPiece *cp=NULL) |
bool | MovePlayfield (int type, int player) |
void | SetBaseColor (GXColor &c) |
A file for globally visible funtion prototypes.
Definition in file prototypes.h.
void DrawPiece | ( | int | player, | |
TetrisPiece * | cp, | |||
u8 | alpha | |||
) |