Setting and clearing game flags, and the byte that holds a flag. More...
Go to the source code of this file.
Macros | |
| #define | GAME_FLAG_BYTE(flag) |
| The byte of gGameFlagBytes that holds flag: bits 3 to 11 of its number, isolated by shifting up and back down, which is how the game computes it. | |
Functions | |
| s32 | GameFlag_Set () |
| void | GameFlag_Clear (s32 flag) |
Setting and clearing game flags, and the byte that holds a flag.
Definition in file game_flags.h.
| #define GAME_FLAG_BYTE | ( | flag | ) |
The byte of gGameFlagBytes that holds flag: bits 3 to 11 of its number, isolated by shifting up and back down, which is how the game computes it.
Definition at line 12 of file game_flags.h.
Referenced by GameFlag_ClearBit(), GameFlag_DecrementByte(), GameFlag_IncrementByte(), GameFlag_SetBit(), GameFlag_SetNibble(), GameFlag_Test(), and GameFlag_Toggle().
| s32 GameFlag_Set | ( | ) |
| void GameFlag_Clear | ( | s32 | flag | ) |