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

Data Structures

struct  FlagsX
struct  UnkX

Macros

#define ASSERT_NOT_NULL(value, line)
 "jobj.h" @ lbl_804D57B0 "jobj" @ lbl_804D57B8

Functions

static void ifStatus_PercentOnDeathAnimationThink (UnkX *value, s32, s32)
HudIndexifStatus_GetHUDInfo (void)
static float foo (float a, float b)
static void jobj_flagCheckSetMtxDirtySub (HSD_JObj *jobj)
static void * jobj_get (HSD_JObj *jobj_r30, UnkX *value, s32 i)
static f32 offset_rand (void)
void ifStatus_802F4B84 (IfDamageState *state, s32 is_stamina)
static void ifStatus_InitDamageDigits (IfDamageState *state, HSD_MatAnimJoint **anim_base)
static f32 ifStatus_GetStoredTranslationX (IfDamageState *state, s32 index)
static void ifStatus_UpdateDamageDisplay (IfDamageState *state, HSD_JObj *jobj, GXColor *color, GXColor *stamina_color, GXColor *normal_color)
void ifStatus_802F4EDC (HSD_GObj *gobj)
static IfDamageStatefind_player_by_entity (HSD_GObj *gobj)
void ifStatus_802F5B48 (HSD_GObj *gobj)
static IfDamageStategetPlayerByHUDParent (HSD_GObj *parent)
void ifStatus_802F5DE0 (HSD_GObj *player, s32 arg1)
static IfDamageStategetPlayerByNext (HSD_GObj *gobj)
void ifStatus_802F5E50 (HSD_GObj *gobj, s32 arg1)
static HSD_JObjifStatus_GetDamageJObj (HSD_JObj *jobj, s32 i)
static HSD_JObjifStatus_LoadDamageJObj (HudIndex *hud)
HSD_GObjifStatus_802F5EC0 (IfDamageState *state, s32 player_idx)
HSD_GObjifStatus_802F6194 (HSD_GObj *node, s32 n)
void ifStatus_CreateMarkGObj (HSD_GObj **gobj)
static void ifStatus_GetPlayerCharacter (s32 arg0, CharacterKind *chara)
HSD_GObjifStatus_802F61FC (IfDamageState *state, s32 player_idx)
void ifStatus_802F6508 (s32 arg0)
void ifStatus_802F665C (int arg0)
void ifStatus_802F66A4 (void)
void ifStatus_802F6788 (u8 player_idx)
void ifStatus_802F6804 (void)
void ifStatus_802F6898 (void)
 Hide Percentage Digits.
void ifStatus_802F68F0 (void)
 Show All Percentage Digits.
void ifStatus_802F6948 (s32 player_idx)
static void ifStatus_TriggerStockLoss (s32 player_idx, void(*callback)(s32))
void ifStatus_802F69C0 (s32 player_idx, s32 arg1)
void ifStatus_802F6AF8 (s32 player_idx)
void ifStatus_802F6C04 (s32 player_idx)
void ifStatus_802F6D10 (s32 player_idx)
void ifStatus_802F6E1C (int slot)
void ifStatus_802F6E3C (s32 player_num)

Variables

static u8 ifStatus_804D57A8 [] = { 0xFF, 0xFF, 0xFF, 0xFF }
static u8 ifStatus_804D57AC [] = { 0x50, 0x00, 0x00, 0xFF }
static u8 ifStatus_804D6D60
static s8 ifStatus_804D6D61
char num_models_name [] = "DmgNum_scene_models"
char mrk_models_name [] = "DmgMrk_scene_models"
HudIndex ifStatus_HudInfo

Macro Definition Documentation

◆ ASSERT_NOT_NULL

#define ASSERT_NOT_NULL ( value,
line )
Value:
if (value == NULL) { \
__assert("jobj.h", line, "jobj"); \
}
#define NULL
Definition stddef.h:14

"jobj.h" @ lbl_804D57B0 "jobj" @ lbl_804D57B8

Function Documentation

◆ ifStatus_PercentOnDeathAnimationThink()

void ifStatus_PercentOnDeathAnimationThink ( UnkX * value,
s32 arg1,
s32 arg2 )
static

◆ ifStatus_GetHUDInfo()

HudIndex * ifStatus_GetHUDInfo ( void )
Todo
.sdata2 order hack

◆ foo()

float foo ( float a,
float b )
inlinestatic

◆ jobj_flagCheckSetMtxDirtySub()

void jobj_flagCheckSetMtxDirtySub ( HSD_JObj * jobj)
inlinestatic

◆ jobj_get()

void * jobj_get ( HSD_JObj * jobj_r30,
UnkX * value,
s32 i )
inlinestatic

◆ offset_rand()

f32 offset_rand ( void )
inlinestatic

◆ ifStatus_802F4B84()

void ifStatus_802F4B84 ( IfDamageState * state,
s32 is_stamina )

◆ ifStatus_InitDamageDigits()

void ifStatus_InitDamageDigits ( IfDamageState * state,
HSD_MatAnimJoint ** anim_base )
inlinestatic

◆ ifStatus_GetStoredTranslationX()

f32 ifStatus_GetStoredTranslationX ( IfDamageState * state,
s32 index )
inlinestatic

◆ ifStatus_UpdateDamageDisplay()

void ifStatus_UpdateDamageDisplay ( IfDamageState * state,
HSD_JObj * jobj,
GXColor * color,
GXColor * stamina_color,
GXColor * normal_color )
inlinestatic

◆ ifStatus_802F4EDC()

void ifStatus_802F4EDC ( HSD_GObj * gobj)

◆ find_player_by_entity()

IfDamageState * find_player_by_entity ( HSD_GObj * gobj)
inlinestatic

◆ ifStatus_802F5B48()

void ifStatus_802F5B48 ( HSD_GObj * gobj)

◆ getPlayerByHUDParent()

IfDamageState * getPlayerByHUDParent ( HSD_GObj * parent)
inlinestatic

◆ ifStatus_802F5DE0()

void ifStatus_802F5DE0 ( HSD_GObj * player,
s32 arg1 )

◆ getPlayerByNext()

IfDamageState * getPlayerByNext ( HSD_GObj * gobj)
inlinestatic

◆ ifStatus_802F5E50()

void ifStatus_802F5E50 ( HSD_GObj * gobj,
s32 arg1 )

◆ ifStatus_GetDamageJObj()

HSD_JObj * ifStatus_GetDamageJObj ( HSD_JObj * jobj,
s32 i )
inlinestatic

◆ ifStatus_LoadDamageJObj()

HSD_JObj * ifStatus_LoadDamageJObj ( HudIndex * hud)
inlinestatic

◆ ifStatus_802F5EC0()

HSD_GObj * ifStatus_802F5EC0 ( IfDamageState * state,
s32 player_idx )

◆ ifStatus_802F6194()

HSD_GObj * ifStatus_802F6194 ( HSD_GObj * node,
s32 n )

◆ ifStatus_CreateMarkGObj()

void ifStatus_CreateMarkGObj ( HSD_GObj ** gobj)
inline

◆ ifStatus_GetPlayerCharacter()

void ifStatus_GetPlayerCharacter ( s32 arg0,
CharacterKind * chara )
inlinestatic

◆ ifStatus_802F61FC()

HSD_GObj * ifStatus_802F61FC ( IfDamageState * state,
s32 player_idx )

◆ ifStatus_802F6508()

void ifStatus_802F6508 ( s32 arg0)

◆ ifStatus_802F665C()

void ifStatus_802F665C ( int arg0)

◆ ifStatus_802F66A4()

void ifStatus_802F66A4 ( void )

◆ ifStatus_802F6788()

void ifStatus_802F6788 ( u8 player_idx)

◆ ifStatus_802F6804()

void ifStatus_802F6804 ( void )

◆ ifStatus_802F6898()

void ifStatus_802F6898 ( void )

Hide Percentage Digits.

◆ ifStatus_802F68F0()

void ifStatus_802F68F0 ( void )

Show All Percentage Digits.

◆ ifStatus_802F6948()

void ifStatus_802F6948 ( s32 player_idx)

◆ ifStatus_TriggerStockLoss()

void ifStatus_TriggerStockLoss ( s32 player_idx,
void(* callback )(s32) )
inlinestatic

◆ ifStatus_802F69C0()

void ifStatus_802F69C0 ( s32 player_idx,
s32 arg1 )

◆ ifStatus_802F6AF8()

void ifStatus_802F6AF8 ( s32 player_idx)

◆ ifStatus_802F6C04()

void ifStatus_802F6C04 ( s32 player_idx)

◆ ifStatus_802F6D10()

void ifStatus_802F6D10 ( s32 player_idx)

◆ ifStatus_802F6E1C()

void ifStatus_802F6E1C ( int slot)

◆ ifStatus_802F6E3C()

void ifStatus_802F6E3C ( s32 player_num)

Variable Documentation

◆ ifStatus_804D57A8

u8 ifStatus_804D57A8[] = { 0xFF, 0xFF, 0xFF, 0xFF }
static

◆ ifStatus_804D57AC

u8 ifStatus_804D57AC[] = { 0x50, 0x00, 0x00, 0xFF }
static

◆ ifStatus_804D6D60

u8 ifStatus_804D6D60
static

◆ ifStatus_804D6D61

s8 ifStatus_804D6D61
static

◆ num_models_name

char num_models_name[] = "DmgNum_scene_models"

◆ mrk_models_name

char mrk_models_name[] = "DmgMrk_scene_models"

◆ ifStatus_HudInfo

HudIndex ifStatus_HudInfo