Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_push.h
Go to the documentation of this file.
1#ifndef D_A_TAG_PUSH_H
2#define D_A_TAG_PUSH_H
3
4#include "d/actor/d_a_npc.h"
6
7class daTag_Push_c : public fopAc_ac_c {
8public:
9 /* 804902B8 */ static void* srchActor(void*, void*);
10 /* 80490418 */ int create();
11 /* 804904D4 */ int Delete();
12 /* 804904DC */ int Execute();
13 /* 804906BC */ int Draw();
14 /* 804906C4 */ int isDelete();
15 /* 80490724 */ int chkPointInArea(cXyz);
16
18 u32 id = fopAcM_GetParam(this) >> 0x18;
19 if (id != 0xFF) {
20 return id;
21 }
22 return -1;
23 }
24
25 u8 getBitSW() { return fopAcM_GetParam(this) & 0xFF; }
26
27 u8 getBitSW2() { return (fopAcM_GetParam(this) >> 8) & 0xFF; }
28
30 if (home.angle.x == 0xFFFF) {
31 return 0xFFFFFFFF;
32 } else {
33 return home.angle.x & 0xFFFF;
34 }
35 }
36
38
39 /* 804908CC */ virtual ~daTag_Push_c() {}
40};
41
42STATIC_ASSERT(sizeof(daTag_Push_c) == 0x574);
43
44#endif /* D_A_TAG_PUSH_H */
Definition d_a_tag_push.h:7
static void * srchActor(void *, void *)
Definition d_a_tag_push.cpp:10
int create()
Definition d_a_tag_push.cpp:53
u32 getFlowNodeNo()
Definition d_a_tag_push.h:29
int isDelete()
Definition d_a_tag_push.cpp:121
daNpcT_ActorMngr_c mActorMngr
Definition d_a_tag_push.h:37
int Delete()
Definition d_a_tag_push.cpp:66
virtual ~daTag_Push_c()
Definition d_a_tag_push.h:39
int Execute()
Definition d_a_tag_push.cpp:71
int chkPointInArea(cXyz)
Definition d_a_tag_push.cpp:132
u8 getBitSW()
Definition d_a_tag_push.h:25
u8 getBitSW2()
Definition d_a_tag_push.h:27
int Draw()
Definition d_a_tag_push.cpp:116
u32 getId()
Definition d_a_tag_push.h:17
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
STATIC_ASSERT(sizeof(daTag_Push_c)==0x574)
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:166
s16 x
Definition vec.h:19
csXyz angle
Definition f_op_actor.h:171
Definition d_a_hozelda.cpp:20
Definition d_a_obj_sekizoa.cpp:286
Definition d_a_ep.cpp:19
actor_place home
Definition f_op_actor.h:213
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8