|
SSBM Decomp
|
#include "mnstagesw.h"#include <sysdolphin/baselib/gobj.h>#include <sysdolphin/baselib/gobjgxlink.h>#include <sysdolphin/baselib/gobjobject.h>#include <sysdolphin/baselib/gobjplink.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/gobjuserdata.h>#include <sysdolphin/baselib/jobj.h>#include <sysdolphin/baselib/memory.h>#include <sysdolphin/baselib/sislib.h>#include <melee/gm/gm_1601.h>#include <melee/gm/gm_1A3F.h>#include <melee/gm/gmmain_lib.h>#include <melee/lb/lb_00B0.h>#include <melee/lb/lb_00F9.h>#include <melee/lb/lbaudio_ax.h>#include <melee/lb/lbcardgame.h>#include <melee/mn/mnmain.h>#include <melee/mn/mnruleplus.h>#include <melee/sc/types.h>Macros | |
| #define | NUM_STAGES 29 |
Functions | |
| static void | mnStageSw_8023593C (HSD_GObj *gobj) |
| Sync stage toggle states from user data to unlock system. | |
| static void | mnStageSw_802359C8 (HSD_GObj *gobj) |
| static s32 | mnStageSw_80235C58 (u8 arg0) |
| static void | mnStageSw_80235DC8 (u8 *user_data, s32 buttons) |
| static void | fn_80235F80 (HSD_GObj *gobj) |
| static void | mnStageSw_80236178 (HSD_GObj *gobj, u8 idx) |
| mnStageSw_802359C8 | |
| static HSD_JObj * | mnStageSw_802364A0 (HSD_GObj *gobj, u8 idx) |
| Get JObj for stage icon at given index Navigates JObj tree stored in gobj->user_data (idx < 15) or gobj->x34_unk (idx >= 15) | |
| static void | mnStageSw_80236548 (HSD_GObj *gobj, u8 arg1, u8 arg2) |
| static void | fn_80236998 (HSD_GObj *gobj) |
| static HSD_GObj * | mnStageSw_80236CBC (s8 arg0) |
| void | mnStageSw_80237410 (void) |
| mnStageSw_80236548 | |
Variables | |
| static u8 | mnStageSw_803ED4C4 [NUM_STAGES] |
| Stage switch toggle indices - maps menu position to internal stage ID. | |
| static u8 | mnStageSw_stageIcons [NUM_STAGES] |
| Stage switch icon indices. | |
| static HSD_GObj * | mnStageSw_804D6BF0 |
| static s8 | mnStageSw_804D6BF4 |
| #define NUM_STAGES 29 |
|
static |
Sync stage toggle states from user data to unlock system.
For each stage, if it's unlocked, set its enable state from user_data[i+2]. Stack padding required to match original frame size. Pragma prevents inlining - function is called from fn_80235F80, not inlined.
|
static |
|
static |
mnStageSw_80235C58 mnStageSw_80235DC8 fn_80235F80 Position stage icon JObj based on index Uses stored reference JObjs to calculate X/Y position
Get JObj for stage icon at given index Navigates JObj tree stored in gobj->user_data (idx < 15) or gobj->x34_unk (idx >= 15)
|
static |
| void mnStageSw_80237410 | ( | void | ) |
|
static |
Stage switch toggle indices - maps menu position to internal stage ID.
|
static |
Stage switch icon indices.
|
static |
|
static |