Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_do.h
Go to the documentation of this file.
1#ifndef D_A_DO_H
2#define D_A_DO_H
3
5#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
7#include "d/d_msg_flow.h"
8#include "f_op/f_op_actor.h"
9
29
48
49// Remove this once the TU matches
51 /* 0x00 */ u8 field_0x00[4];
52 /* 0x04 */ s8 field_0x04;
53 /* 0x08 */ f32 mBaseSize;
54 /* 0x0C */ f32 mWalkSpeed;
55 /* 0x10 */ f32 mRunSpeed;
56 /* 0x14 */ f32 mSwimSpeed;
58 /* 0x1C */ u8 mWaitType;
59 /* 0x1D */ u8 mSwimming;
61};
62
64public:
65 /* 80667D4C */ daDo_HIO_c();
66 /* 8066ED40 */ virtual ~daDo_HIO_c() {}
67
68 /* 0x04 */ s8 field_0x04;
69 /* 0x08 */ f32 mBaseSize;
70 /* 0x0C */ f32 mWalkSpeed;
71 /* 0x10 */ f32 mRunSpeed;
72 /* 0x14 */ f32 mSwimSpeed;
74 /* 0x1C */ u8 mWaitType;
75 /* 0x1D */ u8 mSwimming;
77};
78
87class do_class : public fopEn_enemy_c {
88public:
90 /* 0x5B4 */ u8 mParam0;
91 /* 0x5B5 */ u8 mParam1;
92 /* 0x5B6 */ u8 mParam2;
93 /* 0x5B8 */ cXyz mTargetPos;
94 /* 0x5C4 */ u8 field_0x5c4[4];
95 /* 0x5C8 */ f32 mDistFromPlayer;
96 /* 0x5CC */ s16 mTargetAngleY;
97 /* 0x5D8 */ mDoExt_McaMorf* mpMorf;
98 /* 0x5D4 */ mDoExt_btkAnm* mpBtk;
99 /* 0x5D8 */ mDoExt_btpAnm* mpBtp;
100 /* 0x5DC */ s8 mBtkFrame;
101 /* 0x5DE */ s16 mBtpFrame;
102 /* 0x5E0 */ s16 mBtpTimer;
103 /* 0x5E2 */ s8 mBtpReset;
104 /* 0x5E4 */ int mAnmID;
105 /* 0x5E8 */ f32 mAnmSpeed;
106 /* 0x5EC */ f32 mTargetAnmSpeed;
107 /* 0x5F0 */ s16 mCounter;
108 /* 0x5F2 */ s16 mAction;
109 /* 0x5F4 */ s16 field_0x5f4;
110 /* 0x5F6 */ s16 mMode;
111 /* 0x5F8 */ u32 mShadowKey;
112 /* 0x5FC */ s16 mTimer[4];
113 /* 0x604 */ s16 mCcDisableTimer;
115 /* 0x608 */ f32 field_0x608;
116 /* 0x60C */ s16 field_0x60c;
117 /* 0x60E */ csXyz mHeadAngle;
118 /* 0x614 */ s16 mHeadTilt;
119 /* 0x616 */ s8 field_0x616;
120 /* 0x618 */ cXyz mLookPos;
121 /* 0x624 */ s16 mLookTimer;
122 /* 0x626 */ csXyz mHeadBob;
124 /* 0x632 */ s16 mHeadBobTimer;
125 /* 0x634 */ f32 mShakeSpeed;
127 /* 0x63C */ s16 mASwimTimer;
128 /* 0x63E */ csXyz mTailAngle;
129 /* 0x644 */ f32 mTailWag;
130 /* 0x648 */ f32 mTailWagTarget;
131 /* 0x64C */ f32 mTailPhaseY;
132 /* 0x650 */ f32 mTailPhaseX;
133 /* 0x654 */ s16 mRandomAngleY;
135 /* 0x658 */ f32 field_0x658;
136 /* 0x65C */ f32 mWaterY;
137 /* 0x660 */ s16 mHangAngleY;
138 /* 0x664 */ cXyz mHangPos;
139 /* 0x670 */ f32 mHangSpeed;
140 /* 0x674 */ cXyz mScale;
141 /* 0x680 */ u32 mItemActorID;
142 /* 0x684 */ u32 mFoodActorID;
143 /* 0x688 */ s8 mFoodInMouth;
144 /* 0x689 */ s8 mNoDraw;
145 /* 0x68C */ cXyz field_0x68c;
146 /* 0x698 */ cXyz field_0x698;
147 /* 0x6A4 */ u8 field_0x6a4[10];
149 /* 0x6B0 */ s16 field_0x6b0;
150 /* 0x6B4 */ f32 field_0x6b4;
154 /* 0x8D4 */ dCcD_Stts mStts;
155 /* 0x910 */ dCcD_Sph mCcSph;
157 /* 0xB80 */ cXyz field_0xb80;
158 /* 0xB8C */ cXyz field_0xb8c;
159 /* 0xB98 */ cXyz field_0xb98;
160 /* 0xBA4 */ cXyz field_0xba4;
161 /* 0xBB0 */ cXyz field_0xbb0;
162 /* 0xBBC */ cXyz field_0xbbc;
163 /* 0xBC8 */ u8 field_0xb4c[4];
164 /* 0xBCC */ u32 mRippleKey;
165 /* 0xBD0 */ u8 field_0xbd0[4];
166 /* 0xBD4 */ u32 mParticleKey[4];
168 /* 0xC04 */ u8 mFoodEndTimer;
169 /* 0xC05 */ s8 mMessageState;
170 /* 0xC06 */ s16 mIsTalking;
171 /* 0xC08 */ s16 mFlowID;
172 /* 0xC0C */ dMsgFlow_c mMsg;
173 /* 0xC58 */ u8 field_0xc58[40];
174 /* 0xC80 */ bool field_0xc80;
175 /* 0xC84 */ cXyz field_0xc84;
176 /* 0xC90 */ cXyz field_0xc90;
177 /* 0xC9C */ cXyz field_0xc9c;
178 /* 0xCA8 */ cXyz field_0xca8;
179 /* 0xCB4 */ cXyz field_0xcb4;
180 /* 0xCC0 */ bool mHIOInit;
181};
182
183#endif /* D_A_DO_H */
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Definition d_a_do.h:63
s16 mWaterHuntAnimType
Definition d_a_do.h:76
virtual ~daDo_HIO_c()
Definition d_a_do.h:66
s8 field_0x04
Definition d_a_do.h:68
f32 mPlayerRecognitionDist
Definition d_a_do.h:73
f32 mWalkSpeed
Definition d_a_do.h:70
f32 mBaseSize
Definition d_a_do.h:69
f32 mRunSpeed
Definition d_a_do.h:71
u8 mWaitType
Definition d_a_do.h:74
f32 mSwimSpeed
Definition d_a_do.h:72
daDo_HIO_c()
Definition d_a_do.cpp:119
u8 mSwimming
Definition d_a_do.h:75
Dog.
Definition d_a_do.h:87
f32 mTailPhaseY
Definition d_a_do.h:131
u8 field_0xb4c[4]
Definition d_a_do.h:163
s8 mBtkFrame
Definition d_a_do.h:100
dBgS_AcchCir mBgS_AcchCir
Definition d_a_do.h:152
cXyz field_0xb80
Definition d_a_do.h:157
s16 mFlowID
Definition d_a_do.h:171
s16 mTimer[4]
Definition d_a_do.h:112
request_of_phase_process_class mPhase
Definition d_a_do.h:89
s16 mAction
Definition d_a_do.h:108
s16 mBtpFrame
Definition d_a_do.h:101
f32 mShakeTargetSpeed
Definition d_a_do.h:126
s16 mSwimEffectTimer
Definition d_a_do.h:114
u8 mParam0
Definition d_a_do.h:90
dCcD_Stts mStts
Definition d_a_do.h:154
f32 mTailPhaseX
Definition d_a_do.h:132
cXyz mLookPos
Definition d_a_do.h:120
u32 mItemActorID
Definition d_a_do.h:141
mDoExt_btpAnm * mpBtp
Definition d_a_do.h:99
cXyz mScale
Definition d_a_do.h:140
u8 field_0xc58[40]
Definition d_a_do.h:173
s16 mASwimTimer
Definition d_a_do.h:127
s16 field_0x5f4
Definition d_a_do.h:109
u8 field_0x5c4[4]
Definition d_a_do.h:94
s8 mMessageState
Definition d_a_do.h:169
cXyz mTargetPos
Definition d_a_do.h:93
s8 field_0x616
Definition d_a_do.h:119
s8 mBtpReset
Definition d_a_do.h:103
u32 mShadowKey
Definition d_a_do.h:111
cXyz field_0xba4
Definition d_a_do.h:160
cXyz mHangPos
Definition d_a_do.h:138
cXyz field_0xca8
Definition d_a_do.h:178
s16 mCounter
Definition d_a_do.h:107
f32 mTailWag
Definition d_a_do.h:129
cXyz field_0xcb4
Definition d_a_do.h:179
s16 mMode
Definition d_a_do.h:110
mDoExt_btkAnm * mpBtk
Definition d_a_do.h:98
cXyz field_0xc9c
Definition d_a_do.h:177
f32 mTargetAnmSpeed
Definition d_a_do.h:106
dCcD_Sph field_0xa48
Definition d_a_do.h:156
f32 mDistFromPlayer
Definition d_a_do.h:95
s16 mTargetAngleY
Definition d_a_do.h:96
cXyz field_0xc90
Definition d_a_do.h:176
s8 mRunningSoundTimer
Definition d_a_do.h:148
bool mHIOInit
Definition d_a_do.h:180
int mAnmID
Definition d_a_do.h:104
dBgS_ObjAcch mBgS_Acch
Definition d_a_do.h:153
s16 mRandomTargetAngleY
Definition d_a_do.h:134
f32 field_0x658
Definition d_a_do.h:135
f32 mWaterY
Definition d_a_do.h:136
u8 mFoodEndTimer
Definition d_a_do.h:168
cXyz field_0xc84
Definition d_a_do.h:175
u8 mItemControlTimer
Definition d_a_do.h:151
s16 mRandomAngleY
Definition d_a_do.h:133
f32 mAnmSpeed
Definition d_a_do.h:105
f32 mHangSpeed
Definition d_a_do.h:139
s16 field_0x60c
Definition d_a_do.h:116
u8 mParam2
Definition d_a_do.h:92
s8 mFoodInMouth
Definition d_a_do.h:143
u32 mRippleKey
Definition d_a_do.h:164
dMsgFlow_c mMsg
Definition d_a_do.h:172
cXyz field_0xb98
Definition d_a_do.h:159
s16 mLookTimer
Definition d_a_do.h:121
csXyz mTailAngle
Definition d_a_do.h:128
f32 field_0x608
Definition d_a_do.h:115
Z2SoundObjSimple mSound
Definition d_a_do.h:167
csXyz mHeadBobTarget
Definition d_a_do.h:123
s16 mHeadTilt
Definition d_a_do.h:118
s16 mCcDisableTimer
Definition d_a_do.h:113
u32 mParticleKey[4]
Definition d_a_do.h:166
s8 mNoDraw
Definition d_a_do.h:144
cXyz field_0x698
Definition d_a_do.h:146
u8 field_0xbd0[4]
Definition d_a_do.h:165
csXyz mHeadBob
Definition d_a_do.h:122
csXyz mHeadAngle
Definition d_a_do.h:117
s16 mHangAngleY
Definition d_a_do.h:137
cXyz field_0xbbc
Definition d_a_do.h:162
cXyz field_0xb8c
Definition d_a_do.h:158
u32 mFoodActorID
Definition d_a_do.h:142
s16 field_0x6b0
Definition d_a_do.h:149
f32 mShakeSpeed
Definition d_a_do.h:125
cXyz field_0xbb0
Definition d_a_do.h:161
u8 mParam1
Definition d_a_do.h:91
s16 mBtpTimer
Definition d_a_do.h:102
mDoExt_McaMorf * mpMorf
Definition d_a_do.h:97
s16 mHeadBobTimer
Definition d_a_do.h:124
u8 field_0x6a4[10]
Definition d_a_do.h:147
s16 mIsTalking
Definition d_a_do.h:170
f32 field_0x6b4
Definition d_a_do.h:150
f32 mTailWagTarget
Definition d_a_do.h:130
bool field_0xc80
Definition d_a_do.h:174
cXyz field_0x68c
Definition d_a_do.h:145
dCcD_Sph mCcSph
Definition d_a_do.h:155
Definition f_op_actor.h:249
Definition m_Do_ext.h:344
daDo_Action
Definition d_a_do.h:30
@ ACT_RUN_WALK
Definition d_a_do.h:35
@ ACT_SWIM
Definition d_a_do.h:41
@ ACT_RUN
Definition d_a_do.h:34
@ ACT_SIT
Definition d_a_do.h:39
@ ACT_HANG
Definition d_a_do.h:44
@ ACT_WALK
Definition d_a_do.h:32
@ ACT_FOOD
Definition d_a_do.h:36
@ ACT_HELP
Definition d_a_do.h:42
@ ACT_WALK_RUN
Definition d_a_do.h:33
@ ACT_STAY
Definition d_a_do.h:31
@ ACT_WAIT_2
Definition d_a_do.h:38
@ ACT_WAIT_1
Definition d_a_do.h:37
@ ACT_MESSAGE
Definition d_a_do.h:46
@ ACT_BOAT
Definition d_a_do.h:43
@ ACT_A_SWIM
Definition d_a_do.h:40
@ ACT_CARRY
Definition d_a_do.h:45
daDo_Anm
Definition d_a_do.h:10
@ ANM_SWIM
Definition d_a_do.h:24
@ ANM_RUN
Definition d_a_do.h:19
@ ANM_BULBUL
Definition d_a_do.h:11
@ ANM_CARRY_B
Definition d_a_do.h:12
@ ANM_CLIFF_WT
Definition d_a_do.h:14
@ ANM_SIT
Definition d_a_do.h:20
@ ANM_WALK
Definition d_a_do.h:27
@ ANM_STEP
Definition d_a_do.h:22
@ ANM_JOYFUL
Definition d_a_do.h:18
@ ANM_DOWN_WT
Definition d_a_do.h:17
@ ANM_TO_CARRY_B
Definition d_a_do.h:25
@ ANM_CLIFF
Definition d_a_do.h:13
@ ANM_DEFEND
Definition d_a_do.h:15
@ ANM_STEP_2
Definition d_a_do.h:23
@ ANM_WAIT
Definition d_a_do.h:26
@ ANM_DOWN
Definition d_a_do.h:16
@ ANM_SIT_WAIT
Definition d_a_do.h:21
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_sekizoa.cpp:318
Definition d_a_do.h:50
f32 mWalkSpeed
Definition d_a_do.h:54
s16 mWaterHuntAnimType
Definition d_a_do.h:60
s8 field_0x04
Definition d_a_do.h:52
u8 mWaitType
Definition d_a_do.h:58
u8 mSwimming
Definition d_a_do.h:59
f32 mRunSpeed
Definition d_a_do.h:55
f32 mPlayerRecognitionDist
Definition d_a_do.h:57
f32 mBaseSize
Definition d_a_do.h:53
f32 mSwimSpeed
Definition d_a_do.h:56
u8 field_0x00[4]
Definition d_a_do.h:51
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:40
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8