mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
* First pass of debug boot port * mostly done * general changes, test this comma in commit now * Makefile update: The "," works now * quotes also working now inside a string * get rid of emulator path * format * review * improvements (add skybox and improve print logic) * cleanup and fix build issues * format --------- Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
22 lines
1.0 KiB
C
22 lines
1.0 KiB
C
/**
|
|
* Gamestate Table
|
|
*
|
|
* DEFINE_GAMESTATE should be used for gamestates with code loaded from an overlay
|
|
* - Argument 1: Gamestate type name (without State suffix, also used for Init and Destroy function names)
|
|
* - Argument 2: Gamestate id enum name
|
|
* - Argument 3: Gamestate overlay spec segment name
|
|
*
|
|
* DEFINE_GAMESTATE_INTERNAL should be used for gamestates that aren't an overlay, the first two arguments are the same as for DEFINE_GAMESTATE
|
|
*/
|
|
/* 0x00 */ DEFINE_GAMESTATE_INTERNAL(Setup, GAMESTATE_SETUP)
|
|
#if IS_MAP_SELECT_ENABLED
|
|
/* 0x01 */ DEFINE_GAMESTATE(MapSelect, GAMESTATE_MAP_SELECT, select)
|
|
#endif
|
|
/* 0x02 */ DEFINE_GAMESTATE(ConsoleLogo, GAMESTATE_CONSOLE_LOGO, title)
|
|
/* 0x03 */ DEFINE_GAMESTATE_INTERNAL(Play, GAMESTATE_PLAY)
|
|
/* 0x04 */ DEFINE_GAMESTATE(TitleSetup, GAMESTATE_TITLE_SETUP, opening)
|
|
/* 0x05 */ DEFINE_GAMESTATE(FileSelect, GAMESTATE_FILE_SELECT, file_choose)
|
|
#if IS_DEBUG_BOOT_ENABLED
|
|
/* 0x06 */ DEFINE_GAMESTATE(DebugOpening, GAMESTATE_DEBUG_OPENING, debug_opening)
|
|
#endif
|