Go to the source code of this file.
Data Structures | |
struct | GameModeData |
Enumerations | |
enum | GameModeFlags { MODE_FLAG_NONE = 0 , MODE_FLAG_INITIALIZED = (1 << 0) , MODE_FLAG_NEEDS_STEP = (1 << 1) , MODE_FLAG_HAS_FRONT_UI = (1 << 2) } |
Functions | |
void | game_mode_nop (void) |
s32 | get_game_mode (void) |
void | set_game_mode (s32 modeID) |
void | clear_game_mode (void) |
void | set_game_mode_render_frontUI (void(*fn)(void)) |
void | step_game_mode (void) |
void | render_game_mode_backUI (void) |
void | render_game_mode_frontUI (void) |
Variables | |
const GameModeData | GameModeTemplates [] |
BSS s32 | CurGameModeID |
BSS GameModeData | CurGameMode |
enum GameModeFlags |
Enumerator | |
---|---|
MODE_FLAG_NONE | |
MODE_FLAG_INITIALIZED | |
MODE_FLAG_NEEDS_STEP | |
MODE_FLAG_HAS_FRONT_UI |
Definition at line 3 of file game_modes.c.
void game_mode_nop | ( | void | ) |
Definition at line 120 of file game_modes.c.
Referenced by set_game_mode(), and set_game_mode_render_frontUI().
s32 get_game_mode | ( | void | ) |
Definition at line 123 of file game_modes.c.
Referenced by filemenu_set_cursor_goal_pos(), pause_set_cursor_pos(), pause_set_cursor_pos_immediate(), and render_curtains().
void set_game_mode | ( | s32 | modeID | ) |
Definition at line 127 of file game_modes.c.
Referenced by btl_state_update_end_battle(), btl_state_update_end_demo_battle(), check_input_open_menus(), filemenu_main_handle_input(), filemenu_yesno_handle_input(), goto_map(), load_battle(), load_engine_data(), pause_handle_input(), state_step_change_map(), state_step_demo(), state_step_end_battle(), state_step_enter_world(), state_step_exit_file_select(), state_step_game_over(), state_step_intro(), state_step_logos(), state_step_startup(), state_step_title_screen(), state_step_unpause(), and step_game_loop().
void clear_game_mode | ( | void | ) |
Definition at line 150 of file game_modes.c.
Referenced by load_engine_data().
void set_game_mode_render_frontUI | ( | void(*)(void) | fn | ) |
Definition at line 154 of file game_modes.c.
Referenced by state_init_title_screen(), and state_init_world().
void step_game_mode | ( | void | ) |
Definition at line 163 of file game_modes.c.
Referenced by step_game_loop().
void render_game_mode_backUI | ( | void | ) |
Definition at line 172 of file game_modes.c.
Referenced by gfx_draw_frame().
void render_game_mode_frontUI | ( | void | ) |
Definition at line 180 of file game_modes.c.
Referenced by gfx_draw_frame().
const GameModeData GameModeTemplates[] |
Definition at line 18 of file game_modes.c.
Referenced by set_game_mode().
BSS s32 CurGameModeID |
Definition at line 117 of file game_modes.c.
Referenced by get_game_mode(), and set_game_mode().
BSS GameModeData CurGameMode |
Definition at line 118 of file game_modes.c.
Referenced by clear_game_mode(), render_game_mode_backUI(), render_game_mode_frontUI(), set_game_mode(), set_game_mode_render_frontUI(), and step_game_mode().