Go to the source code of this file.
|
static Fighter * | getFighter (Fighter_GObj *gobj) |
|
static Fighter * | getFighterPlus (Fighter_GObj *gobj) |
|
static void * | getFtSpecialAttrs (Fighter *fp) |
|
static void * | getFtSpecialAttrsD (Fighter *fp) |
|
static s32 | ftGetKind (Fighter *fp) |
|
static s32 | ftGetAction (Fighter *fp) |
|
static void * | getFtSpecialAttrs2CC (Fighter *fp) |
|
static ftCo_DatAttrs * | getFtAttrs (Fighter *fp) |
|
static CollData * | getFtColl (Fighter *fp) |
|
static bool | ftGetGroundAir (Fighter *fp) |
|
static float | stickGetDir (float x1, float x2) |
|
static void | Fighter_OnItemPickup (Fighter_GObj *gobj, bool catchItemFlag, bool bool2, bool bool3) |
| used for all fighters except Kirby and Purin
|
|
static void | Fighter_OnItemInvisible (Fighter_GObj *gobj, bool flag) |
|
static void | Fighter_OnItemVisible (Fighter_GObj *gobj, bool flag) |
|
static void | Fighter_OnItemDrop (Fighter_GObj *gobj, bool dropItemFlag, bool bool2, bool bool3) |
|
static void | Fighter_OnKnockbackEnter (Fighter_GObj *gobj, s32 arg1) |
|
static void | Fighter_OnKnockbackExit (Fighter_GObj *gobj, s32 arg1) |
|
static void | Fighter_UnsetCmdVar0 (Fighter_GObj *gobj) |
|
static CollData * | Fighter_GetCollData (Fighter *fp) |
|
static bool | ftCheckThrowB0 (Fighter *fp) |
|
static bool | ftCheckThrowB3 (Fighter *fp) |
|
static bool | ftCheckThrowB4 (Fighter *fp) |
|
ftCmdScript * | getCmdScript (Fighter *fp) |
|
◆ PUSH_ATTRS
#define PUSH_ATTRS |
( |
|
fp, |
|
|
|
attributeName |
|
) |
| |
Value: do { \
void* backup = (fp)->x2D8_specialAttributes2; \
attributeName* src = (attributeName*) (fp)->ft_data->ext_attr; \
void** da = &(fp)->dat_attrs; \
*(attributeName*) (fp)->x2D8_specialAttributes2 = *src; \
*da = backup; \
} while (0)
◆ COPY_ATTRS
#define COPY_ATTRS |
( |
|
gobj, |
|
|
|
attributeName |
|
) |
| |
Value:
attributeName* sA2 = (attributeName*) fp->
dat_attrs; \
*sA2 = *ext_attr;
#define GET_FIGHTER(gobj)
Definition inlines.h:43
ftData * ft_data
Definition types.h:1102
void * dat_attrs
Definition types.h:1108
void * ext_attr
Definition types.h:589
- Todo:
- Remove declarations. Doesn't really need to be a macro.
◆ GET_FIGHTER
◆ CLIFFCATCH_O
Ternary macro for fcmpo-based facing direction check.
◆ CLIFFCATCH_U
Ternary macro for fcmpu-based facing direction check.
◆ gmScriptEventCast
#define gmScriptEventCast |
( |
|
p_event, |
|
|
|
type |
|
) |
| ((type*) p_event) |
◆ gmScriptEventUpdatePtr
#define gmScriptEventUpdatePtr |
( |
|
event, |
|
|
|
type |
|
) |
| (event = (void*) ((uintptr_t) event + (sizeof(type)))) |
◆ getFighter()
static Fighter * getFighter |
( |
Fighter_GObj * |
gobj | ) |
|
|
inlinestatic |
◆ getFighterPlus()
static Fighter * getFighterPlus |
( |
Fighter_GObj * |
gobj | ) |
|
|
inlinestatic |
◆ getFtSpecialAttrs()
static void * getFtSpecialAttrs |
( |
Fighter * |
fp | ) |
|
|
inlinestatic |
◆ getFtSpecialAttrsD()
static void * getFtSpecialAttrsD |
( |
Fighter * |
fp | ) |
|
|
inlinestatic |
◆ ftGetKind()
◆ ftGetAction()
◆ getFtSpecialAttrs2CC()
static void * getFtSpecialAttrs2CC |
( |
Fighter * |
fp | ) |
|
|
inlinestatic |
◆ getFtAttrs()
◆ getFtColl()
◆ ftGetGroundAir()
◆ stickGetDir()
static float stickGetDir |
( |
float |
x1, |
|
|
float |
x2 |
|
) |
| |
|
inlinestatic |
◆ Fighter_OnItemPickup()
static void Fighter_OnItemPickup |
( |
Fighter_GObj * |
gobj, |
|
|
bool |
catchItemFlag, |
|
|
bool |
bool2, |
|
|
bool |
bool3 |
|
) |
| |
|
inlinestatic |
used for all fighters except Kirby and Purin
◆ Fighter_OnItemInvisible()
static void Fighter_OnItemInvisible |
( |
Fighter_GObj * |
gobj, |
|
|
bool |
flag |
|
) |
| |
|
inlinestatic |
◆ Fighter_OnItemVisible()
static void Fighter_OnItemVisible |
( |
Fighter_GObj * |
gobj, |
|
|
bool |
flag |
|
) |
| |
|
inlinestatic |
◆ Fighter_OnItemDrop()
static void Fighter_OnItemDrop |
( |
Fighter_GObj * |
gobj, |
|
|
bool |
dropItemFlag, |
|
|
bool |
bool2, |
|
|
bool |
bool3 |
|
) |
| |
|
inlinestatic |
◆ Fighter_OnKnockbackEnter()
static void Fighter_OnKnockbackEnter |
( |
Fighter_GObj * |
gobj, |
|
|
s32 |
arg1 |
|
) |
| |
|
inlinestatic |
◆ Fighter_OnKnockbackExit()
static void Fighter_OnKnockbackExit |
( |
Fighter_GObj * |
gobj, |
|
|
s32 |
arg1 |
|
) |
| |
|
inlinestatic |
◆ Fighter_UnsetCmdVar0()
static void Fighter_UnsetCmdVar0 |
( |
Fighter_GObj * |
gobj | ) |
|
|
inlinestatic |
◆ Fighter_GetCollData()
◆ ftCheckThrowB0()
◆ ftCheckThrowB3()
◆ ftCheckThrowB4()
◆ getCmdScript()