Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_myna2.h
Go to the documentation of this file.
1#ifndef D_A_TAG_MYNA2_H
2#define D_A_TAG_MYNA2_H
3
4#include "d/d_com_inf_game.h"
5
6class daTagMyna2_c : public fopAc_ac_c {
7public:
8 /* 80D5C698 */ s32 create();
9 /* 80D5C708 */ s32 execute();
10
11 u8 getSwBit() { return fopAcM_GetParam(this) >> 8; }
12 u8 getMode() { return fopAcM_GetParam(this); }
13 f32 getExtent() { return scale.x * 100.0f;}
14
15private:
16 /* 0x568 */ u32 mSwitchNo;
17 /* 0x56C */ u32 mMode;
18 /* 0x570 */ s16 mTimer;
19};
20
21STATIC_ASSERT(sizeof(daTagMyna2_c) == 0x574);
22
23#endif /* D_A_TAG_MYNA2_H */
Definition d_a_tag_myna2.h:6
u32 mMode
Definition d_a_tag_myna2.h:17
u32 mSwitchNo
Definition d_a_tag_myna2.h:16
s32 execute()
Definition d_a_tag_myna2.cpp:19
f32 getExtent()
Definition d_a_tag_myna2.h:13
u8 getMode()
Definition d_a_tag_myna2.h:12
s16 mTimer
Definition d_a_tag_myna2.h:18
s32 create()
Definition d_a_tag_myna2.cpp:10
u8 getSwBit()
Definition d_a_tag_myna2.h:11
STATIC_ASSERT(sizeof(daTagMyna2_c)==0x574)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
f32 x
Definition vec.h:11
Definition d_a_ep.cpp:19
cXyz scale
Definition f_op_actor.h:217
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8