Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_mist.h
Go to the documentation of this file.
1#ifndef D_A_TAG_MIST_H
2#define D_A_TAG_MIST_H
3
5
6class daTagMist_c : public fopAc_ac_c {
7public:
8 void offSw();
9 void onMySw();
10 BOOL isMySw();
11 int Create();
12 int create();
13 int execute();
14 int _delete();
15
16 static u8 getPlayerNo();
17 static void setPlayerNo(u8 i_playerNo) { mPlayerNo = i_playerNo; }
18
19 static u8 mPlayerNo;
20
21 /* 0x568 */ u8 unused_0x568[0x570 - 0x568];
22 /* 0x570 */ cXyz mVertices[4];
23 /* 0x5A0 */ u8 mPlayerTouched;
24 /* 0x5A1 */ u8 mInitParams;
25 /* 0x5A2 */ u16 field_0x5a2;
26 /* 0x5A4 */ u16 field_0x5a4;
27}; // Size: 0x5A8
28
29namespace daTagMist_prm {
30inline u8 getSwNoNum(daTagMist_c* i_this) {
31 return fopAcM_GetParam(i_this) >> 0x10;
32}
33inline u8 getMySwNo(daTagMist_c* i_this) {
34 return fopAcM_GetParam(i_this) >> 0x8;
35}
36inline u8 getTopSwNo(daTagMist_c* i_this) {
37 return fopAcM_GetParam(i_this);
38}
39inline u8 getExitNo(daTagMist_c* i_this) {
40 return (fopAcM_GetParam(i_this) >> 0x18) & 0x3F;
41}
42inline int getSwNo2(daTagMist_c* i_this) {
43 return i_this->field_0x5a2 & 0xFF;
44}
45} // namespace daTagMist_prm
46
47#endif /* D_A_TAG_MIST_H */
Definition d_a_tag_mist.h:6
int create()
Definition d_a_tag_mist.cpp:76
BOOL isMySw()
Definition d_a_tag_mist.cpp:36
u16 field_0x5a2
Definition d_a_tag_mist.h:25
void offSw()
Definition d_a_tag_mist.cpp:12
static u8 mPlayerNo
Definition d_a_tag_mist.h:19
void onMySw()
Definition d_a_tag_mist.cpp:24
int execute()
Definition d_a_tag_mist.cpp:100
int Create()
Definition d_a_tag_mist.cpp:50
int _delete()
Definition d_a_tag_mist.cpp:125
static u8 getPlayerNo()
Definition d_com_static.cpp:425
u8 mInitParams
Definition d_a_tag_mist.h:24
u8 mPlayerTouched
Definition d_a_tag_mist.h:23
cXyz mVertices[4]
Definition d_a_tag_mist.h:22
u16 field_0x5a4
Definition d_a_tag_mist.h:26
u8 unused_0x568[0x570 - 0x568]
Definition d_a_tag_mist.h:21
static void setPlayerNo(u8 i_playerNo)
Definition d_a_tag_mist.h:17
Definition f_op_actor.h:230
int BOOL
Definition types.h:33
unsigned short int u16
Definition types.h:10
unsigned char u8
Definition types.h:8
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:192
Definition d_a_tag_mist.h:29
u8 getSwNoNum(daTagMist_c *i_this)
Definition d_a_tag_mist.h:30
u8 getMySwNo(daTagMist_c *i_this)
Definition d_a_tag_mist.h:33
u8 getTopSwNo(daTagMist_c *i_this)
Definition d_a_tag_mist.h:36
u8 getExitNo(daTagMist_c *i_this)
Definition d_a_tag_mist.h:39
int getSwNo2(daTagMist_c *i_this)
Definition d_a_tag_mist.h:42
Definition c_xyz.h:7