Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
game_modes.h
Go to the documentation of this file.
1#ifndef _GAME_MODES_H_
2#define _GAME_MODES_H_
3
4#include "common.h"
5
24
25void set_game_mode(s32 mode);
26s32 get_game_mode(void);
27void set_game_mode_render_frontUI(void (*fn)(void));
28
29void clear_game_mode(void);
30void step_game_mode(void);
33
34#endif
void render_game_mode_backUI(void)
Definition game_modes.c:172
void clear_game_mode(void)
Definition game_modes.c:150
void set_game_mode(s32 mode)
Definition game_modes.c:127
s32 get_game_mode(void)
Definition game_modes.c:123
void set_game_mode_render_frontUI(void(*fn)(void))
Definition game_modes.c:154
GameMode
Definition game_modes.h:6
@ GAME_MODE_PAUSE
Definition game_modes.h:17
@ GAME_MODE_END_BATTLE
Definition game_modes.h:16
@ GAME_MODE_LOGOS
Definition game_modes.h:8
@ GAME_MODE_UNPAUSE
Definition game_modes.h:18
@ GAME_MODE_DEMO
Definition game_modes.h:22
@ GAME_MODE_ENTER_WORLD
Definition game_modes.h:11
@ GAME_MODE_GAME_OVER
Definition game_modes.h:14
@ GAME_MODE_BATTLE
Definition game_modes.h:15
@ GAME_MODE_WORLD
Definition game_modes.h:12
@ GAME_MODE_END_FILE_SELECT
Definition game_modes.h:20
@ GAME_MODE_FILE_SELECT
Definition game_modes.h:19
@ GAME_MODE_ENTER_DEMO_WORLD
Definition game_modes.h:10
@ GAME_MODE_CHANGE_MAP
Definition game_modes.h:13
@ GAME_MODE_TITLE_SCREEN
Definition game_modes.h:9
@ GAME_MODE_INTRO
Definition game_modes.h:21
@ GAME_MODE_STARTUP
Definition game_modes.h:7
void step_game_mode(void)
Definition game_modes.c:163
void render_game_mode_frontUI(void)
Definition game_modes.c:180