SSBM Decomp
Loading...
Searching...
No Matches
gmscene.h File Reference

Go to the source code of this file.

Functions

bool gm_GetDbPauseFlag (int bit)
int gm_801A4624 (void)
void gm_SetDbPauseFlag (int bit)
void gm_ClearDbPauseFlag (int bit)
bool gm_801A46B8 (int bit)
bool fn_801A46F4 (void)
bool fn_801A47E4 (void)
u64 gm_801A48A4 (u8)
void gm_801A4970 (struct gm_DbPauseInputHandlers *db_input)
void gm_SetDbPauseInputHandlers (bool(*arg0)(void), bool(*arg1)(void))
void gm_801A4B1C (void)
void gm_SetPreGObjProcCallback (Event cb)
void gm_801A4B50 (int)
void gm_801A4B60 (void)
void gm_801A4B74 (void)
void gm_801A4B88 (struct GameSceneInfo *)
void * gm_GetCurrentSceneEnterData (void)
 returns a pointer to the current scenes enter data
void * gm_GetCurrentSceneExitData (void)
 returns a pointer to the current scenes exit data
u32 gm_801A4BA8 (void)
u32 gm_801A4BB8 (void)
HSD_GObjgm_801A4BC8 (void)
void fn_801A4BD0 (HSD_GObj *)
void gm_801A4BD4 (void)
GameScenegm_FindGameSceneHandler (u8 kind)
 Finds the GameScene for a given scene kind.
void gm_801A4D34 (void(*on_frame)(void), GameSceneInfo *)
 Main per-scene loop invoked from gm_801A4014.

Variables

void(* gm_804D6724 )(void)

Function Documentation

◆ gm_GetDbPauseFlag()

bool gm_GetDbPauseFlag ( int bit)

◆ gm_801A4624()

int gm_801A4624 ( void )

◆ gm_SetDbPauseFlag()

void gm_SetDbPauseFlag ( int bit)

◆ gm_ClearDbPauseFlag()

void gm_ClearDbPauseFlag ( int bit)

◆ gm_801A46B8()

bool gm_801A46B8 ( int bit)

◆ fn_801A46F4()

bool fn_801A46F4 ( void )

◆ fn_801A47E4()

bool fn_801A47E4 ( void )

◆ gm_801A48A4()

u64 gm_801A48A4 ( u8 arg0)

◆ gm_801A4970()

void gm_801A4970 ( struct gm_DbPauseInputHandlers * db_input)

◆ gm_SetDbPauseInputHandlers()

void gm_SetDbPauseInputHandlers ( bool(* arg0 )(void),
bool(* arg1 )(void) )

◆ gm_801A4B1C()

void gm_801A4B1C ( void )

◆ gm_SetPreGObjProcCallback()

void gm_SetPreGObjProcCallback ( Event cb)

◆ gm_801A4B50()

void gm_801A4B50 ( int arg0)

◆ gm_801A4B60()

void gm_801A4B60 ( void )

◆ gm_801A4B74()

void gm_801A4B74 ( void )

◆ gm_801A4B88()

void gm_801A4B88 ( struct GameSceneInfo * info)

◆ gm_GetCurrentSceneEnterData()

void * gm_GetCurrentSceneEnterData ( void )

returns a pointer to the current scenes enter data

◆ gm_GetCurrentSceneExitData()

void * gm_GetCurrentSceneExitData ( void )

returns a pointer to the current scenes exit data

◆ gm_801A4BA8()

u32 gm_801A4BA8 ( void )

◆ gm_801A4BB8()

u32 gm_801A4BB8 ( void )

◆ gm_801A4BC8()

HSD_GObj * gm_801A4BC8 ( void )

◆ fn_801A4BD0()

void fn_801A4BD0 ( HSD_GObj * gobj)

◆ gm_801A4BD4()

void gm_801A4BD4 ( void )

◆ gm_FindGameSceneHandler()

GameScene * gm_FindGameSceneHandler ( u8 kind)

Finds the GameScene for a given scene kind.

Walks the global GameScene table (from gm_GetAllGameScenes) comparing each entry's #GameScene::class_id against kind until a match is found or the GS_COUNT value is reached.

Parameters
kindThe GameSceneKind (passed as a u8) to look up.
Returns
The GameScene whose #GameScene::class_id equals

◆ gm_801A4D34()

void gm_801A4D34 ( void(* on_frame )(void),
GameSceneInfo *  )

Main per-scene loop invoked from gm_801A4014.

Runs until gm_80479D58_t::unk_C becomes non-zero, calling on_frame each frame after pad/input processing.

Variable Documentation

◆ gm_804D6724

void(* gm_804D6724) (void) ( void )
extern