Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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 /* 80487538 */ int create();
22 /* 804876B0 */ int Delete();
23 /* 804876B8 */ int Execute();
24 /* 80487C5C */ int Draw();
25 /* 80487C64 */ static void* srchBouMato(void*, void*);
26 /* 80487D00 */ static void* srchItaMato(void*, void*);
27 /* 80487D9C */ static void* srchTaro(void*, void*);
28 /* 80487E38 */ static void* srchArrow(void*, void*);
29 /* 80487ED4 */ int isDelete();
30 /* 80487F80 */ void entryBouMatoActors();
31 /* 80488034 */ void entryItaMatoActors();
32 /* 80488104 */ fopAc_ac_c* getTaroActorP();
33 /* 804881C0 */ fopAc_ac_c* getArrowActorP();
34 /* 80488238 */ int checkCrsMato();
35 /* 80488994 */ int checkCrsMato2();
36 /* 80488F40 */ int checkBrkMato();
37 /* 80488FD8 */ void evtChange(u16);
38
39 /* 80489608 */ 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:24
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:290
void entryItaMatoActors()
Definition d_a_tag_allmato.cpp:363
u32 getOffEvtBit()
Definition d_a_tag_allmato.h:56
static void * srchBouMato(void *, void *)
Definition d_a_tag_allmato.cpp:277
int Draw()
Definition d_a_tag_allmato.cpp:265
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:315
int checkBrkMato()
Definition d_a_tag_allmato.cpp:547
void evtChange(u16)
Definition d_a_tag_allmato.cpp:563
u8 field_0x1d0f
Definition d_a_tag_allmato.h:18
int create()
Definition d_a_tag_allmato.cpp:35
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:491
u8 field_0x1d0e
Definition d_a_tag_allmato.h:17
int Execute()
Definition d_a_tag_allmato.cpp:68
daNpcT_ActorMngr_c mArrowActorMngr
Definition d_a_tag_allmato.h:10
fopAc_ac_c * getArrowActorP()
Definition d_a_tag_allmato.cpp:398
int isDelete()
Definition d_a_tag_allmato.cpp:327
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:381
static void * srchTaro(void *, void *)
Definition d_a_tag_allmato.cpp:302
u8 field_0x1d10
Definition d_a_tag_allmato.h:19
int checkCrsMato()
Definition d_a_tag_allmato.cpp:415
daNpcT_ActorMngr_c mBrkMatoActorMngr
Definition d_a_tag_allmato.h:11
void entryBouMatoActors()
Definition d_a_tag_allmato.cpp:346
s16 mEventIdx
Definition d_a_tag_allmato.h:16
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:182
s16 x
Definition c_sxyz.h:7
csXyz angle
Definition f_op_actor.h:172
Definition d_a_hozelda.cpp:20
Definition d_a_hozelda.cpp:74
actor_place home
Definition f_op_actor.h:219
unsigned long u32
Definition types.h:9
signed short int s16
Definition types.h:6
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition types.h:5