|
SSBM Decomp
|
#include "gmscene.h"#include "gm_1A36.h"#include "gm_unsplit.h"#include "gmmain_lib.h"#include "gmscdata.h"#include <dolphin/os/OSThread.h>#include <melee/db/db.h>#include <melee/if/ifcoget.h>#include <melee/lb/lb_013B.h>#include <melee/lb/lb_0195.h>#include <melee/lb/lbaudio_ax.h>#include <melee/lb/lbcardgame.h>#include <melee/lb/lbheap.h>#include <sysdolphin/baselib/class.h>#include <sysdolphin/baselib/controller.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/hsd_3924.h>#include <sysdolphin/baselib/hsd_392C.h>#include <sysdolphin/baselib/initialize.h>#include <sysdolphin/baselib/leak.h>#include <sysdolphin/baselib/perf.h>#include <sysdolphin/baselib/sobjlib.h>Functions | |
| int | 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 arg0) |
| void | gm_801A4970 (struct gm_DbPauseInputHandlers *db_input) |
| void | gm_SetDbPauseInputHandlers (Predicate check_db_pause, Predicate check_db_framestep) |
| void | gm_801A4B1C (void) |
| void | gm_SetPreGObjProcCallback (Event cb) |
| void | gm_801A4B50 (int arg0) |
| void | gm_801A4B60 (void) |
| void | gm_801A4B74 (void) |
| void | gm_801A4B88 (struct GameSceneInfo *info) |
| 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_GObj * | gm_801A4BC8 (void) |
| void | fn_801A4BD0 (HSD_GObj *gobj) |
| void | gm_801A4BD4 (void) |
| GameScene * | gm_FindGameSceneHandler (u8 kind) |
| Finds the GameScene for a given scene kind. | |
| static u64 | maybe_gm_801A48A4 (u8 i) |
| void | gm_801A4D34 (void(*on_frame)(void), UNUSED GameSceneInfo *info) |
Variables | |
| static HSD_GObjLibInitDataType | gobj_init_data |
| static struct gm_80479D58_t | gm_80479D58 |
| HSD_GObj * | gm_804D672C |
| UNK_T | gm_804D6728 |
| void(* | gm_804D6724 )(void) |
| struct GameSceneInfo * | gm_804D6720 |
| static u64 | gm_803DA888 [8] |
| u64 | gm_803DA8C8 [2] = { -1, -1 } |
| int 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 | ) |
| void gm_801A4970 | ( | struct gm_DbPauseInputHandlers * | db_input | ) |
| void gm_801A4B1C | ( | void | ) |
| void gm_SetPreGObjProcCallback | ( | Event | cb | ) |
| void gm_801A4B50 | ( | int | arg0 | ) |
| void gm_801A4B60 | ( | void | ) |
| void gm_801A4B74 | ( | void | ) |
| void gm_801A4B88 | ( | struct GameSceneInfo * | info | ) |
| 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_GObj * gm_801A4BC8 | ( | void | ) |
| void fn_801A4BD0 | ( | HSD_GObj * | gobj | ) |
| void gm_801A4BD4 | ( | void | ) |
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.
| kind | The GameSceneKind (passed as a u8) to look up. |
| void gm_801A4D34 | ( | void(* | on_frame )(void), |
| UNUSED GameSceneInfo * | info ) |
|
static |
|
static |
| HSD_GObj* gm_804D672C |
| UNK_T gm_804D6728 |
| void(* gm_804D6724) (void) | ( | void | ) |
| struct GameSceneInfo* gm_804D6720 |
|
static |
| u64 gm_803DA8C8[2] = { -1, -1 } |