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

Macros

#define MY_MAX(x, y)
#define MY_MIN(x, y)

Functions

float mn_8022EC18 (HSD_JObj *arg0, AnimLoopSettings *arg1, HSD_TypeMask arg2)
float mn_8022ED6C (HSD_JObj *jobj, AnimLoopSettings *anim_loop)
 updates a jobjs animation in accordance to the passed in anim loop setting
float mn_8022EE84 (HSD_JObj *arg0, AnimLoopSettings *arg1, enum _HSD_TypeMask arg2)
float mn_8022EFD8 (HSD_JObj *arg0, AnimLoopSettings *arg1)
 updates a jobjs looping animation.
void mn_8022F0F0 (int arg0)
void mn_8022F138 (u16 arg0, u16 arg1)
static void mn_8022F1A8_inline (u8 arg0)
void mn_8022F1A8 (u16 arg0, u16 arg1)
bool mn_8022F218 (void)
void mn_8022F268 (void)
float mn_8022F298 (HSD_JObj *jobj)
 returns the current frame of jobjs animation
void mn_8022F360 (HSD_AObj *aobj, void *obj, u32 arg2)
void mn_8022F3D8 (HSD_JObj *jobj, u8 arg1, HSD_TypeMask mask)
int mn_8022F410 (float *x, const float *target, float dx)
 Moves x toward a target value in increments of dx.
int mn_8022F470 (int *x, const int *target, int dx)
 Same as mn_8022F410, but for int values instead of float.
void mn_8022F4CC (void)

Macro Definition Documentation

◆ MY_MAX

#define MY_MAX ( x,
y )
Value:
((x) < (y) ? (y) : (x))

◆ MY_MIN

#define MY_MIN ( x,
y )
Value:
((x) > (y) ? (y) : (x))

Function Documentation

◆ mn_8022EC18()

float mn_8022EC18 ( HSD_JObj * arg0,
AnimLoopSettings * arg1,
HSD_TypeMask arg2 )

◆ mn_8022ED6C()

float mn_8022ED6C ( HSD_JObj * jobj,
AnimLoopSettings * anim_loop )

updates a jobjs animation in accordance to the passed in anim loop setting

Parameters
jobjHSD_JObj*
anim_loopAnimLoopSettings*
Returns
the current frame of the jobjs animation

◆ mn_8022EE84()

float mn_8022EE84 ( HSD_JObj * arg0,
AnimLoopSettings * arg1,
enum _HSD_TypeMask arg2 )

◆ mn_8022EFD8()

float mn_8022EFD8 ( HSD_JObj * arg0,
AnimLoopSettings * arg1 )

updates a jobjs looping animation.

if the end frame is -0.1f, the animation will stop after reaching the end frame.

Parameters
arg0HSD_JObj
arg1AnimLoopSettings

◆ mn_8022F0F0()

void mn_8022F0F0 ( int arg0)

◆ mn_8022F138()

void mn_8022F138 ( u16 arg0,
u16 arg1 )

◆ mn_8022F1A8_inline()

void mn_8022F1A8_inline ( u8 arg0)
inlinestatic

◆ mn_8022F1A8()

void mn_8022F1A8 ( u16 arg0,
u16 arg1 )

◆ mn_8022F218()

bool mn_8022F218 ( void )

◆ mn_8022F268()

void mn_8022F268 ( void )

◆ mn_8022F298()

float mn_8022F298 ( HSD_JObj * jobj)

returns the current frame of jobjs animation

◆ mn_8022F360()

void mn_8022F360 ( HSD_AObj * aobj,
void * obj,
u32 arg2 )

◆ mn_8022F3D8()

void mn_8022F3D8 ( HSD_JObj * jobj,
u8 arg1,
HSD_TypeMask mask )

◆ mn_8022F410()

int mn_8022F410 ( float * x,
const float * target,
float dx )

Moves x toward a target value in increments of dx.

Returns +1 if x was increased toward the target value, -1 if it was decreased toward the target value, and 0 if it was already at the target and was unchanged.

◆ mn_8022F470()

int mn_8022F470 ( int * x,
const int * target,
int dx )

Same as mn_8022F410, but for int values instead of float.

◆ mn_8022F4CC()

void mn_8022F4CC ( void )