|
SSBM Decomp
|
#include <placeholder.h>#include "forward.h"#include "gm_1601.h"#include "gm_1A3F.h"#include "gm_unsplit.h"#include "gmscene.h"#include "gmtou_0.h"#include "gmtoulib.h"#include "inlines.h"#include "types.h"#include <dolphin/pad.h>#include <melee/lb/lbarchive.h>#include <melee/lb/lbaudio_ax.h>#include <melee/lb/lbdvd.h>#include <melee/lb/types.h>#include <melee/mn/inlines.h>#include <melee/mn/mnmain.h>#include <melee/sc/types.h>#include <sysdolphin/baselib/controller.h>#include <sysdolphin/baselib/dobj.h>#include <sysdolphin/baselib/fog.h>#include <sysdolphin/baselib/gobj.h>#include <sysdolphin/baselib/gobjgxlink.h>#include <sysdolphin/baselib/gobjobject.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/jobj.h>#include <sysdolphin/baselib/mobj.h>#include <sysdolphin/baselib/random.h>#include <sysdolphin/baselib/sislib.h>Data Structures | |
| struct | TmPlayerAnimFrames |
| union | TmPlayerAnimFrameTable |
| struct | MatchEndStanding |
| struct | Lbl804799D8Text |
| struct | fn_8019A158_state |
| struct | TimerFmt |
| struct | Preload |
Typedefs | |
| typedef char * | TextPtr |
| typedef u8 * | BytePtr |
Functions | |
| void | fn_80196510 (void) |
| s32 | fn_8019655C (void) |
| bool | fn_80196564 (TmData *arg0) |
| bool | fn_80196594 (TmData *arg0) |
| void | fn_801965C4 (void) |
| void | fn_80196684 (s32 bracket_idx) |
| Randomly assigns bracket positions for tournament seeding. | |
| void | fn_801967E0 (s32 arg0) |
| s32 | fn_80196CF8 (void) |
| void | fn_80196DBC (HSD_GObj *gobj) |
| Cycles animation frame counter and updates JObj animation. | |
| void | fn_80196E30 (HSD_GObj *gobj) |
| Updates the tournament UI animation frame counter. | |
| void | fn_80196EEC (HSD_GObj *gobj) |
| Tournament mode JObj visibility/animation callback. | |
| static s32 | gmTournament_IsPlayerSetupOption (void) |
| ASSERT_SIZE (TmPlayerAnimFrames, 6) | |
| ASSERT_SIZE (TmPlayerAnimFrameTable, sizeof(s32) *9) | |
| void | fn_80196FFC (HSD_GObj *gobj) |
| void | fn_801973F8 (HSD_GObj *gobj) |
| Updates visibility and position of a tournament menu JObj. | |
| void | fn_801975C8 (HSD_GObj *gobj) |
| Updates visibility of a tournament menu JObj based on current menu state. | |
| void | fn_801976D4 (HSD_GObj *gobj) |
| Updates visibility and animation of tournament menu JObj. | |
| void | fn_801977AC (HSD_GObj *gobj) |
| void | fn_80197AF0 (HSD_GObj *gobj) |
| void | fn_80197D4C (HSD_GObj *gobj) |
| Updates visibility of a menu JObj based on current menu option. | |
| void | fn_80197E18 (HSD_GObj *gobj) |
| Updates player HUD element visibility and position. | |
| void | fn_80197FD8 (HSD_GObj *gobj) |
| Updates JObj visibility based on menu option and player state. | |
| void | fn_801981A0 (HSD_GObj *gobj) |
| void | fn_801983E4 (HSD_GObj *gobj) |
| Updates the visibility and position of a player's controller indicator. | |
| void | fn_80198584 (ResultsData *results) |
| void | fn_801985D4 (HSD_GObj *gobj) |
| void | fn_80198824 (HSD_GObj *gobj) |
| Animates and positions the tournament bracket results overlay JObj. | |
| void | fn_80198BA0 (void) |
| Initializes tournament mode match data. | |
| void | fn_80198C60 (void) |
| Initializes tournament mode text displays. | |
| void | fn_80198D18 (void) |
| Initializes the scene rendering components for the gm_18A5 game mode. | |
| void | fn_80198EBC (void) |
| Matched bar data relocations. | |
| void | fn_80199AF0 (void) |
| static BracketEntry * | fn_8019A158_GetBracketEntry (s32 bracket_idx) |
| ASSERT_SIZE (MatchEndStanding, 0xA8) | |
| void | fn_8019A158 (void) |
| void | fn_8019A71C (s32 *statestate, u32 unused1, u32 unused2) |
| void | gm_8019A828 (void) |
| static u8 | get_pad_error (s32 i) |
| void | fn_8019A86C (TmData *tm, u32 arg1, u32 arg2) |
| void | fn_8019AF50 (s32 *arg0, u32 arg1, u32 arg2) |
| Tournament match timer display/audio state machine. | |
| void | gm_Scene_TouBracket_OnFrame (void) |
| Per-frame update for tournament mode menu. | |
| static void | fn_8019B458_UpdateRank (TmData *tm, struct Lbl804799D8_t *d8) |
| Transitions to results screen after a tournament match. | |
| static void | setupScene (TmData *tm, struct Lbl804799D8_t *d8) |
| void | fn_8019B458 (s32 *arg0) |
| void | fn_8019B81C (s32 *statestate) |
| Initializes match data and transitions to next state. | |
| void | fn_8019B860 (TmData *tm) |
| void | gm_Scene_TouBracket_OnEnter (void *arg0) |
| void | gm_Scene_TouBracket_OnExit (void *arg0) |
| void | fn_8019BA04 (s32 *statestate) |
Variables | |
| static HSD_Archive * | lbl_804D6660 |
| static HSD_Archive * | lbl_804D6664 |
| static HSD_Archive * | lbl_804D6668 |
| static SceneDesc * | lbl_804D666C |
| static SceneDesc * | lbl_804D6670 |
| static SceneDesc * | lbl_804D6674 |
| static s32 | lbl_804D6678 |
| static s32 | lbl_804D667C |
| static u8 | lbl_804D6680 [3] |
| static struct Lbl804799D8_t | lbl_804799D8 |
| struct lbl_803DA0D0_t | lbl_803DA0D0 |
| static s32 | lbl_804D4190 = 0xFFFFFFFF |
| static s32 | lbl_804D4194 = -1 |
| TmPlayerAnimFrameTable const | lbl_803B7CE0 |
| u8 const | lbl_803B7D04 [20] = { 0 } |
| typedef char* TextPtr |
| void fn_80196510 | ( | void | ) |
| s32 fn_8019655C | ( | void | ) |
| void fn_801965C4 | ( | void | ) |
| void fn_80196684 | ( | s32 | bracket_idx | ) |
Randomly assigns bracket positions for tournament seeding.
| void fn_801967E0 | ( | s32 | arg0 | ) |
| s32 fn_80196CF8 | ( | void | ) |
| void fn_80196DBC | ( | HSD_GObj * | gobj | ) |
Cycles animation frame counter and updates JObj animation.
| void fn_80196E30 | ( | HSD_GObj * | gobj | ) |
Updates the tournament UI animation frame counter.
| void fn_80196EEC | ( | HSD_GObj * | gobj | ) |
Tournament mode JObj visibility/animation callback.
|
inlinestatic |
| ASSERT_SIZE | ( | TmPlayerAnimFrames | , |
| 6 | ) |
| ASSERT_SIZE | ( | TmPlayerAnimFrameTable | , |
| sizeof(s32) * | 9 ) |
| void fn_80196FFC | ( | HSD_GObj * | gobj | ) |
| void fn_801973F8 | ( | HSD_GObj * | gobj | ) |
Updates visibility and position of a tournament menu JObj.
| void fn_801975C8 | ( | HSD_GObj * | gobj | ) |
Updates visibility of a tournament menu JObj based on current menu state.
| void fn_801976D4 | ( | HSD_GObj * | gobj | ) |
Updates visibility and animation of tournament menu JObj.
| void fn_801977AC | ( | HSD_GObj * | gobj | ) |
| void fn_80197AF0 | ( | HSD_GObj * | gobj | ) |
| void fn_80197D4C | ( | HSD_GObj * | gobj | ) |
Updates visibility of a menu JObj based on current menu option.
| void fn_80197E18 | ( | HSD_GObj * | gobj | ) |
Updates player HUD element visibility and position.
| void fn_80197FD8 | ( | HSD_GObj * | gobj | ) |
Updates JObj visibility based on menu option and player state.
| void fn_801981A0 | ( | HSD_GObj * | gobj | ) |
| void fn_801983E4 | ( | HSD_GObj * | gobj | ) |
Updates the visibility and position of a player's controller indicator.
| void fn_80198584 | ( | ResultsData * | results | ) |
| void fn_801985D4 | ( | HSD_GObj * | gobj | ) |
| void fn_80198824 | ( | HSD_GObj * | gobj | ) |
Animates and positions the tournament bracket results overlay JObj.
Uses HSD_JObjSetTranslateZ for visibility, HSD_JObjSetTranslate/SetScale for positioning from lbl_804799D8 cached values.
| void fn_80198BA0 | ( | void | ) |
Initializes tournament mode match data.
Initializes tournament mode match data structures. Type casts used to match target instruction patterns (stw/sth vs stb).
| void fn_80198C60 | ( | void | ) |
Initializes tournament mode text displays.
| void fn_80198D18 | ( | void | ) |
Initializes the scene rendering components for the gm_18A5 game mode.
| void fn_80198EBC | ( | void | ) |
Matched bar data relocations.
| void fn_80199AF0 | ( | void | ) |
|
inlinestatic |
| ASSERT_SIZE | ( | MatchEndStanding | , |
| 0xA8 | ) |
| void fn_8019A158 | ( | void | ) |
| void gm_8019A828 | ( | void | ) |
Tournament match timer display/audio state machine.
Handles match countdown, audio transitions, and end conditions.
| void gm_Scene_TouBracket_OnFrame | ( | void | ) |
Per-frame update for tournament mode menu.
|
inlinestatic |
Transitions to results screen after a tournament match.
Ranks players, preloads stage/character data, and starts audio.
|
inlinestatic |
| void fn_8019B458 | ( | s32 * | arg0 | ) |
| void fn_8019B81C | ( | s32 * | state | ) |
Initializes match data and transitions to next state.
Type cast used to match target stw instruction pattern.
| void fn_8019B860 | ( | TmData * | tm | ) |
| void gm_Scene_TouBracket_OnEnter | ( | void * | arg0 | ) |
| void gm_Scene_TouBracket_OnExit | ( | void * | arg0 | ) |
| void fn_8019BA04 | ( | s32 * | state | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct lbl_803DA0D0_t lbl_803DA0D0 |
|
static |
|
static |
| TmPlayerAnimFrameTable const lbl_803B7CE0 |
| u8 const lbl_803B7D04[20] = { 0 } |