NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
A collection of various functions used throughout the game.
Name stands for Game Common.
Enumerations | |
enum | GAME_STOP_e { GAME_STOP_PAUSE = BIT_FLAG(0) , GAME_STOP_WARNING = BIT_FLAG(1) , GAME_STOP_OTASUKE_PAUSE = BIT_FLAG(2) , GAME_STOP_HOME_MENU = BIT_FLAG(3) , GAME_STOP_ANY = -1 } |
The game stopping conditions. More... | |
Functions | |
u32 | getRandomSeed () |
Gets a seed used for randomness. | |
bool | isGameStop (ulong flag) |
Determines if gameplay is currently stopped for the specified reason(s). | |
void | clearGameStop () |
Resets the game stop state. | |
void | SetSoftLight_Player (m3d::bmdl_c &, int) |
Sets the soft light effect for players. | |
void | SetSoftLight_Map (m3d::bmdl_c &, int) |
Sets the soft light effect for map actors. | |
void | SetSoftLight_Boss (m3d::bmdl_c &, int) |
Sets the soft light effect for bosses. | |
void | SetSoftLight_Enemy (m3d::bmdl_c &, int) |
Sets the soft light effect for enemies. | |
void | SetSoftLight_MapObj (m3d::bmdl_c &, int) |
Sets the soft light effect for map objects. | |
void | SetSoftLight_Item (m3d::bmdl_c &, int) |
Sets the soft light effect for items. | |
void | updateSelectCursor (nw4r::lyt::Picture *pic, int index, bool useSpecialDraw) |
float | getDispCenterY () |
The game stopping conditions.
Definition at line 22 of file d_game_com.hpp.
u32 dGameCom::getRandomSeed | ( | ) |
Gets a seed used for randomness.
bool dGameCom::isGameStop | ( | ulong | flag | ) |
Determines if gameplay is currently stopped for the specified reason(s).
flag | The pause reasons. Value is a GAME_STOP_e. |
void dGameCom::clearGameStop | ( | ) |
Resets the game stop state.
void dGameCom::SetSoftLight_Player | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for players.
void dGameCom::SetSoftLight_Map | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for map actors.
void dGameCom::SetSoftLight_Boss | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for bosses.
void dGameCom::SetSoftLight_Enemy | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for enemies.
void dGameCom::SetSoftLight_MapObj | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for map objects.
void dGameCom::SetSoftLight_Item | ( | m3d::bmdl_c & | , |
int | ) |
Sets the soft light effect for items.
void dGameCom::updateSelectCursor | ( | nw4r::lyt::Picture * | pic, |
int | index, | ||
bool | useSpecialDraw ) |