SSBM Decomp
Loading...
Searching...
No Matches
gmresultplayer.c File Reference

Functions

void gm_80177724 (struct ResultsMatchInfo *arg0)
static void inline0 (HSD_JObj *jobj, float f)
void fn_80177748 (void)
void fn_80177920 (HSD_GObj *gobj)
static bool pagePrev (int slot)
static bool pageNext (int slot)
static bool scrollDown (int slot, float amount)
static bool scrollUp (int slot, float amount)
bool fn_80177B7C (int slot)
 Handles result screen controller input for a given player slot.
bool fn_80177DD0 (int slot)
void fn_80178050 (HSD_GObj *arg0)
void fn_801785B0 (HSD_GObj *gobj)
static void fn_80178BB4_init_players (ResultsData *data, MatchEnd *match_end, int *i, int *ko_count)
void fn_80178BB4 (HSD_GObj *gobj)
bool fn_801791E4 (void)
static int fn_80179350_inline (void)
static void fn_80179350_update (ResultsData *data, MatchEnd *match_end, HSD_GObj *arg0)
void fn_80179350 (HSD_GObj *arg0)
int fn_801795D4 (void)
int fn_801796F0 (int arg0)

Variables

ResultsData lbl_8046DBE8
u32 gmResultPlayerColors [4]
CharScaleEntry gmResultCharacterScaleData []
u32 gmResultX22F4Init [0x20/sizeof(u32)]
u32 gmResultScoreTableInit [0x20/sizeof(u32)]
ResultsCharacterData gmResultCharacterData
HSD_WObjDesc gmResultCameraEyeDesc
HSD_WObjDesc gmResultCameraInterestDesc
HSD_CameraDescPerspective gmResultCameraDesc
char gmResultMissingGObjMessage []
char gmResultSourceFileName [] = "gmresultplayer.c"
char gmResultMissingJObjMessage []
ResultsPlayerConfig const lbl_803B7B68
UNK_T lbl_803D6878 []
static const float scroll_speed = 0.2F
static s32 lbl_804D3FC8 = 1

Function Documentation

◆ gm_80177724()

void gm_80177724 ( struct ResultsMatchInfo * arg0)
Todo
.sdata2 order hack

◆ inline0()

void inline0 ( HSD_JObj * jobj,
float f )
inlinestatic

◆ fn_80177748()

void fn_80177748 ( void )

◆ fn_80177920()

void fn_80177920 ( HSD_GObj * gobj)

◆ pagePrev()

bool pagePrev ( int slot)
inlinestatic

◆ pageNext()

bool pageNext ( int slot)
inlinestatic

◆ scrollDown()

bool scrollDown ( int slot,
float amount )
inlinestatic

◆ scrollUp()

bool scrollUp ( int slot,
float amount )
inlinestatic

◆ fn_80177B7C()

bool fn_80177B7C ( int slot)

Handles result screen controller input for a given player slot.

Pressing triggers moves to next/previous page, and moving the stick up/down scrolls within the current page.

Returns
True if the input was handled and the screen needs updating; false if nothing changed.

◆ fn_80177DD0()

bool fn_80177DD0 ( int slot)

◆ fn_80178050()

void fn_80178050 ( HSD_GObj * arg0)

◆ fn_801785B0()

void fn_801785B0 ( HSD_GObj * gobj)
Remarks
This type seems suspicious because the use of sd_penalty as a frame value

◆ fn_80178BB4_init_players()

void fn_80178BB4_init_players ( ResultsData * data,
MatchEnd * match_end,
int * i,
int * ko_count )
inlinestatic

◆ fn_80178BB4()

void fn_80178BB4 ( HSD_GObj * gobj)

◆ fn_801791E4()

bool fn_801791E4 ( void )

◆ fn_80179350_inline()

int fn_80179350_inline ( void )
inlinestatic

◆ fn_80179350_update()

void fn_80179350_update ( ResultsData * data,
MatchEnd * match_end,
HSD_GObj * arg0 )
inlinestatic

◆ fn_80179350()

void fn_80179350 ( HSD_GObj * arg0)

◆ fn_801795D4()

int fn_801795D4 ( void )

◆ fn_801796F0()

int fn_801796F0 ( int arg0)

Variable Documentation

◆ lbl_8046DBE8

ResultsData lbl_8046DBE8
extern
Todo
.sdata order hack

◆ gmResultPlayerColors

u32 gmResultPlayerColors[4]
Initial value:
= {
0x013C59FF,
0x064E01FF,
0x54010BFF,
0x408080FF,
}

◆ gmResultCharacterScaleData

CharScaleEntry gmResultCharacterScaleData[]

◆ gmResultX22F4Init

u32 gmResultX22F4Init[0x20/sizeof(u32)]
Initial value:
= {
0x00180000, 0x00000000, 0x00150015, 0x00000000,
0x00120012, 0x00120000, 0x000E000E, 0x000E000E,
}

◆ gmResultScoreTableInit

u32 gmResultScoreTableInit[0x20/sizeof(u32)]
Initial value:
= {
0x00000000, 0x00000000, 0xFFF2000E, 0x00000000,
0xFFEE0000, 0x00120000, 0xFFEAFFF9, 0x00070016,
}

◆ gmResultCharacterData

ResultsCharacterData gmResultCharacterData

◆ gmResultCameraEyeDesc

HSD_WObjDesc gmResultCameraEyeDesc
Initial value:
= { NULL,
{ 0.0F, 0.0F, 62.0F },
NULL }
#define NULL
Definition stddef.h:14

◆ gmResultCameraInterestDesc

HSD_WObjDesc gmResultCameraInterestDesc
Initial value:
= { NULL,
{ 0.0F, 0.0F, 0.0F },
NULL }

◆ gmResultCameraDesc

HSD_CameraDescPerspective gmResultCameraDesc
Initial value:
= {
0,
{ 0, 640, 0, 480 },
{ 0, 640, 0, 480 },
0.0F,
1.0F,
5000.0F,
19.999998F,
1.216667F,
}
#define PROJ_PERSPECTIVE
Definition cobj.h:12
HSD_WObjDesc gmResultCameraInterestDesc
Definition gmresultplayer.c:359
HSD_WObjDesc gmResultCameraEyeDesc
Definition gmresultplayer.c:356

◆ gmResultMissingGObjMessage

char gmResultMissingGObjMessage[]
Initial value:
=
"Error : model gobj dont't find at gmResultSetViewPos\n"

◆ gmResultSourceFileName

char gmResultSourceFileName[] = "gmresultplayer.c"

◆ gmResultMissingJObjMessage

char gmResultMissingJObjMessage[]
Initial value:
=
"Error : model jobj dont't find at gmResultSetViewPos\n"

◆ lbl_803B7B68

ResultsPlayerConfig const lbl_803B7B68
Initial value:
= {
{ 0.0F, 1.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, -100.0F },
{ 0.0F, 100.0F, 62.0F },
{ 0.0F, 100.0F, 0.0F },
{ 0.0F, 100.0F, 62.0F },
{ 0.0F, 100.0F, 0.0F },
0.0F,
0.0F,
-100.0F,
0.0F,
0.0F,
-100.0F,
0.75F,
0.48F,
0.4F,
0.307F,
0.0F,
}
void fn_80179D84(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:231
void fn_80179DA8(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:236
void fn_80179E9C(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:263
void fn_80179D60(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:226
void fn_80179F04(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:274
void fn_80179E34(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:252
void fn_80179D3C(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:221
void fn_80179DCC(HSD_GObj *gobj, int arg1)
Definition gm_1798.c:241

◆ lbl_803D6878

UNK_T lbl_803D6878[]
extern

◆ scroll_speed

const float scroll_speed = 0.2F
static

◆ lbl_804D3FC8

s32 lbl_804D3FC8 = 1
static