|
SSBM Decomp
|
#include "gmtou_1.h"#include "gm_1601.h"#include "gm_1A3F.h"#include "gm_1A45.h"#include "gm_unsplit.h"#include "gmtoulib.h"#include "types.h"#include <placeholder.h>#include "baselib/fog.h"#include "baselib/gobjgxlink.h"#include "baselib/gobjobject.h"#include "dolphin/pad.h"#include "gm/forward.h"#include "lb/lbarchive.h"#include "lb/lbaudio_ax.h"#include "lb/lbdvd.h"#include "lb/types.h"#include "mn/inlines.h"#include "mn/mnmain.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 | TmPlayerAnimFrames |
| union | TmPlayerAnimFrameTable |
| struct | TimerFmt |
Typedefs | |
| typedef char * | TextPtr |
| typedef u8 * | BytePtr |
Functions | |
| static void | sdata2_order (void) |
| 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) |
| STATIC_ASSERT (sizeof(TmPlayerAnimFrames)==6) | |
| STATIC_ASSERT (sizeof(TmPlayerAnimFrameTable)==sizeof(s32) *9) | |
| void | fn_80196FFC (HSD_GObj *gobj) |
| static f32 | gmTournament_GetPlayerX (u8 player_count, s32 player) |
| static void | gmTournament_SetPlayerX (f32 *x, u8 player_count, s32 player) |
| 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) |
| void | fn_80197FD8 (HSD_GObj *gobj) |
| 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) |
| 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) |
| void | fn_8019A158 (void) |
| void | fn_8019A71C (s32 *state, u32 unused1, u32 unused2) |
| #fn_8019A158_end | |
| 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_8019B2DC_OnFrame (void) |
| static void | fn_8019B458_UpdateRank (TmData *tm, struct Lbl804799D8_t *d8) |
| Transitions to results screen after a tournament match. | |
| static s32 | fn_8019B458_GetRank (void) |
| void | fn_8019B458 (s32 *arg0) |
| void | fn_8019B81C (s32 *state) |
| Initializes match data and transitions to next state. | |
| void | fn_8019B860 (TmData *tm) |
| void | gm_8019B8C4_OnEnter (void *arg0) |
| void | gm_8019B9C8_OnLeave (void *arg0) |
| void | fn_8019BA04 (s32 *state) |
| typedef char* TextPtr |
|
static |
| 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 |
| STATIC_ASSERT | ( | sizeof(TmPlayerAnimFrames) | = =6 | ) |
| STATIC_ASSERT | ( | sizeof(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 | ) |
| void fn_80197FD8 | ( | HSD_GObj * | gobj | ) |
| 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 | ) |
| 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 | ) |
| 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_8019B2DC_OnFrame | ( | void | ) |
|
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_8019B8C4_OnEnter | ( | void * | arg0 | ) |
| void gm_8019B9C8_OnLeave | ( | void * | arg0 | ) |
| void fn_8019BA04 | ( | s32 * | state | ) |
| struct Lbl804799D8_t lbl_804799D8 |
| struct Lbl804799B8_t lbl_804799B8 |
|
extern |
| struct lbl_803DA0D0_t lbl_803DA0D0 |
|
static |
|
static |
| HSD_GObj* lbl_804D663C |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |