|
SSBM Decomp
|
#include <types.h>
Data Structures | |
| struct | GameSceneInfo |
Data Fields | |
| u8 | id |
| Scene graph index searched against #GameRouting::curr_scene_idx during scene graph traversal. | |
| u8 | preload |
| lbDvdPreloadKind | |
| u16 | flags |
| void(* | on_enter )(GameModeState *) |
| void(* | on_exit )(GameModeState *) |
| struct GameModeState::GameSceneInfo | info |
A single entry in a GameMode's scene graph. Each scene is looked up by its GameModeState::id during scene graph traversal. The scene graph is walked comparing each entry's idx against #GameRouting::curr_scene_idx, and #nextScene advances to the next scene whose idx is greater than the current one. An idx value of 0xFF terminates a collection of GameModeState.
| u8 GameModeState::id |
Scene graph index searched against #GameRouting::curr_scene_idx during scene graph traversal.
This is the value matched when the scene graph is walked to find the current scene. Not to be confused with GameModeState::info.scene_kind, which is the scene's GameSceneKind. locally defined by game mode
| u8 GameModeState::preload |
| u16 GameModeState::flags |
| void(* GameModeState::on_enter) (GameModeState *) |
| void(* GameModeState::on_exit) (GameModeState *) |
| struct GameModeState::GameSceneInfo GameModeState::info |