SSBM Decomp
Loading...
Searching...
No Matches
ifstatus.c File Reference
#include "ifstatus.h"
#include "ifall.h"
#include "m2c_macros.h"
#include "placeholder.h"
#include "gm/gm_unsplit.h"
#include "gm/types.h"
#include "if/if_2F72.h"
#include "if/ifcoget.h"
#include "if/ifstock.h"
#include "if/types.h"
#include "lb/lb_00B0.h"
#include "lb/lb_00F9.h"
#include "lb/lbarchive.h"
#include "lb/lbaudio_ax.h"
#include "mn/mnmain.h"
#include "pl/player.h"
#include "sc/types.h"
#include <baselib/aobj.h>
#include <baselib/dobj.h>
#include <baselib/gobj.h>
#include <baselib/gobjgxlink.h>
#include <baselib/gobjobject.h>
#include <baselib/gobjplink.h>
#include <baselib/gobjproc.h>
#include <baselib/jobj.h>
#include <baselib/mobj.h>
#include <baselib/mtx.h>
#include <baselib/random.h>
#include <baselib/tobj.h>

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_802F4910 (void)
static float foo (float a, float b)
static void jobj_flagCheckSetMtxDirtySub (HSD_JObj *jobj)
void jobj_translate_x (HSD_JObj *jobj, float dx)
void jobj_translate_y (HSD_JObj *jobj, float dy)
void jobj_unk_x (UnkX *value, s32 i)
void jobj_unk_y (UnkX *value, s32 i)
void jobj_unk (UnkX *value)
void * jobj_get (HSD_JObj *jobj_r30, UnkX *value, s32 i)
f32 offset_rand ()
void ifStatus_802F4B84 (IfDamageState *state, s32 is_stamina)
void ifStatus_802F4EDC (HSD_GObj *gobj)
static IfDamageStatefind_player_by_entity (HSD_GObj *gobj)
void ifStatus_802F5B48 (HSD_GObj *gobj)
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)
void ifStatus_802F5EC0 (IfDamageState *state, s32 player_idx)
HSD_GObjifStatus_802F6194 (HSD_GObj *node, s32 n)
void ifStatus_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)
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)
void ifStatus_802F6EA4 (int arg0, int arg1, int arg2, int arg3, Event arg4, Event arg5)
void ifStatus_802F7034 (UNK_T arg0)
void ifStatus_802F7134 (void)
void ifStatus_802F7220 (void)
 free

Variables

Element_803F9628 ifStatus_803F9628 [8]
static u8 ifStatus_804D6D60
static s8 ifStatus_804D6D61
u8 ifStatus_804D57A8
u8 ifStatus_804D57AC

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:19

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

Function Documentation

◆ ifStatus_PercentOnDeathAnimationThink()

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

◆ ifStatus_802F4910()

HudIndex * ifStatus_802F4910 ( void )

◆ foo()

float foo ( float a,
float b )
inlinestatic

◆ jobj_flagCheckSetMtxDirtySub()

void jobj_flagCheckSetMtxDirtySub ( HSD_JObj * jobj)
inlinestatic

◆ jobj_translate_x()

void jobj_translate_x ( HSD_JObj * jobj,
float dx )
inline

◆ jobj_translate_y()

void jobj_translate_y ( HSD_JObj * jobj,
float dy )
inline

◆ jobj_unk_x()

void jobj_unk_x ( UnkX * value,
s32 i )
inline

◆ jobj_unk_y()

void jobj_unk_y ( UnkX * value,
s32 i )
inline

◆ jobj_unk()

void jobj_unk ( UnkX * value)
inline

◆ jobj_get()

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

◆ offset_rand()

f32 offset_rand ( )
inline

◆ ifStatus_802F4B84()

void ifStatus_802F4B84 ( IfDamageState * state,
s32 is_stamina )

◆ 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)
inline

◆ 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_802F5EC0()

void ifStatus_802F5EC0 ( IfDamageState * state,
s32 player_idx )

◆ ifStatus_802F6194()

HSD_GObj * ifStatus_802F6194 ( HSD_GObj * node,
s32 n )

◆ ifStatus_802F61FC()

void 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_802F69C0()

void ifStatus_802F69C0 ( s32 player_idx,
s32 arg1 )
Todo
Inline with callback arg

◆ ifStatus_802F6AF8()

void ifStatus_802F6AF8 ( s32 player_idx)
Todo
Inline with callback arg

◆ ifStatus_802F6C04()

void ifStatus_802F6C04 ( s32 player_idx)
Todo
Inline with callback arg

◆ ifStatus_802F6D10()

void ifStatus_802F6D10 ( s32 player_idx)
Todo
Inline with callback arg

◆ ifStatus_802F6E1C()

void ifStatus_802F6E1C ( int slot)

◆ ifStatus_802F6E3C()

void ifStatus_802F6E3C ( s32 player_num)

◆ ifStatus_802F6EA4()

void ifStatus_802F6EA4 ( int arg0,
int arg1,
int arg2,
int arg3,
Event arg4,
Event arg5 )

◆ ifStatus_802F7034()

void ifStatus_802F7034 ( UNK_T arg0)

◆ ifStatus_802F7134()

void ifStatus_802F7134 ( void )

◆ ifStatus_802F7220()

void ifStatus_802F7220 ( void )

free

Variable Documentation

◆ ifStatus_803F9628

Element_803F9628 ifStatus_803F9628[8]
Initial value:
= {
{ NULL, 0, if_802F74D0, 0x7C860U, 8, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F73C4, 0xC351U, 0, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F74D0, 0x7C85EU, 0, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F73C4, 0x7C85DU, 0, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F73C4, 0x7C857U, 10, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F74D0, 0x7C855U, 8, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F74D0, 0x9C48U, 0, 0, { 0 }, 0, NULL, NULL, 0, 0 },
{ NULL, 0, if_802F74D0, 0x9C46U, 0, 0, { 0 }, 0, NULL, NULL, 0, 0 },
}
void if_802F74D0(HSD_GObj *gobj)
Definition if_2F72.c:95
void if_802F73C4(HSD_GObj *gobj)
Definition if_2F72.c:59

◆ ifStatus_804D6D60

u8 ifStatus_804D6D60
static

◆ ifStatus_804D6D61

s8 ifStatus_804D6D61
static

◆ ifStatus_804D57A8

u8 ifStatus_804D57A8
extern

◆ ifStatus_804D57AC

u8 ifStatus_804D57AC
extern