Functions

code/include/main.h File Reference

Prototypes for functions defined in main.cpp. More...

#include <gctypes.h>

Go to the source code of this file.

Functions

void TCYC_SetUp2D ()
 Prepares for drawing 2D.
void TCYC_DrawText ()
 Draws in-game text such as lines, score, level.
void TCYC_Game ()
 Runs the game loop.
void TCYC_EditPlayfield ()
 Runs the "edit playfield" loop.
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=255, GuiImageData *imgData=NULL)
 Draws a unit cube centered at the origin.

Detailed Description

Prototypes for functions defined in main.cpp.

Author:
Cale Scholl / calvinss4

Definition in file main.h.


Function Documentation

int TCYC_GetTargetPowerupSlot ( int  player,
int  x,
int  y 
)

Returns the player's powerup slot associated with the passed in (x,y)-coordinate.

Returns -1 if the cursor is outside the powerup zone.

Definition at line 414 of file main.cpp.