Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_ne.h
Go to the documentation of this file.
1#ifndef D_A_NPC_NE_H
2#define D_A_NPC_NE_H
3
5#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
7#include "d/d_path.h"
8#include "d/d_msg_flow.h"
9#include "f_op/f_op_actor.h"
10
20public:
42
65
66 enum Behavior {
71 };
72
79
80 /* 80A92118 */ npc_ne_class();
81
83 /* 0x5B4 */ u8 mBehavior;
84 /* 0x5B5 */ u8 mTexture;
85 /* 0x5B6 */ u8 mSize;
86 /* 0x5B7 */ u8 mIsGengle;
87 /* 0x5B8 */ u8 mPathIndex;
88 /* 0x5B9 */ u8 field_0x5b9;
89 /* 0x5BC */ dPath* mpPath;
90 /* 0x5C0 */ s8 mPathPointNo;
91 /* 0x5C1 */ s8 mPathDir;
92 /* 0x5C4 */ cXyz mTargetPos;
93 /* 0x5D0 */ s16 mTargetAngleY;
94 /* 0x5D4 */ f32 mAngleYStep;
95 /* 0x5D8 */ f32 mDistToTarget;
96 /* 0x5DC */ s16 mAngleToPlayer;
97 /* 0x5E0 */ f32 mDistScale;
98 /* 0x5E4 */ char* mResName;
99 /* 0x5E8 */ mDoExt_McaMorf* mpMorf;
102 /* 0x5F4 */ s8 mBtkFrame;
103 /* 0x5F6 */ s16 mBtpFrame;
104 /* 0x5F8 */ s8 mBtpReset;
106 /* 0x600 */ cXyz mDishPos;
108 /* 0x62C */ s16 mBtpTimer;
109 /* 0x630 */ int mAnmID;
110 /* 0x634 */ u8 field_0x634[4];
111 /* 0x638 */ f32 mAnmSpeed;
112 /* 0x63C */ u8 field_0x63c[4];
113 /* 0x640 */ s16 mCounter;
114 /* 0x642 */ s16 mAction;
115 /* 0x644 */ u8 field_0x644[2];
116 /* 0x646 */ s16 mMode;
117 /* 0x648 */ u32 mShadowKey;
118 /* 0x64C */ s16 mTimers[5];
119 /* 0x656 */ s16 mCcDisableTimer;
120 /* 0x658 */ s16 mSplashTimer;
121 /* 0x65C */ f32 field_0x65c;
122 /* 0x660 */ s16 field_0x660;
123 /* 0x662 */ s16 mHeadAngleZ;
124 /* 0x664 */ s16 mHeadAngleY;
125 /* 0x666 */ s16 mHeadAngleX;
126 /* 0x668 */ s8 mLookMode;
127 /* 0x66C */ cXyz mLookTarget;
129 /* 0x67A */ s16 mLookDownTimer;
130 /* 0x67C */ s16 mLookUpTimer;
133 /* 0x682 */ s16 mNeckAngleY;
134 /* 0x684 */ s16 mTailSwayAngle[2];
135 /* 0x688 */ s16 mTailAngle;
137 /* 0x68C */ f32 mTailSway;
138 /* 0x690 */ f32 mTailSwayTarget;
139 /* 0x694 */ s16 mBackboneAngleY;
141 /* 0x698 */ u8 field_0x698[2];
142 /* 0x69A */ s16 mHeadBobAngleY;
143 /* 0x69C */ s16 mHeadBobAngleX;
144 /* 0x69E */ u8 field_0x69e[2];
147 /* 0x6A4 */ s16 mHeadBobTimer;
148 /* 0x6A6 */ u8 field_0x6a6[0x12];
149 /* 0x6B8 */ f32 field_0x6b8;
150 /* 0x6BC */ f32 mWaterY;
151 /* 0x6C0 */ u8 field_0x6c0[0x14];
152 /* 0x6D4 */ f32 field_0x6d4;
153 /* 0x6D8 */ cXyz mBaseScale;
154 /* 0x6E4 */ cXyz mClimbPos;
155 /* 0x6F0 */ s8 mCarryTimer;
156 /* 0x6F1 */ u8 field_0x6f1[7];
157 /* 0x6F8 */ s8 mSearchBall;
158 /* 0x6FC */ int mHomePathIdx;
159 /* 0x700 */ s8 mNoFollow;
160 /* 0x701 */ s8 mWantsFish;
162 /* 0x744 */ dBgS_ObjAcch mAcch;
163 /* 0x91C */ f32 mGroundY;
164 /* 0x920 */ dCcD_Stts mStts;
165 /* 0x95C */ dCcD_Sph mCcSph;
166 /* 0xA94 */ dCcD_Sph mAtSph;
167 /* 0xBCC */ s8 mAtEnable;
168 /* 0xBCD */ u8 field_0xbcd[0x27];
169 /* 0xBF4 */ f32 field_0xbf4;
170 /* 0xBF8 */ u8 field_0xbf8[8];
171 /* 0xC00 */ u32 mParticle[2];
172 /* 0xC08 */ s8 mMessageState;
173 /* 0xC09 */ s16 mIsTalking;
174 /* 0xC0C */ s16 mFlowID;
175 /* 0xC10 */ dMsgFlow_c mMsgFlow;
176 /* 0xC5C */ s16 mDemoMode;
177 /* 0xC5E */ s16 mDemoCounter;
178 /* 0xC60 */ s16 mDemoTimer;
179 /* 0xC64 */ cXyz mCameraEye1;
180 /* 0xC70 */ cXyz mCameraCenter1;
181 /* 0xC7C */ u8 field_0xc7c[0xc];
182 /* 0xC88 */ f32 mCameraFovY;
183 /* 0xC8C */ u8 field_0xc8c[4];
184 /* 0xC90 */ cXyz mDemoFishPos;
185 /* 0xC9C */ cXyz mCameraEye2;
186 /* 0xCA8 */ cXyz mCameraCenter2;
187 /* 0xCB4 */ bool field_0xcb4;
188 /* 0xCB6 */ s16 field_0xcb6;
189 /* 0xCB8 */ f32 field_0xcb8;
190 /* 0xCBC */ u32 mFishID;
191 /* 0xCC0 */ bool field_0xcc0;
192 /* 0xCC1 */ bool mHIOInit;
193};
194
195STATIC_ASSERT(sizeof(npc_ne_class) == 0xCC4);
196
198public:
199 /* 80A88CCC */ daNpc_Ne_HIO_c();
200 /* 80A92374 */ virtual ~daNpc_Ne_HIO_c() {}
201
202 /* 0x04 */ s8 field_0x04;
203 /* 0x08 */ f32 mScale;
204 /* 0x0C */ f32 mWalkSpeed;
205 /* 0x10 */ f32 mRunSpeed;
206 /* 0x14 */ f32 mSwimSpeed;
207 /* 0x18 */ u8 field_0x18;
208};
209
211
213public:
214 /* 0x0 */ int mNo;
215 /* 0x4 */ Vec mPosition;
216}; // Size: 0x10
217
218
219#endif /* D_A_NPC_NE_H */
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Definition d_a_npc_ne.h:197
f32 mScale
Definition d_a_npc_ne.h:203
virtual ~daNpc_Ne_HIO_c()
Definition d_a_npc_ne.h:200
daNpc_Ne_HIO_c()
Definition d_a_npc_ne.cpp:61
f32 mRunSpeed
Definition d_a_npc_ne.h:205
f32 mSwimSpeed
Definition d_a_npc_ne.h:206
s8 field_0x04
Definition d_a_npc_ne.h:202
u8 field_0x18
Definition d_a_npc_ne.h:207
f32 mWalkSpeed
Definition d_a_npc_ne.h:204
Definition f_op_actor.h:249
Definition m_Do_ext.h:344
Cat (Neko)
Definition d_a_npc_ne.h:19
s16 field_0xcb6
Definition d_a_npc_ne.h:188
s16 mBtpTimer
Definition d_a_npc_ne.h:108
s16 mHeadAngleZ
Definition d_a_npc_ne.h:123
u8 mBehavior
Definition d_a_npc_ne.h:83
cXyz mDishPos
Definition d_a_npc_ne.h:106
u32 mFishID
Definition d_a_npc_ne.h:190
s8 mLookMode
Definition d_a_npc_ne.h:126
u8 field_0x634[4]
Definition d_a_npc_ne.h:110
Animation
Definition d_a_npc_ne.h:43
@ ANM_WAIT
Definition d_a_npc_ne.h:62
@ ANM_RUN
Definition d_a_npc_ne.h:55
@ ANM_JUMP_END
Definition d_a_npc_ne.h:50
@ ANM_TO_CARRY_B
Definition d_a_npc_ne.h:61
@ ANM_JUMP_LOOP
Definition d_a_npc_ne.h:51
@ ANM_MILK
Definition d_a_npc_ne.h:54
@ ANM_JUMP_START
Definition d_a_npc_ne.h:52
@ ANM_EMPTY_DISH
Definition d_a_npc_ne.h:47
@ ANM_SIT_A
Definition d_a_npc_ne.h:56
@ ANM_TO_WAIT
Definition d_a_npc_ne.h:60
@ ANM_FAWN_R
Definition d_a_npc_ne.h:49
@ ANM_FAWN_L
Definition d_a_npc_ne.h:48
@ ANM_WALK
Definition d_a_npc_ne.h:63
@ ANM_JUMP_UP
Definition d_a_npc_ne.h:53
@ ANM_TO_JUMP
Definition d_a_npc_ne.h:59
@ ANM_SWIM
Definition d_a_npc_ne.h:58
@ ANM_CARRY_A
Definition d_a_npc_ne.h:44
@ ANM_SIT_B
Definition d_a_npc_ne.h:57
@ ANM_CARRY_B
Definition d_a_npc_ne.h:45
@ ANM_DRINK_DISH
Definition d_a_npc_ne.h:46
s16 mTailSwayAngle[2]
Definition d_a_npc_ne.h:134
int mHomePathIdx
Definition d_a_npc_ne.h:158
f32 mAnmSpeed
Definition d_a_npc_ne.h:111
s16 mNeckAngleY
Definition d_a_npc_ne.h:133
u8 field_0x6a6[0x12]
Definition d_a_npc_ne.h:148
f32 mAngleYStep
Definition d_a_npc_ne.h:94
f32 mGroundY
Definition d_a_npc_ne.h:163
s16 mDemoTimer
Definition d_a_npc_ne.h:178
f32 mTailSway
Definition d_a_npc_ne.h:137
dBgS_AcchCir mAcchCir
Definition d_a_npc_ne.h:161
s16 mHeadBobAngleX
Definition d_a_npc_ne.h:143
LookMode
Definition d_a_npc_ne.h:73
@ LOOK_NONE
Definition d_a_npc_ne.h:77
@ LOOK_TARGET
Definition d_a_npc_ne.h:76
@ LOOK_PLAYER
Definition d_a_npc_ne.h:75
@ LOOK_FORWARD
Definition d_a_npc_ne.h:74
s16 mHeadAngleY
Definition d_a_npc_ne.h:124
u32 mShadowKey
Definition d_a_npc_ne.h:117
dPath * mpPath
Definition d_a_npc_ne.h:89
u8 field_0xbf8[8]
Definition d_a_npc_ne.h:170
s16 mLookUpTimer
Definition d_a_npc_ne.h:130
f32 field_0x65c
Definition d_a_npc_ne.h:121
cXyz mDemoFishPos
Definition d_a_npc_ne.h:184
s8 mNoFollow
Definition d_a_npc_ne.h:159
mDoExt_btkAnm * mpBtkAnm
Definition d_a_npc_ne.h:100
s16 mHeadBobAngleY
Definition d_a_npc_ne.h:142
s16 mHeadAngleX
Definition d_a_npc_ne.h:125
u8 mTexture
Definition d_a_npc_ne.h:84
s16 mBackboneAngleY
Definition d_a_npc_ne.h:139
s16 mHeadBobTargetAngleY
Definition d_a_npc_ne.h:145
cXyz mCameraEye2
Definition d_a_npc_ne.h:185
s8 mAtEnable
Definition d_a_npc_ne.h:167
s8 mBtkFrame
Definition d_a_npc_ne.h:102
s16 mIsTalking
Definition d_a_npc_ne.h:173
f32 mCameraFovY
Definition d_a_npc_ne.h:182
s16 mLookDownTimer
Definition d_a_npc_ne.h:129
u8 mSize
Definition d_a_npc_ne.h:85
s8 mSearchBall
Definition d_a_npc_ne.h:157
f32 field_0x6b8
Definition d_a_npc_ne.h:149
bool field_0xcc0
Definition d_a_npc_ne.h:191
s8 mPathPointNo
Definition d_a_npc_ne.h:90
f32 field_0x6d4
Definition d_a_npc_ne.h:152
dCcD_Sph mCcSph
Definition d_a_npc_ne.h:165
s16 mHeadBobTargetAngleX
Definition d_a_npc_ne.h:146
cXyz mClimbPos
Definition d_a_npc_ne.h:154
s16 mCcDisableTimer
Definition d_a_npc_ne.h:119
u8 mPathIndex
Definition d_a_npc_ne.h:87
s16 mHeadTargetAngleY
Definition d_a_npc_ne.h:131
cXyz mLookTarget
Definition d_a_npc_ne.h:127
cXyz mTargetPos
Definition d_a_npc_ne.h:92
u8 field_0xbcd[0x27]
Definition d_a_npc_ne.h:168
f32 mDistToTarget
Definition d_a_npc_ne.h:95
s16 mAngleToPlayer
Definition d_a_npc_ne.h:96
s8 mWantsFish
Definition d_a_npc_ne.h:160
dBgS_ObjAcch mAcch
Definition d_a_npc_ne.h:162
f32 mTailSwayTarget
Definition d_a_npc_ne.h:138
u8 field_0x63c[4]
Definition d_a_npc_ne.h:112
s8 mMessageState
Definition d_a_npc_ne.h:172
u8 field_0x69e[2]
Definition d_a_npc_ne.h:144
s16 mSplashTimer
Definition d_a_npc_ne.h:120
s16 mMode
Definition d_a_npc_ne.h:116
u8 field_0x644[2]
Definition d_a_npc_ne.h:115
dMsgFlow_c mMsgFlow
Definition d_a_npc_ne.h:175
s16 mAction
Definition d_a_npc_ne.h:114
f32 mWaterY
Definition d_a_npc_ne.h:150
u8 field_0xc7c[0xc]
Definition d_a_npc_ne.h:181
u8 field_0x6c0[0x14]
Definition d_a_npc_ne.h:151
s8 mPathDir
Definition d_a_npc_ne.h:91
u32 mParticle[2]
Definition d_a_npc_ne.h:171
u8 mIsGengle
Definition d_a_npc_ne.h:86
s16 mTargetAngleY
Definition d_a_npc_ne.h:93
s16 mBackboneTargetAngleY
Definition d_a_npc_ne.h:140
Behavior
Definition d_a_npc_ne.h:66
@ BHV_DISH
Definition d_a_npc_ne.h:70
@ BHV_TAME
Definition d_a_npc_ne.h:68
@ BHV_PIER
Definition d_a_npc_ne.h:69
@ BHV_NONE
Definition d_a_npc_ne.h:67
npc_ne_class()
Definition d_a_npc_ne.cpp:3387
s8 mCarryTimer
Definition d_a_npc_ne.h:155
u8 field_0x698[2]
Definition d_a_npc_ne.h:141
bool field_0xcb4
Definition d_a_npc_ne.h:187
cXyz mCameraEye1
Definition d_a_npc_ne.h:179
Z2SoundObjSimple mSound
Definition d_a_npc_ne.h:107
s16 mDemoMode
Definition d_a_npc_ne.h:176
mDoExt_btpAnm * mpBtpAnm
Definition d_a_npc_ne.h:101
bool mHIOInit
Definition d_a_npc_ne.h:192
u8 field_0x6f1[7]
Definition d_a_npc_ne.h:156
u8 field_0x5b9
Definition d_a_npc_ne.h:88
f32 mDistScale
Definition d_a_npc_ne.h:97
cXyz mCameraCenter2
Definition d_a_npc_ne.h:186
s16 mTailAngle
Definition d_a_npc_ne.h:135
cXyz mBaseScale
Definition d_a_npc_ne.h:153
s16 mCounter
Definition d_a_npc_ne.h:113
char * mResName
Definition d_a_npc_ne.h:98
cXyz mCameraCenter1
Definition d_a_npc_ne.h:180
s16 mTimers[5]
Definition d_a_npc_ne.h:118
Action
Definition d_a_npc_ne.h:21
@ ACT_DISH
Definition d_a_npc_ne.h:39
@ ACT_ROOF
Definition d_a_npc_ne.h:25
@ ACT_WAIT
Definition d_a_npc_ne.h:22
@ ACT_MESSAGE
Definition d_a_npc_ne.h:38
@ ACT_PATH_WALK
Definition d_a_npc_ne.h:32
@ ACT_BIRD
Definition d_a_npc_ne.h:29
@ ACT_JUMP
Definition d_a_npc_ne.h:27
@ ACT_TAME
Definition d_a_npc_ne.h:24
@ ACT_CLIMB
Definition d_a_npc_ne.h:35
@ ACT_SANBASI
Definition d_a_npc_ne.h:31
@ ACT_SWIM
Definition d_a_npc_ne.h:33
@ ACT_DROP
Definition d_a_npc_ne.h:36
@ ACT_S_JUMP
Definition d_a_npc_ne.h:28
@ ACT_AWAY
Definition d_a_npc_ne.h:23
@ ACT_CARRY
Definition d_a_npc_ne.h:40
@ ACT_S_DROP
Definition d_a_npc_ne.h:37
@ ACT_HOME
Definition d_a_npc_ne.h:26
@ ACT_BALL
Definition d_a_npc_ne.h:30
@ ACT_OUT_SWIM
Definition d_a_npc_ne.h:34
s16 mDemoCounter
Definition d_a_npc_ne.h:177
f32 field_0xbf4
Definition d_a_npc_ne.h:169
u8 field_0xc8c[4]
Definition d_a_npc_ne.h:183
dCcD_Stts mStts
Definition d_a_npc_ne.h:164
s16 mLookNoMoveTimer
Definition d_a_npc_ne.h:128
s16 mHeadTargetAngleZ
Definition d_a_npc_ne.h:132
f32 field_0xcb8
Definition d_a_npc_ne.h:189
s16 field_0x660
Definition d_a_npc_ne.h:122
int mAnmID
Definition d_a_npc_ne.h:109
s16 mTailTargetAngle
Definition d_a_npc_ne.h:136
s16 mFlowID
Definition d_a_npc_ne.h:174
dCcD_Sph mAtSph
Definition d_a_npc_ne.h:166
s8 mBtpReset
Definition d_a_npc_ne.h:104
mDoExt_McaMorf * mpDishMorf
Definition d_a_npc_ne.h:105
s16 mHeadBobTimer
Definition d_a_npc_ne.h:147
s16 mBtpFrame
Definition d_a_npc_ne.h:103
request_of_phase_process_class mPhase
Definition d_a_npc_ne.h:82
mDoExt_McaMorf * mpMorf
Definition d_a_npc_ne.h:99
STATIC_ASSERT(sizeof(npc_ne_class)==0xCC4)
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:20
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_npc_cd2.cpp:35
Definition d_a_npc_ne.h:212
int mNo
Definition d_a_npc_ne.h:214
Vec mPosition
Definition d_a_npc_ne.h:215
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