|
SSBM Decomp
|
#include <types.h>
Data Structures | |
| struct | GameSceneInfo |
Data Fields | |
| u8 | idx |
| Scene graph index searched against GameRouting::curr_scene_idx during scene graph traversal. | |
| u8 | preload |
| u16 | flags |
| void(* | Prep )(GameScene *) |
| void(* | Decide )(GameScene *) |
| struct GameScene::GameSceneInfo | info |
A single entry in a GameMode's scene graph. Each scene is looked up by its GameScene::idx 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 GameScene.
| u8 GameScene::idx |
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 #GameScene::info::class_id, which is the scene's GameSceneKind.
| u8 GameScene::preload |
| u16 GameScene::flags |
| void(* GameScene::Prep) (GameScene *) |
| void(* GameScene::Decide) (GameScene *) |
| struct GameScene::GameSceneInfo GameScene::info |