|
SSBM Decomp
|
#include "gm_1601.h"#include "gm_1A3F.h"#include "gm_1A45.h"#include "gm_unsplit.h"#include "gmmain_lib.h"#include "gmtou_1.h"#include "gmtoulib.h"#include "types.h"#include <placeholder.h>#include "baselib/fog.h"#include "baselib/gobjgxlink.h"#include "baselib/gobjobject.h"#include "gm/forward.h"#include "lb/lbarchive.h"#include "lb/lbaudio_ax.h"#include "mn/inlines.h"#include "mn/mnmain.h"#include "mn/mnmainrule.h"#include "mn/mnname.h"#include "mn/mnnamenew.h"#include "sc/types.h"#include <printf.h>#include <dolphin/os.h>#include <baselib/controller.h>#include <baselib/dobj.h>#include <baselib/gobj.h>#include <baselib/gobjplink.h>#include <baselib/gobjproc.h>#include <baselib/jobj.h>#include <baselib/mobj.h>#include <baselib/particle.h>#include <baselib/random.h>#include <baselib/sislib.h>Data Structures | |
| struct | TmData_80194F30 |
Typedefs | |
| typedef void(* | lbl_803D9FD8_fn) (s32 *, u32, u32) |
Functions | |
| static void | sdata2_order (void) |
| void | fn_80190ABC (int mode) |
| void | gm_80190EA4 (void) |
| void | gm_80190FE4 (int arg0) |
| Initializes the time menu state when entering the time selection screen. | |
| void | fn_801910E0 (HSD_GObj *gobj) |
| void | fn_80191154 (HSD_GObj *gobj) |
| static u8 | fn_80191240_dec_flash_timer (void) |
| static void | fn_80191240_save_root_jobj (HSD_JObj *jobj, HSD_JObj **jobj_copy) |
| static void | fn_80191240_get_menu_state (HSD_GObj *gobj, TmData **tm, s32 *val) |
| static void | fn_80191240_show_children (HSD_JObj *jobj_copy, HSD_JObj **jobj, HSD_JObj **first_child) |
| void | fn_80191240 (HSD_GObj *gobj) |
| Updates the visibility and flash animation for a Tournament Mode option icon. | |
| void | fn_801913BC (HSD_GObj *gobj) |
| Updates text visibility and menu state for tournament bracket options. | |
| void | fn_80191678 (HSD_GObj *gobj) |
| Updates the visibility and animation state of a Tournament Mode menu option. | |
| void | fn_8019175C (HSD_GObj *gobj) |
| Updates menu option selection animation. | |
| void | fn_801918F0 (HSD_GObj *gobj) |
| Updates visibility and animation frame of a Training Mode HUD element. | |
| void | fn_80191A54 (HSD_GObj *gobj) |
| Updates the tournament bracket display visibility and animation. | |
| void | fn_80191B5C (void *gobj) |
| Updates button highlight animation based on current menu option. | |
| void | fn_80191CA4 (HSD_GObj *gobj) |
| Updates JObj visibility based on current menu option selection. | |
| void | fn_80191D38 (HSD_GObj *gobj) |
| GObj callback for tournament bracket slot UI elements. | |
| void | fn_80191E9C (HSD_GObj *gobj) |
| Updates visibility and position of a tournament bracket player entry JObj. | |
| static bool | fn_80191FD4_is_selected (enum CSSIconHud hud, s32 slot, TmData *tm) |
| void | fn_80191FD4 (HSD_GObj *gobj) |
| void | fn_8019237C (HSD_GObj *gobj) |
| Updates tournament menu cursor JObj visibility and position. | |
| static HSD_JObj * | fn_8019249C_get_jobj (HSD_GObj *gobj) |
| void | fn_8019249C (HSD_GObj *gobj) |
| void | fn_80192690 (HSD_GObj *gobj) |
| static HSD_JObj * | fn_80192758_get_jobj (HSD_GObj *gobj, struct Lbl804799B8_t *data) |
| void | fn_80192758 (HSD_GObj *gobj) |
| void | fn_80192938 (void) |
| void | fn_80192BB0 (void) |
| void | fn_80192E6C (void) |
| void | fn_80193230 (void) |
| void | fn_80193308 (void) |
| void | fn_801935B8 (void) |
| static void | tmSettings_StepDown (s32 *menu, TmSettingTable *table, struct Lbl804799B8_t *state, int *mt) |
| Step the selected setting down, wrapping to its maximum. | |
| static void | tmSettings_StepUp (s32 *menu, TmSettingTable *table, struct Lbl804799B8_t *state, int *mt) |
| Step the selected setting up, wrapping to its minimum. | |
| static void | tmSettings_Refresh (u32 mask) |
| Redraw the settings HUD after input. | |
| void | fn_801937C4 (s32 *arg0, u32 arg1, u32 arg2) |
| void | fn_80193B58 (s32 *arg0, u32 arg1, u32 arg2) |
| void | fn_80193FCC (s32 *arg0, u32 arg1, u32 arg2) |
| static s32 | fn_80194658_get_value (s32 *ptr) |
| void | fn_80194658 (s32 *arg0, u32 arg1, u32 arg2) |
| void | fn_801949B4 (s32 *arg0, u32 arg1, u32 arg2) |
| Handles tournament rules menu input. | |
| void | fn_80194BC4 (s32 *arg0, u32 arg1, u32 arg2) |
| void | fn_80194D84 (s32 *state, u32 buttons, u32 trigger) |
| Handles button input for tournament mode menu navigation. | |
| void | fn_80194F30 (s32 *state_ptr, u32 buttons, u32 trigger) |
| Handles tournament settings menu input (entrant configuration). | |
| static s32 | fn_801953C8_GetPreviousPosition (s32 offset, s32 position) |
| Handles character selection input for tournament bracket. | |
| static s32 | fn_801953C8_GetPlayerIndex (void) |
| void | fn_801953C8 (s32 *state_ptr, u32 buttons, u32 trigger) |
| void | fn_80195AF0 (s32 *state_ptr, u32 buttons, u32 trigger) |
| Handles name entry/selection input for tournament mode. | |
| static s32 | fn_80195CCC_IsUniqueEntry (TmData *tm, s32 count, s32 slot, s32 selected) |
Returns 1 when selected is not already taken by another entrant slot. | |
| void | fn_80195CCC (s32 *arg, u32 buttons, u32 trigger) |
| void | fn_8019610C (s32 *state, u32 buttons, u32 trigger) |
| void | gm_8019628C_OnFrame (void) |
| Tournament Mode per-frame update handler. | |
| void | gm_801963B4_OnEnter (void *arg0) |
| void | gm_801964A4_OnLeave (UNK_T arg) |
| Scene OnLeave callback for gm_18A5. Frees archive resources. | |
|
static |
| void fn_80190ABC | ( | int | mode | ) |
| void gm_80190EA4 | ( | void | ) |
| void gm_80190FE4 | ( | int | arg0 | ) |
Initializes the time menu state when entering the time selection screen.
| void fn_801910E0 | ( | HSD_GObj * | gobj | ) |
| void fn_80191154 | ( | HSD_GObj * | gobj | ) |
|
inlinestatic |
|
inlinestatic |
| void fn_80191240 | ( | HSD_GObj * | gobj | ) |
Updates the visibility and flash animation for a Tournament Mode option icon.
| void fn_801913BC | ( | HSD_GObj * | gobj | ) |
Updates text visibility and menu state for tournament bracket options.
| void fn_80191678 | ( | HSD_GObj * | gobj | ) |
Updates the visibility and animation state of a Tournament Mode menu option.
| void fn_8019175C | ( | HSD_GObj * | gobj | ) |
Updates menu option selection animation.
| void fn_801918F0 | ( | HSD_GObj * | gobj | ) |
Updates visibility and animation frame of a Training Mode HUD element.
| void fn_80191A54 | ( | HSD_GObj * | gobj | ) |
Updates the tournament bracket display visibility and animation.
| void fn_80191B5C | ( | void * | gobj | ) |
Updates button highlight animation based on current menu option.
| void fn_80191CA4 | ( | HSD_GObj * | gobj | ) |
Updates JObj visibility based on current menu option selection.
| void fn_80191D38 | ( | HSD_GObj * | gobj | ) |
GObj callback for tournament bracket slot UI elements.
| void fn_80191E9C | ( | HSD_GObj * | gobj | ) |
Updates visibility and position of a tournament bracket player entry JObj.
|
inlinestatic |
| void fn_80191FD4 | ( | HSD_GObj * | gobj | ) |
| void fn_8019237C | ( | HSD_GObj * | gobj | ) |
Updates tournament menu cursor JObj visibility and position.
| void fn_8019249C | ( | HSD_GObj * | gobj | ) |
| void fn_80192690 | ( | HSD_GObj * | gobj | ) |
|
inlinestatic |
| void fn_80192758 | ( | HSD_GObj * | gobj | ) |
| void fn_80192938 | ( | void | ) |
| void fn_80192BB0 | ( | void | ) |
| void fn_80192E6C | ( | void | ) |
| void fn_80193230 | ( | void | ) |
| void fn_80193308 | ( | void | ) |
| void fn_801935B8 | ( | void | ) |
|
inlinestatic |
Step the selected setting down, wrapping to its maximum.
|
inlinestatic |
Step the selected setting up, wrapping to its minimum.
|
inlinestatic |
Redraw the settings HUD after input.
Handles button input for tournament mode menu navigation.
Handles tournament settings menu input (entrant configuration).
Handles character selection input for tournament bracket.
|
inlinestatic |
Handles name entry/selection input for tournament mode.
Returns 1 when selected is not already taken by another entrant slot.
Inline on purpose: the inliner rewrites the early returns into a set-result-and-jump shape that matches retail codegen (structured replacement for a goto out of the scan loop).
| void gm_8019628C_OnFrame | ( | void | ) |
Tournament Mode per-frame update handler.
| void gm_801963B4_OnEnter | ( | void * | arg0 | ) |
| void gm_801964A4_OnLeave | ( | UNK_T | arg | ) |
Scene OnLeave callback for gm_18A5. Frees archive resources.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
static |
| lbl_803D9FD8_fn lbl_803D9FD8[] |
| s32 lbl_804D6658 |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
.sdata2
|
extern |
|
extern |
|
extern |
|
extern |
| s32 lbl_804D6654 |