Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_evtarea.h
Go to the documentation of this file.
1#ifndef D_A_TAG_EVTAREA_H
2#define D_A_TAG_EVTAREA_H
3
5
6class daTag_EvtArea_c : public fopAc_ac_c {
7public:
8 /* 8048C4F8 */ cPhs__Step create();
9 /* 8048C728 */ BOOL Delete();
10 /* 8048C730 */ BOOL Execute();
11 /* 8048C894 */ BOOL Draw();
12 /* 8048C89C */ BOOL isDelete();
13 /* 8048C94C */ BOOL chkPointInArea(cXyz, cXyz);
14
15 /* 8048CD08 */ BOOL chkPointInArea(cXyz param_0) {
17 local_28.set(0.0f, 0.0f, 0.0f);
19 }
20
21 /* 8048CD68 */ virtual ~daTag_EvtArea_c() {}
22
24 u8 type = (u8)shape_angle.z;
25 return type == 0xff ? 0 : type;
26 }
27
29 u16 no = (shape_angle.z & 0xff00) >> 8;
30 return no == 0xff ? 0 : no;
31 }
32
34 u32 ret = fopAcM_GetParam(this) & 0xfff;
35 return ret == 0xfff ? -1 : ret;
36 }
37
39 u32 ret = (fopAcM_GetParam(this) & 0xfff000) >> 12;
40 return ret == 0xfff ? -1 : ret;
41 }
42
43 u8 getBitSW() { return home.angle.x & 0xff; }
44
45 u8 getBitSW2() { return (home.angle.x & 0xff00) >> 8; }
46
47private:
48 /* 0x568 vtable */
49 /* 0x56C */ u8 field_0x56c;
50};
51
53
54#endif /* D_A_TAG_EVTAREA_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
cPhs__Step
Definition c_phase.h:8
STATIC_ASSERT(sizeof(daTag_EvtArea_c)==0x570)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
s16 x
Definition vec.h:19
s16 z
Definition vec.h:19
csXyz angle
Definition f_op_actor.h:171
Definition d_a_hozelda.cpp:20
void set(f32 pX, f32 pY, f32 pZ)
Definition c_xyz.h:82
Definition d_a_obj_sekizoa.cpp:90
u32 getOffEvtBit()
Definition d_a_tag_evtarea.h:38
u8 field_0x56c
Definition d_a_tag_evtarea.h:49
BOOL chkPointInArea(cXyz param_0)
Definition d_a_tag_evtarea.h:15
s32 getNo()
Definition d_a_tag_evtarea.h:28
BOOL chkPointInArea(cXyz, cXyz)
virtual ~daTag_EvtArea_c()
Definition d_a_tag_evtarea.h:21
s32 getType()
Definition d_a_tag_evtarea.h:23
u32 getOnEvtBit()
Definition d_a_tag_evtarea.h:33
BOOL Execute()
Definition d_a_tag_evtarea.cpp:101
BOOL Delete()
Definition d_a_tag_evtarea.cpp:96
u8 getBitSW()
Definition d_a_tag_evtarea.h:43
u8 getBitSW2()
Definition d_a_tag_evtarea.h:45
void chkPointInArea(cXyz)
Definition d_a_obj_sekizoa.cpp:2330
BOOL Draw()
Definition d_a_tag_evtarea.cpp:131
cPhs__Step create()
Definition d_a_tag_evtarea.cpp:10
BOOL isDelete()
Definition d_a_tag_evtarea.cpp:136
Definition d_a_ep.cpp:19
actor_place home
Definition f_op_actor.h:213
csXyz shape_angle
Definition f_op_actor.h:216
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8