|
SSBM Decomp
|
#include "gmtoulib.h"#include "gm_1601.h"#include "gm_unsplit.h"#include "gmmain_lib.h"#include "gmtoulib.static.h"#include "types.h"#include <placeholder.h>#include "baselib/fog.h"#include "baselib/gobjgxlink.h"#include "baselib/gobjobject.h"#include "ft/forward.h"#include "lb/lb_00F9.h"#include "lb/lblanguage.h"#include "mn/mnmain.h"#include "mn/mnname.h"#include "mn/mnstagesel.h"#include "pl/forward.h"#include "pl/player.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 | lbl_803B7C80_t |
| struct | CamDesc |
| struct | BracketEntrySlot |
Functions | |
| STATIC_ASSERT (sizeof(BracketEntrySlot)==0x2C) | |
| static BracketEntrySlot * | BracketEntry_GetSlot (BracketEntry *entry, s32 slot_idx) |
| void | fn_8018A514 (int count, float val) |
| void | fn_8018A970 (int arg0) |
| void | fn_8018AA74 (HSD_JObj *jobj, s32 entry_idx, s32 slot_idx) |
| void | fn_8018B090 (HSD_GObj *arg0) |
| void | fn_8018C8D4 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0) |
| Draws tournament bracket lines for different bracket types (0-3). | |
| void | fn_8018D50C (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0) |
| Draws tournament bracket connector lines with optional tail segments. | |
| void | fn_8018DC18 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0) |
| void | fn_8018DF68 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0) |
| void | fn_8018E46C (HSD_GObj *gobj, int unused) |
| void | fn_8018E618 (int arg0, f32 farg0, int arg1) |
| Initializes the tournament bracket camera and optionally resets bracket data. | |
| void | fn_8018E85C (DynamicModelDesc *model, s32 flag) |
| void | fn_8018EC48 (void) |
| void | fn_8018EC7C (void) |
| void | fn_8018ECA8 (s32 char_id, s32 name_type, s32 jobj_idx1, f32 pos_x, f32 pos_y, s32 jobj_idx2) |
| void | fn_8018F00C (char *dest, s32 slot_id) |
| Formats a tournament slot display name into a destination buffer. | |
| s32 | gm_8018F1B0 (MatchEnd *me) |
| int | fn_8018F310 (int arg0) |
| int | fn_8018F3BC (s32 arg0) |
| int | fn_8018F3D0 (int arg0) |
| int | fn_8018F410 (void) |
| int | fn_8018F4A0 (void) |
| fn_8018F410 | |
| s32 | fn_8018F508 (s32 *out_index) |
| Counts available tournament slots and returns the last found index. | |
| char * | fn_8018F5F0 (void) |
| u32 | fn_8018F62C (HSD_GObj *gobj) |
| ? | |
| TmData * | gm_8018F634 (void) |
| u32 | fn_8018F640 (int arg0) |
| u32 | fn_8018F674 (int arg0) |
| u32 | fn_8018F6A8 (int arg0) |
| int | fn_8018F6DC (int arg0) |
| CharacterKind | fn_8018F6FC (CSSIconHud arg0) |
| float | fn_8018F71C (int arg0, int arg1) |
| int | fn_8018F74C (void) |
| int | fn_8018F808 (void) |
| static s32 | fn_8018F888_inline0 (void) |
| void | fn_8018F888 (void) |
| void | fn_8018FA24 (void) |
| void | fn_8018FBD8 (void *arg0, s32 arg1) |
| void | fn_8018FBE0 (s32 arg0, s32 arg1, s32 arg2, s8 arg3, s8 arg4, s16 arg5, s8 arg6) |
| void | fn_8018FDC4 (HSD_JObj *jobj, float x, float y, float z) |
| void | fn_8018FF9C (HSD_JObj *jobj, float x, float y, float z) |
| HSD_GObj * | fn_80190174 (HSD_CObjDesc *cobjdesc) |
| HSD_GObj * | fn_801901F8 (HSD_CObjDesc *cobjdesc) |
| void | fn_8019027C (UNK_T lights) |
| void | fn_801902F0 (int sis_param) |
| Initializes SIS library text rendering for tournament mode. | |
| HSD_GObj * | fn_8019035C (bool arg0, DynamicModelDesc *model, int arg2, int arg3, int arg4, bool arg5, void(*arg6)(HSD_GObj *), f32 arg8) |
| void | fn_8019044C (HSD_JObj *jobj, float arg1) |
| void | fn_80190480 (float arg8) |
| void | fn_801904D0 (void) |
| void | fn_80190520 (f32 x, f32 y, f32 z) |
| static int | gm_801905F0_inline0 (int c_kind) |
| fn_80190520 | |
| void | gm_801905F0 (StartMeleeData *arg0) |
Variables | |
| SceneDesc * | lbl_804D666C |
| SceneDesc * | lbl_804D6670 |
| SceneDesc * | lbl_804D6674 |
| u8 | lbl_804D6680 [8] |
| char * | lbl_804DA6B4 |
| char * | lbl_804DA6B8 |
| char * | lbl_804DA6BC |
| char * | lbl_804DA6C0 |
| char * | lbl_804DA6C8 |
| char * | lbl_804DA6CC |
| char * | lbl_804DA6D0 |
| static s32 | lbl_804D6630 |
| static s32 | lbl_804D6634 |
| struct lbl_803B7C80_t | lbl_803B7C80 |
| CamDesc | lbl_803B7CA8 |
| static char | lbl_803D9EE8 [] |
| char *const | lbl_804DA6C4 = lbl_803D9EE8 |
| static char | lbl_803D9EF4 [] |
| static char | lbl_803D9F00 [] |
| static GXColor const | lbl_804DA67C = { 0xFF, 0xFF, 0, 0xFF } |
| static GXColor const | lbl_804DA684 = { 255, 255, 0, 255 } |
| static GXColor const | col = { 0xFF, 0xFF, 0x00, 0xFF } |
| static const GXColor | lbl_804DA69C = { 255, 255, 0, 255 } |
| struct lbl_803D9F0C_t | lbl_803D9F0C = { -1, -1, -1 } |
| struct TmSettingTable | lbl_803D9F80 |
| STATIC_ASSERT | ( | sizeof(BracketEntrySlot) | = =0x2C | ) |
|
inlinestatic |
| void fn_8018A514 | ( | int | count, |
| float | val ) |
| void fn_8018A970 | ( | int | arg0 | ) |
| void fn_8018B090 | ( | HSD_GObj * | arg0 | ) |
| void fn_8018C8D4 | ( | void * | arg0, |
| s32 | arg1, | ||
| s32 | arg2, | ||
| s32 | arg3, | ||
| s32 | arg4, | ||
| s32 | arg5, | ||
| s32 | arg6, | ||
| f32 | farg0 ) |
Draws tournament bracket lines for different bracket types (0-3).
| void fn_8018D50C | ( | void * | arg0, |
| s32 | arg1, | ||
| s32 | arg2, | ||
| s32 | arg3, | ||
| s32 | arg4, | ||
| s32 | arg5, | ||
| s32 | arg6, | ||
| f32 | farg0 ) |
Draws tournament bracket connector lines with optional tail segments.
| void fn_8018DC18 | ( | void * | arg0, |
| s32 | arg1, | ||
| s32 | arg2, | ||
| s32 | arg3, | ||
| s32 | arg4, | ||
| s32 | arg5, | ||
| s32 | arg6, | ||
| f32 | farg0 ) |
| void fn_8018DF68 | ( | void * | arg0, |
| s32 | arg1, | ||
| s32 | arg2, | ||
| s32 | arg3, | ||
| s32 | arg4, | ||
| s32 | arg5, | ||
| s32 | arg6, | ||
| f32 | farg0 ) |
| void fn_8018E46C | ( | HSD_GObj * | gobj, |
| int | unused ) |
| void fn_8018E618 | ( | int | arg0, |
| f32 | farg0, | ||
| int | arg1 ) |
Initializes the tournament bracket camera and optionally resets bracket data.
Removes all existing GObjs from two entity lists, inits lbl_80473AB8 entries, creates camera GObj with CObjDesc loaded from lbl_803B7CA8 rodata.
| void fn_8018E85C | ( | DynamicModelDesc * | model, |
| s32 | flag ) |
| void fn_8018EC48 | ( | void | ) |
| void fn_8018EC7C | ( | void | ) |
| void fn_8018F00C | ( | char * | dest, |
| s32 | slot_id ) |
Formats a tournament slot display name into a destination buffer.
| int fn_8018F310 | ( | int | arg0 | ) |
| int fn_8018F3BC | ( | s32 | arg0 | ) |
| int fn_8018F3D0 | ( | int | arg0 | ) |
| int fn_8018F410 | ( | void | ) |
| int fn_8018F4A0 | ( | void | ) |
Counts available tournament slots and returns the last found index.
| char * fn_8018F5F0 | ( | void | ) |
| u32 fn_8018F62C | ( | HSD_GObj * | gobj | ) |
?
?? tournament uses the user data as just an int it controls various menu jobj states ie animation state, visibility, etc
| TmData * gm_8018F634 | ( | void | ) |
| u32 fn_8018F640 | ( | int | arg0 | ) |
| u32 fn_8018F674 | ( | int | arg0 | ) |
| u32 fn_8018F6A8 | ( | int | arg0 | ) |
| int fn_8018F6DC | ( | int | arg0 | ) |
| CharacterKind fn_8018F6FC | ( | CSSIconHud | arg0 | ) |
| float fn_8018F71C | ( | int | arg0, |
| int | arg1 ) |
| int fn_8018F74C | ( | void | ) |
| int fn_8018F808 | ( | void | ) |
|
inlinestatic |
| void fn_8018F888 | ( | void | ) |
| void fn_8018FA24 | ( | void | ) |
| void fn_8018FBD8 | ( | void * | arg0, |
| s32 | arg1 ) |
| void fn_8018FDC4 | ( | HSD_JObj * | jobj, |
| float | x, | ||
| float | y, | ||
| float | z ) |
| void fn_8018FF9C | ( | HSD_JObj * | jobj, |
| float | x, | ||
| float | y, | ||
| float | z ) |
| HSD_GObj * fn_80190174 | ( | HSD_CObjDesc * | cobjdesc | ) |
| HSD_GObj * fn_801901F8 | ( | HSD_CObjDesc * | cobjdesc | ) |
| void fn_8019027C | ( | UNK_T | lights | ) |
| void fn_801902F0 | ( | int | sis_param | ) |
Initializes SIS library text rendering for tournament mode.
| HSD_GObj * fn_8019035C | ( | bool | arg0, |
| DynamicModelDesc * | model, | ||
| int | arg2, | ||
| int | arg3, | ||
| int | arg4, | ||
| bool | arg5, | ||
| void(* | arg6 )(HSD_GObj *), | ||
| f32 | arg8 ) |
| void fn_8019044C | ( | HSD_JObj * | jobj, |
| float | arg1 ) |
| void fn_80190480 | ( | float | arg8 | ) |
| void fn_801904D0 | ( | void | ) |
| void fn_80190520 | ( | f32 | x, |
| f32 | y, | ||
| f32 | z ) |
|
inlinestatic |
| void gm_801905F0 | ( | StartMeleeData * | arg0 | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
static |
|
static |
| struct lbl_803B7C80_t lbl_803B7C80 |
|
extern |
|
static |
| char* const lbl_804DA6C4 = lbl_803D9EE8 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct lbl_803D9F0C_t lbl_803D9F0C = { -1, -1, -1 } |
| struct TmSettingTable lbl_803D9F80 |