Files
tww/include/d/actor/d_a_swc00.h
T
2023-11-27 21:33:08 -05:00

14 lines
485 B
C++

#ifndef D_A_SWC00_H
#define D_A_SWC00_H
#include "f_op/f_op_actor.h"
#include "f_op/f_op_actor_mng.h"
class swc00_class : public fopAc_ac_c {};
static inline s32 daSwc00_getSw1No(swc00_class* i_this) { return fopAcM_GetParam(i_this) & 0xFF; }
static inline s32 daSwc00_getSw2No(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 8) & 0xFF; }
static inline s32 daSwc00_getType(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 0x10) & 0x3; }
#endif /* D_A_SWC00_H */