Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_allmato.h
Go to the documentation of this file.
1#ifndef D_A_TAG_ALLMATO_H
2#define D_A_TAG_ALLMATO_H
3
4#include "d/actor/d_a_npc.h"
5
6class daTag_AllMato_c : public fopAc_ac_c {
7public:
12 /* 0x0590 */ cXyz field_0x590[500];
13 /* 0x1D00 */ int mBouMatoActorNum;
14 /* 0x1D04 */ int mItaMatoActorNum;
15 /* 0x1D08 */ int field_0x1d08;
16 /* 0x1D0C */ s16 mEventIdx;
17 /* 0x1D0E */ u8 field_0x1d0e;
18 /* 0x1D0F */ u8 field_0x1d0f;
19 /* 0x1D10 */ u8 field_0x1d10;
20
21 int create();
22 int Delete();
23 int Execute();
24 int Draw();
25 static void* srchBouMato(void*, void*);
26 static void* srchItaMato(void*, void*);
27 static void* srchTaro(void*, void*);
28 static void* srchArrow(void*, void*);
29 int isDelete();
30 void entryBouMatoActors();
31 void entryItaMatoActors();
34 int checkCrsMato();
35 int checkCrsMato2();
36 int checkBrkMato();
37 void evtChange(u16);
38
39 virtual ~daTag_AllMato_c() {}
40
41 int getType() { return 0; }
42
44 u32 prm = fopAcM_GetParam(this) & 0xFFF;
45
46 int bit;
47 if (prm == 0xFFF) {
48 bit = -1;
49 } else {
50 bit = prm;
51 }
52
53 return bit;
54 }
55
57 u32 prm = (fopAcM_GetParam(this) & 0xFFF000) >> 12;
58
59 u32 bit;
60 if (prm == 0xFFF) {
61 bit = 0xFFFFFFFF;
62 } else {
63 bit = prm;
64 }
65
66 return bit;
67 }
68
70 return home.angle.x & 0xFF;
71 }
72
74 return (home.angle.x & 0xFF00) >> 8;
75 }
76};
77
78#endif /* D_A_TAG_ALLMATO_H */
Definition d_a_npc.h:30
Definition d_a_tag_allmato.h:6
int Delete()
Definition d_a_tag_allmato.cpp:62
cXyz field_0x590[500]
Definition d_a_tag_allmato.h:12
u8 getOnSwBit()
Definition d_a_tag_allmato.h:69
static void * srchItaMato(void *, void *)
Definition d_a_tag_allmato.cpp:292
void entryItaMatoActors()
Definition d_a_tag_allmato.cpp:359
u32 getOffEvtBit()
Definition d_a_tag_allmato.h:56
static void * srchBouMato(void *, void *)
Definition d_a_tag_allmato.cpp:281
int Draw()
Definition d_a_tag_allmato.cpp:273
int mItaMatoActorNum
Definition d_a_tag_allmato.h:14
virtual ~daTag_AllMato_c()
Definition d_a_tag_allmato.h:39
static void * srchArrow(void *, void *)
Definition d_a_tag_allmato.cpp:314
int checkBrkMato()
Definition d_a_tag_allmato.cpp:533
void evtChange(u16)
Definition d_a_tag_allmato.cpp:548
u8 field_0x1d0f
Definition d_a_tag_allmato.h:18
int create()
Definition d_a_tag_allmato.cpp:36
int mBouMatoActorNum
Definition d_a_tag_allmato.h:13
int getOnEvtBit()
Definition d_a_tag_allmato.h:43
int field_0x1d08
Definition d_a_tag_allmato.h:15
daNpcT_ActorMngr_c mItaMatoActorMngr[2]
Definition d_a_tag_allmato.h:9
int checkCrsMato2()
Definition d_a_tag_allmato.cpp:479
u8 field_0x1d0e
Definition d_a_tag_allmato.h:17
int Execute()
Definition d_a_tag_allmato.cpp:66
daNpcT_ActorMngr_c mArrowActorMngr
Definition d_a_tag_allmato.h:10
fopAc_ac_c * getArrowActorP()
Definition d_a_tag_allmato.cpp:390
int isDelete()
Definition d_a_tag_allmato.cpp:325
u8 getOffSwBit()
Definition d_a_tag_allmato.h:73
daNpcT_ActorMngr_c mBouMatoActorMngr[1]
Definition d_a_tag_allmato.h:8
int getType()
Definition d_a_tag_allmato.h:41
fopAc_ac_c * getTaroActorP()
Definition d_a_tag_allmato.cpp:375
static void * srchTaro(void *, void *)
Definition d_a_tag_allmato.cpp:303
u8 field_0x1d10
Definition d_a_tag_allmato.h:19
int checkCrsMato()
Definition d_a_tag_allmato.cpp:405
daNpcT_ActorMngr_c mBrkMatoActorMngr
Definition d_a_tag_allmato.h:11
void entryBouMatoActors()
Definition d_a_tag_allmato.cpp:343
s16 mEventIdx
Definition d_a_tag_allmato.h:16
Definition f_op_actor.h:230
actor_place home
Definition f_op_actor.h:249
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
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
s16 x
Definition c_sxyz.h:7
csXyz angle
Definition f_op_actor.h:206
Definition c_xyz.h:7