|
SSBM Decomp
|
#include "gmtoulib.h"#include <melee/ft/forward.h>#include <melee/pl/forward.h>#include <sysdolphin/baselib/forward.h>#include <placeholder.h>#include <stdio.h>#include <string.h>#include "forward.h"#include "gm_1601.h"#include "gm_unsplit.h"#include "gmmain_lib.h"#include "types.h"#include <melee/lb/lblanguage.h>#include <melee/lb/lbspdisplay.h>#include <melee/mn/mnmain.h>#include <melee/mn/mnname.h>#include <melee/mn/mnstagesel.h>#include <melee/pl/player.h>#include <melee/sc/types.h>#include <sysdolphin/baselib/cobj.h>#include <sysdolphin/baselib/controller.h>#include <sysdolphin/baselib/debug.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/gobjplink.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/hsd_3915.h>#include <sysdolphin/baselib/jobj.h>#include <sysdolphin/baselib/mobj.h>#include <sysdolphin/baselib/random.h>#include <sysdolphin/baselib/sislib.h>#include <sysdolphin/baselib/wobj.h>Data Structures | |
| struct | BracketSrcEntry |
| struct | lbl_803D9DAC_t |
| struct | lbl_803D9DD0_t |
| struct | lbl_803B7C80_t |
| struct | BracketData |
| struct | BracketSrcPtr |
| union | lbl_803D9D20_u |
| struct | CObjData |
Functions | |
| static void | gmTournament_SetBracketByes (BracketEntry *entries, s32 entrant_count) |
| void | fn_8018A514 (int count, float val) |
| void | fn_8018A970 (int arg0) |
| static void | gmTournament_SetTripleRightCoords (BracketEntry *entry, s32 *p3C, s32 *p44, s32 *p34, s32 *p40, s32 *p48, s32 *p38) |
| static void | gmTournament_SetRegularCoords (s32 entry_idx, s32 slot_idx, u8 x3, BracketData *bracket, s32 *p3C, s32 *p44, s32 *p34, s32 *p40, s32 *p48, s32 *p38) |
| void | fn_8018AA74 (HSD_JObj *jobj, s32 entry_idx, s32 slot_idx) |
| static f32 | gmTournament_GetBracketSlideYForward (BracketEntrySlot *slot) |
| static f32 | gmTournament_GetBracketSlideYReverse (BracketEntrySlot *slot) |
| static HSD_JObj * | fn_8018B090_inline0 (BracketEntry *bracket_entries, s32 bracket_slot_index, s32 bracket_entry_index) |
| static BracketEntry * | fn_8018B090_inline2 (BracketEntry *bracket_entries, s32 bracket_entry_index) |
| static void | fn_8018B090_inline3 (BracketEntry *entry) |
| static s32 | fn_8018B090_inline4 (BracketEntry *entry) |
| static void | fn_8018B090_inline5 (BracketEntry *entries, BracketEntry *src, s32 slot_idx) |
| static void | fn_8018B090_inline6 (BracketEntry *entry, s32 slot_idx) |
| static void | fn_8018B090_inline7 (BracketEntry *entry, s32 slot_idx) |
| static void | fn_8018B090_inline8 (struct lbl_803D9DAC_t *camera) |
| void | fn_8018B090 (HSD_GObj *arg0) |
| void | fn_8018C8D4 (BracketEntry *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5) |
| Draws tournament bracket lines for different bracket types (0-3). | |
| void | fn_8018D50C (BracketEntry *data, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5) |
| Draws tournament bracket connector lines with optional tail segments. | |
| void | fn_8018DC18 (BracketEntry *data, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5) |
| void | fn_8018DF68 (BracketEntry *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5) |
| void | fn_8018E46C (HSD_GObj *gobj, intptr_t unused) |
| static void | gmTournament_InitBracket (s32 entrant_count, f32 anim_frame, bool reset) |
| 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) |
| 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_GetTournamentData (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) |
| static int | fn_8018FA24_inline0 (int char_kind) |
| void | fn_8018FA24 (void) |
| void | fn_8018FBD8 (void *arg0, s32 arg1) |
| void | fn_8018FBE0 (s32 arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 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) |
| void | gm_801905F0 (StartMeleeData *arg0) |
|
inlinestatic |
| void fn_8018A514 | ( | int | count, |
| float | val ) |
| void fn_8018A970 | ( | int | arg0 | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void fn_8018B090 | ( | HSD_GObj * | arg0 | ) |
Draws tournament bracket lines for different bracket types (0-3).
Draws tournament bracket connector lines with optional tail segments.
| 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 | ) |
?
?? tournament uses the user data as just an int it controls various menu jobj states ie animation state, visibility, etc
| TmData * gm_GetTournamentData | ( | 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 | ) |
|
inlinestatic |
| 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 | ) |
|
inlinestatic |
| void gm_801905F0 | ( | StartMeleeData * | arg0 | ) |
| struct lbl_803D9D20_t lbl_803D9D20 |
| struct lbl_803D9DAC_t lbl_803D9DAC |
| struct lbl_803D9DD0_t lbl_803D9DD0 = { 0, { 0 }, 0 } |
|
static |
|
static |
|
static |
| BracketEntry lbl_80473AB8[64] |
| struct TmBoxArrays lbl_804771B8 |
| MatchEnd gm_80477738 |
| TmData gm_804771C4 |
| int lbl_804D663C |
| HSD_Archive* lbl_804D6638 |
|
extern |
|
extern |
|
extern |
| char *const lbl_804DA6B4 = lbl_803D9EE8 |
| char *const lbl_804DA6B8 = lbl_803D9EF4 |
| char *const lbl_804DA6BC = lbl_803D9F00 |
| char *const lbl_804DA6C0 = lbl_803D9F00 |
| char *const lbl_804DA6C4 = lbl_803D9EE8 |
| char *const lbl_804DA6C8 = lbl_803D9EF4 |
| char *const lbl_804DA6CC = lbl_803D9F00 |
| char *const lbl_804DA6D0 = lbl_803D9F00 |
|
static |
|
static |
| const struct lbl_803B7C80_t lbl_803B7C80 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct lbl_803D9F0C_t lbl_803D9F0C = { -1, -1, -1 } |