SSBM Decomp
Loading...
Searching...
No Matches
GameScene Struct Reference

#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

Detailed Description

Note
Colloquially known as "Minor Scene"
Colloquially known as "Minor Scene"

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.

Field Documentation

◆ idx

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.

◆ preload

u8 GameScene::preload

◆ flags

u16 GameScene::flags

◆ Prep

void(* GameScene::Prep) (GameScene *)

◆ Decide

void(* GameScene::Decide) (GameScene *)

◆ info

struct GameScene::GameSceneInfo GameScene::info

The documentation for this struct was generated from the following files: