Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_cc_d.h
Go to the documentation of this file.
1#ifndef D_CC_D_CC_D_H
2#define D_CC_D_CC_D_H
3
10#include "Z2AudioLib/Z2SeMgr.h"
11
38
49
53 /* 0xD */ dCcG_At_Spl_UNK_D = 0xD,
54};
55
59};
60
62 /* 0x0 */ u32 mGFlag;
63}; // Size: 0x4
64
66 /* 0x0 */ u8 mSe; // Sound Effect ID
67 /* 0x1 */ u8 mHitMark; // Hit Mark particle ID
68 /* 0x2 */ u8 mSpl;
69 /* 0x3 */ u8 mMtrl;
71}; // Size: 0x8
72
74 /* 0x0 */ u8 mSe; // Sound Effect ID
75 /* 0x1 */ u8 mHitMark; // Hit Mark particle ID
76 /* 0x2 */ u8 mSpl;
77 /* 0x3 */ u8 mMtrl;
79}; // Size: 0x8
80
83}; // Size: 0x4
84
86 /* 0x00 */ cCcD_SrcObj mObj;
90}; // Size: 0x30
91
95}; // Size: 0x40
96
100}; // Size: 0x54
101
102struct dCcD_SrcCyl {
104 /* 0x30 */ cM3dGCylS mCyl;
105}; // Size: 0x44
106
110}; // Size: 0x4C
111
112class dCcD_GStts : public cCcD_GStts {
113public:
114 /* 80083760 */ dCcD_GStts();
115 /* 800837F8 */ void Ct();
116 /* 80083830 */ void Move();
117 /* 8008523C */ virtual ~dCcD_GStts() {}
118 void ClrAt() { mAt = 0; }
119 void ClrTg() { mTg = 0; }
122 u8 GetRoomId() { return mRoomId; }
123 void SetRoomId(int id) { mRoomId = id; }
126 bool ChkNoActor() { return field_0x1C & 1;}
127 bool ChkNoneActorPerfTblId() { return field_0x08 == 0xFFFF; }
132 void OnNoActor() { field_0x1C |= 1; }
133
134 // private:
135 /* 0x04 */ u8 mAt;
136 /* 0x05 */ u8 mTg;
137 /* 0x06 */ u8 mRoomId;
138 /* 0x08 */ u16 field_0x08;
139 /* 0x0C */ int mAtApid;
140 /* 0x10 */ int mAtOldApid;
141 /* 0x14 */ int mTgApid;
142 /* 0x18 */ int mTgOldApid;
143 /* 0x1C */ int field_0x1C;
144}; // Size = 0x20
145
146class dCcD_Stts : public cCcD_Stts, public dCcD_GStts {
147public:
149 /* 80083850 */ virtual cCcD_GStts* GetGStts();
150 /* 80083860 */ void Init(int weight, int, fopAc_ac_c* pactor);
151 /* 800838F4 */ virtual void Ct();
152 /* 80083928 */ virtual void ClrAt();
153 /* 80083934 */ virtual void ClrTg();
154 /* 800851AC */ virtual ~dCcD_Stts() {}
155
156}; // Size = 0x3C
157
158class dCcD_GObjInf;
160
161
162// Attack/Defense/Correction Collider Common Base
164public:
165 /* 0x00 */ u32 mGFlag;
166 /* 0x04 */ u32 mRPrm;
168 /* 0x0C */ u32 mApid;
169 /* 0x10 */ fopAc_ac_c* mAc;
170 /* 0x14 */ s8 mEffCounter;
171 /* 0x18 vtable */
172
173public:
175 /* 8008364C */ void ClrActorInfo();
176 /* 80083660 */ void ct();
177 /* 80083678 */ void SetHitApid(fpc_ProcID);
178 /* 80083688 */ fopAc_ac_c* GetAc();
179 /* 80083704 */ void Set(dCcD_SrcGAtTgCoCommonBase const&);
180 /* 80083718 */ void SetEffCounterTimer();
181 /* 80083724 */ void SubtractEffCounter();
182 /* 80083748 */ bool ChkEffCounter();
183 /* 80083CA0 */ virtual ~dCcD_GAtTgCoCommonBase() {}
184
186 u32 GetGFlag() const { return mGFlag; }
187 u32 GetRPrm() const { return mRPrm; }
188 u32 MskSPrm(u32 mask) const { return mGFlag & mask; }
189 u32 MskRPrm(u32 mask) const { return mRPrm & mask; }
190 bool ChkSPrm(u32 mask) const { return MskSPrm(mask); }
191 void OnSPrm(u32 flag) { mGFlag |= flag; }
192 void OnRPrm(u32 flag) { mRPrm |= flag; }
194 void OffRPrm(u32 flag) { mRPrm &= ~flag; }
195 bool ChkRPrm(u32 flag) const { return MskRPrm(flag); }
196 void SetHitCallback(dCcD_HitCallback callback) { mHitCallback = callback; }
198 void ClrHit() { ClrActorInfo(); }
199}; // Size = 0x1C
200
201
202// Attack (At) Collider
204public:
205 /* 80083944 */ void Set(dCcD_SrcGObjAt const&);
206 /* 80083C44 */ virtual ~dCcD_GObjAt() {}
207 void SetVec(cXyz& vec) { mVec = vec; }
208 cXyz& GetVec() { return mVec; }
209 cXyz* GetVecP() { return &mVec; }
211 void SetSe(u8 se) { mSe = se; }
212 void SetMtrl(u8 mtrl) { mMtrl = mtrl; }
214 u8 GetSe() { return mSe; }
215 u8 GetSpl() { return mSpl; }
216 u8 GetMtrl() { return mMtrl; }
217 u8 GetHitMark() { return mHitMark; }
218 void SetRVec(cXyz& vec) { mRVec = vec; }
220 cXyz* GetHitPosP() { return &mHitPos; }
221
222 // private:
223 /* 0x1C */ u8 mSe;
224 /* 0x1D */ u8 mMtrl;
225 /* 0x1E */ u8 mHitMark;
226 /* 0x1F */ u8 mSpl;
227 /* 0x20 */ cXyz mHitPos;
228 /* 0x2C */ cXyz mVec;
229 /* 0x38 */ cXyz mRVec;
230}; // Size = 0x44
231
232// Defense (Tg) Collider
234public:
235 /* 800839A0 */ void Set(dCcD_SrcGObjTg const&);
236 /* 80083BE8 */ virtual ~dCcD_GObjTg() {}
237 void SetSe(u8 se) { mSe = se; }
238 void SetVec(cXyz& vec) { mVec = vec; }
239 cXyz& GetVec() { return mVec; }
241 void SetMtrl(u8 mtrl) { mMtrl = mtrl; }
242 u8 GetMtrl() { return mMtrl; }
246 u8 GetSpl() { return mSpl; }
247 u8 GetHitMark() { return mHitMark; }
248 void SetRVec(cXyz& vec) { mRVec = vec; }
249 cXyz* GetVecP() { return &mVec; }
250 cXyz* GetRVecP() { return &mRVec; }
252 cXyz* GetHitPosP() { return &mHitPos; }
253
254private:
255 /* 0x1C */ u8 mSe;
256 /* 0x1D */ u8 mMtrl;
257 /* 0x1E */ u8 mHitMark;
258 /* 0x1F */ u8 mSpl;
259 /* 0x20 */ cXyz mVec;
260 /* 0x2C */ cXyz mRVec;
261 /* 0x38 */ cXyz mHitPos;
263 /* 0x48 */ s16 mShieldRange;
264 /* 0x4A */ s16 field_0x4a;
265}; // Size = 0x4C
266
267// Correction (Co) Collider
269public:
270 /* 80083B8C */ virtual ~dCcD_GObjCo() {}
272}; // Size = 0x1C ?
273
274// Object Info
275class dCcD_GObjInf : public cCcD_GObjInf {
276public:
277 /* 80083A28 */ dCcD_GObjInf();
278 /* 800840E4 */ virtual ~dCcD_GObjInf();
279 /* 80084268 */ virtual cCcD_GObjInf* GetGObjInf();
280 /* 8008426C */ virtual void ClrAtHit();
281 /* 800842C0 */ u32 ChkAtHit();
282 /* 80084318 */ void ResetAtHit();
283 /* 80084358 */ cCcD_Obj* GetAtHitObj();
284 /* 800843A8 */ cCcD_GObjInf* GetAtHitGObj();
285 /* 800843DC */ u8 ChkAtNoGuard();
286 /* 800843FC */ virtual void ClrTgHit();
287 /* 80084460 */ u32 ChkTgHit();
288 /* 800844B8 */ void ResetTgHit();
289 /* 800844F8 */ cCcD_Obj* GetTgHitObj();
290 /* 80084548 */ dCcD_GObjInf* GetTgHitGObj();
291 /* 8008457C */ u8 GetTgHitObjSe();
292 /* 800845B0 */ static Z2SoundID getHitSeID(u8, int);
293 /* 8008460C */ virtual void ClrCoHit();
294 /* 80084658 */ u32 ChkCoHit();
295 /* 800846B0 */ void ResetCoHit();
296 /* 800846F0 */ cCcD_Obj* GetCoHitObj();
297 /* 80084740 */ void Set(dCcD_SrcGObjInf const&);
298
300
301 void SetAtVec(cXyz& vec) { mGObjAt.SetVec(vec); }
302 void SetTgVec(cXyz& vec) { mGObjTg.SetVec(vec); }
303 bool ChkAtNoMass() const { return mGObjAt.ChkSPrm(8); }
312 void OnTgStopNoConHit() { mGObjTg.OnSPrm(0x2000); }
320 bool ChkAtShieldHit() { return mGObjAt.ChkRPrm(1); }
321 cXyz* GetAtVecP() { return mGObjAt.GetVecP(); }
322 cXyz* GetTgVecP() { return mGObjTg.GetVecP(); }
327 u8 GetAtSe() { return mGObjAt.GetSe(); }
329 u8 GetAtMtrl() { return mGObjAt.GetMtrl(); }
330 u8 GetTgMtrl() { return mGObjTg.GetMtrl(); }
336 void OnTgSpShield() { mGObjTg.OnSPrm(0x40); }
337 void OffTgSpShield() { mGObjTg.OffSPrm(0x40); }
338 void OnTgShield() { mGObjTg.OnSPrm(0x1); }
339 void OffTgShield() { mGObjTg.OffSPrm(0x1); }
346 bool ChkTgIronBallRebound() { return mGObjTg.ChkSPrm(0x100); }
351 bool ChkTgShield() { return mGObjTg.ChkSPrm(1); }
352 bool ChkTgSpShield() { return mGObjTg.ChkSPrm(0x40); }
353 bool ChkTgSmallShield() { return mGObjTg.ChkSPrm(0x10); }
355 bool ChkAtNoConHit() { return mGObjAt.ChkSPrm(1); }
356 bool ChkAtStopNoConHit() { return mGObjAt.ChkSPrm(0x4); }
357 bool ChkTgNoConHit() { return mGObjTg.ChkSPrm(2); }
358 bool ChkTgStopNoConHit() { return mGObjTg.ChkSPrm(0x2000); }
360 bool ChkCoNoCamHit() { return mGObjCo.ChkSPrm(2); }
373 bool ChkCoHitNoActor() const { return mGObjCo.ChkRPrm(1); }
374 bool ChkAtHitNoActor() const { return mGObjAt.ChkRPrm(2); }
375 bool ChkTgHitNoActor() const { return mGObjTg.ChkRPrm(1); }
376 bool ChkTgWolfSpNoDamage() { return mGObjTg.ChkSPrm(0x800); }
377 bool ChkAtNoHitMark() { return mGObjAt.ChkSPrm(2); }
378 bool ChkTgNoHitMark() { return mGObjTg.ChkSPrm(4); }
379 bool ChkTgArrowThrough() { return mGObjTg.ChkSPrm(0x20); }
380 bool ChkTgHookShotNoHitMark() { return mGObjTg.ChkSPrm(0x400); }
381 bool ChkTgArrowNoHitMark() { return mGObjTg.ChkSPrm(0x1000); }
383 int GetTgHitMark() { return mGObjTg.GetHitMark(); }
384 int GetAtHitMark() { return mGObjAt.GetHitMark(); }
400 void SetTgRVec(cXyz& vec) { mGObjTg.SetRVec(vec); }
401 void SetAtRVec(cXyz& vec) { mGObjAt.SetRVec(vec); }
408 bool ChkTgHookshotThrough() { return mGObjTg.ChkSPrm(0x80); }
409 bool ChkTgShieldHit() { return mGObjTg.ChkRPrm(2); }
410
411 static const Z2SoundID m_hitSeID[24];
412
413protected:
414 /* 0x058 */ dCcD_GObjAt mGObjAt;
415 /* 0x09C */ dCcD_GObjTg mGObjTg;
416 /* 0x0E8 */ dCcD_GObjCo mGObjCo;
417}; // Size = 0x104
418
419// Cylinder
420class dCcD_Cyl : public dCcD_GObjInf, public cCcD_CylAttr {
421public:
422 /* 800848B4 */ void Set(dCcD_SrcCyl const&);
423 /* 800848F8 */ cCcD_ShapeAttr* GetShapeAttr();
424 /* 80084908 */ void StartCAt(cXyz&);
425 /* 80084954 */ void MoveCAt(cXyz&);
426 /* 800849C4 */ void MoveCTg(cXyz&);
427 /* 80084D60 */ virtual ~dCcD_Cyl() {}
429}; // Size = 0x13C
430
431// Sphere
432class dCcD_Sph : public dCcD_GObjInf, public cCcD_SphAttr {
433public:
435 /* 80084A34 */ void Set(dCcD_SrcSph const&);
436 /* 80084A78 */ void StartCAt(cXyz&);
437 /* 80084AC4 */ void MoveCAt(cXyz&);
438 /* 80084B34 */ virtual cCcD_ShapeAttr* GetShapeAttr();
439 /* 80084BF4 */ virtual ~dCcD_Sph() {}
440}; // Size = 0x138
441
442
443// Capsule
444class dCcD_Cps : public dCcD_GObjInf, public cCcD_CpsAttr {
445public:
446 /* 800847D0 */ void Set(dCcD_SrcCps const&);
447 /* 80084814 */ cCcD_ShapeAttr* GetShapeAttr();
448 /* 80084824 */ void CalcAtVec();
449 /* 80084854 */ void CalcTgVec();
450 /* 8008506C */ virtual ~dCcD_Cps() {}
452}; // Size = 0x144
453
454// Triangle
455class dCcD_Tri : public dCcD_GObjInf, public cCcD_TriAttr {
456public:
457 /* 80084884 */ void Set(dCcD_SrcTri const&);
458 /* 800848A4 */ cCcD_ShapeAttr* GetShapeAttr();
459 /* 80084EF4 */ virtual ~dCcD_Tri() {}
461};
462
464
465#endif /* D_CC_D_CC_D_H */
Z2SoundID
Definition Z2SeMgr.h:115
CcG_Tg_HitMark
Definition c_cc_d.h:14
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_cc_d.h:143
Definition c_cc_d.h:214
Definition c_cc_d.h:565
Definition c_cc_d.h:62
Definition c_cc_d.h:180
Definition c_cc_d.h:321
Definition c_cc_d.h:113
Definition d_cc_d.h:444
void Set(dCcD_SrcCps const &)
Definition d_cc_d.cpp:368
virtual ~dCcD_Cps()
Definition d_cc_d.h:450
void CalcAtVec()
Definition d_cc_d.cpp:379
void CalcTgVec()
Definition d_cc_d.cpp:385
dCcD_Cps()
Definition d_cc_d.h:451
cCcD_ShapeAttr * GetShapeAttr()
Definition d_cc_d.cpp:374
Definition d_cc_d.h:163
void OffSPrm(u32 flag)
Definition d_cc_d.h:193
fopAc_ac_c * mAc
Definition d_cc_d.h:169
void Set(dCcD_SrcGAtTgCoCommonBase const &)
Definition d_cc_d.cpp:46
u32 mRPrm
Definition d_cc_d.h:166
u32 MskSPrm(u32 mask) const
Definition d_cc_d.h:188
void SetHitCallback(dCcD_HitCallback callback)
Definition d_cc_d.h:196
void ct()
Definition d_cc_d.cpp:17
virtual ~dCcD_GAtTgCoCommonBase()
Definition d_cc_d.h:183
fopAc_ac_c * GetAc()
Definition d_cc_d.cpp:31
u32 mApid
Definition d_cc_d.h:168
void SetEffCounterTimer()
Definition d_cc_d.cpp:53
void ClrActorInfo()
Definition d_cc_d.cpp:11
void SetHitApid(fpc_ProcID)
Definition d_cc_d.cpp:25
dCcD_HitCallback GetHitCallback()
Definition d_cc_d.h:197
void SubtractEffCounter()
Definition d_cc_d.cpp:59
void ClrEffCounter()
Definition d_cc_d.h:185
dCcD_HitCallback mHitCallback
Definition d_cc_d.h:167
void ClrHit()
Definition d_cc_d.h:198
void OffRPrm(u32 flag)
Definition d_cc_d.h:194
s8 mEffCounter
Definition d_cc_d.h:170
bool ChkSPrm(u32 mask) const
Definition d_cc_d.h:190
dCcD_GAtTgCoCommonBase()
Definition d_cc_d.h:174
u32 MskRPrm(u32 mask) const
Definition d_cc_d.h:189
bool ChkEffCounter()
Definition d_cc_d.cpp:67
u32 mGFlag
Definition d_cc_d.h:165
void OnSPrm(u32 flag)
Definition d_cc_d.h:191
u32 GetRPrm() const
Definition d_cc_d.h:187
u32 GetGFlag() const
Definition d_cc_d.h:186
bool ChkRPrm(u32 flag) const
Definition d_cc_d.h:195
void OnRPrm(u32 flag)
Definition d_cc_d.h:192
Definition d_cc_d.h:203
cXyz mVec
Definition d_cc_d.h:228
cXyz * GetVecP()
Definition d_cc_d.h:209
void SetAtSpl(dCcG_At_Spl spl)
Definition d_cc_d.h:213
void SetVec(cXyz &vec)
Definition d_cc_d.h:207
cXyz mRVec
Definition d_cc_d.h:229
u8 mHitMark
Definition d_cc_d.h:225
void Set(dCcD_SrcGObjAt const &)
Definition d_cc_d.cpp:155
u8 GetMtrl()
Definition d_cc_d.h:216
u8 GetSpl()
Definition d_cc_d.h:215
void SetSe(u8 se)
Definition d_cc_d.h:211
void SetHitPos(cXyz &pos)
Definition d_cc_d.h:219
u8 mMtrl
Definition d_cc_d.h:224
virtual ~dCcD_GObjAt()
Definition d_cc_d.h:206
void SetMtrl(u8 mtrl)
Definition d_cc_d.h:212
cXyz * GetHitPosP()
Definition d_cc_d.h:220
u8 GetSe()
Definition d_cc_d.h:214
u8 mSe
Definition d_cc_d.h:223
u8 GetHitMark()
Definition d_cc_d.h:217
cXyz & GetVec()
Definition d_cc_d.h:208
cXyz mHitPos
Definition d_cc_d.h:227
void SetHitMark(u8 mark)
Definition d_cc_d.h:210
u8 mSpl
Definition d_cc_d.h:226
void SetRVec(cXyz &vec)
Definition d_cc_d.h:218
Definition d_cc_d.h:268
void Set(dCcD_SrcGObjCo const &pSrc)
Definition d_cc_d.h:271
virtual ~dCcD_GObjCo()
Definition d_cc_d.h:270
Definition d_cc_d.h:233
void SetHitMark(CcG_Tg_HitMark mark)
Definition d_cc_d.h:243
cXyz mHitPos
Definition d_cc_d.h:261
u8 GetMtrl()
Definition d_cc_d.h:242
u8 mSe
Definition d_cc_d.h:255
cXyz & GetVec()
Definition d_cc_d.h:239
cXyz * GetHitPosP()
Definition d_cc_d.h:252
void SetShieldFrontRangeYAngle(s16 *angle)
Definition d_cc_d.h:240
u8 mSpl
Definition d_cc_d.h:258
cXyz * GetRVecP()
Definition d_cc_d.h:250
u8 mHitMark
Definition d_cc_d.h:257
s16 GetShieldRange()
Definition d_cc_d.h:245
virtual ~dCcD_GObjTg()
Definition d_cc_d.h:236
void SetSe(u8 se)
Definition d_cc_d.h:237
s16 mShieldRange
Definition d_cc_d.h:263
cXyz * GetVecP()
Definition d_cc_d.h:249
s16 * GetShieldFrontRangeYAngle()
Definition d_cc_d.h:244
void SetMtrl(u8 mtrl)
Definition d_cc_d.h:241
void SetVec(cXyz &vec)
Definition d_cc_d.h:238
u8 GetHitMark()
Definition d_cc_d.h:247
cXyz mRVec
Definition d_cc_d.h:260
u8 mMtrl
Definition d_cc_d.h:256
cXyz mVec
Definition d_cc_d.h:259
void SetHitPos(cXyz &pos)
Definition d_cc_d.h:251
void SetRVec(cXyz &vec)
Definition d_cc_d.h:248
u8 GetSpl()
Definition d_cc_d.h:246
s16 * mShieldFrontRangeYAngle
Definition d_cc_d.h:262
s16 field_0x4a
Definition d_cc_d.h:264
void Set(dCcD_SrcGObjTg const &)
Definition d_cc_d.cpp:164
Definition d_cc_d.h:432
void StartCAt(cXyz &)
Definition d_cc_d.cpp:443
virtual ~dCcD_Sph()
Definition d_cc_d.h:439
void Set(dCcD_SrcSph const &)
Definition d_cc_d.cpp:437
virtual cCcD_ShapeAttr * GetShapeAttr()
Definition d_cc_d.cpp:457
void MoveCAt(cXyz &)
Definition d_cc_d.cpp:450
dCcD_Sph()
Definition d_cc_d.h:434
Definition d_cc_d.h:455
dCcD_Tri()
Definition d_cc_d.h:460
void Set(dCcD_SrcTri const &)
Definition d_cc_d.cpp:391
cCcD_ShapeAttr * GetShapeAttr()
Definition d_cc_d.cpp:396
virtual ~dCcD_Tri()
Definition d_cc_d.h:459
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
static u8 angle[2+2]
Definition d_a_obj_kago.cpp:845
static u8 pos[12]
Definition d_a_obj_kago.cpp:839
dCcD_Material
Definition d_cc_d.h:39
@ dCcD_MTRL_UNK_6
Definition d_cc_d.h:46
@ dCcD_MTRL_ICE
Definition d_cc_d.h:42
@ dCcD_MTRL_WIND
Definition d_cc_d.h:43
@ dCcD_MTRL_UNK_5
Definition d_cc_d.h:45
@ dCcD_MTRL_UNK_7
Definition d_cc_d.h:47
@ dCcD_MTRL_LIGHT
Definition d_cc_d.h:44
@ dCcD_MTRL_FIRE
Definition d_cc_d.h:41
@ dCcD_MTRL_NONE
Definition d_cc_d.h:40
dCcD_hitSe
Definition d_cc_d.h:12
@ dCcD_SE_SPINNER
Definition d_cc_d.h:32
@ dCcD_SE_15
Definition d_cc_d.h:28
@ dCcD_SE_METAL
Definition d_cc_d.h:22
@ dCcD_SE_HARD_BODY
Definition d_cc_d.h:24
@ dCcD_SE_SWORD_RUN
Definition d_cc_d.h:29
@ dCcD_SE_STONE
Definition d_cc_d.h:23
@ dCcD_SE_SWORD
Definition d_cc_d.h:14
@ dCcD_SE_23
Definition d_cc_d.h:36
@ dCcD_SE_17
Definition d_cc_d.h:30
@ dCcD_SE_SWORD_STAB
Definition d_cc_d.h:27
@ dCcD_SE_NONE
Definition d_cc_d.h:13
@ dCcD_SE_ARROW_STICK
Definition d_cc_d.h:20
@ dCcD_SE_STATUE_HAMMER
Definition d_cc_d.h:34
@ dCcD_SE_13
Definition d_cc_d.h:26
@ dCcD_SE_PACHINKO
Definition d_cc_d.h:35
@ dCcD_SE_HAMMER
Definition d_cc_d.h:19
@ dCcD_SE_SHIELD_ATTACK
Definition d_cc_d.h:15
@ dCcD_SE_COPYROD
Definition d_cc_d.h:33
@ dCcD_SE_SOFT_BODY
Definition d_cc_d.h:25
@ dCcD_SE_WOLF_BITE
Definition d_cc_d.h:17
@ dCcD_SE_HOOKSHOT_STICK
Definition d_cc_d.h:21
@ dCcD_SE_WOOD
Definition d_cc_d.h:18
@ dCcD_SE_THROW_OBJ
Definition d_cc_d.h:31
@ dCcD_SE_WOLF_KICK
Definition d_cc_d.h:16
dCcG_At_Spl
Definition d_cc_d.h:50
@ dCcG_At_Spl_UNK_D
Definition d_cc_d.h:53
@ dCcG_At_Spl_UNK_1
Definition d_cc_d.h:52
@ dCcG_At_Spl_UNK_0
Definition d_cc_d.h:51
void(* dCcD_HitCallback)(fopAc_ac_c *i_actorA, dCcD_GObjInf *i_objInfA, fopAc_ac_c *i_actorB, dCcD_GObjInf *i_objInfB)
Definition d_cc_d.h:159
dCcD_GObjInf * dCcD_GetGObjInf(cCcD_Obj *param_0)
Definition d_cc_d.cpp:363
dCcG_Tg_Spl
Definition d_cc_d.h:56
@ dCcG_Tg_Spl_UNK_1
Definition d_cc_d.h:58
@ dCcG_Tg_Spl_UNK_0
Definition d_cc_d.h:57
static volatile BOOL flag
Definition dspproc.cpp:20
unsigned int fpc_ProcID
Definition f_pc_base.h:10
Definition d_a_npc_fguard.cpp:147
Definition d_a_npc_fguard.cpp:141
Definition c_cc_d.h:139
Definition c_cc_d.h:308
Definition c_cc_d.h:176
Definition c_cc_d.h:109
Definition c_m3d_g_cyl.h:9
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:86
void StartCAt(cXyz &)
Definition d_cc_d.cpp:413
virtual ~dCcD_Cyl()
Definition d_cc_d.h:427
void Set(dCcD_SrcCyl const &)
void MoveCTg(cXyz &)
Definition d_cc_d.cpp:428
dCcD_Cyl()
Definition d_cc_d.h:428
cCcD_ShapeAttr * GetShapeAttr()
Definition d_cc_d.cpp:408
void MoveCAt(cXyz &)
Definition d_cc_d.cpp:420
Definition d_a_npc_fguard.cpp:81
void OnTgShieldHit()
Definition d_cc_d.h:395
void OffAtHitNoActor()
Definition d_cc_d.h:370
u8 GetAtSe()
Definition d_cc_d.h:327
fopAc_ac_c * GetCoHitAc()
Definition d_cc_d.h:299
void Set(dCcD_SrcGObjInf const &)
Definition d_cc_d.cpp:355
cCcD_GObjInf * GetAtHitGObj()
Definition d_cc_d.cpp:220
bool ChkAtEffCounter()
Definition d_cc_d.h:385
void getHitSeID(u8, int)
Definition d_cc_d.cpp:305
void OffTgSmallShield()
Definition d_cc_d.h:343
cXyz * GetAtHitPosP()
Definition d_cc_d.h:405
bool ChkTgHookShotNoHitMark()
Definition d_cc_d.h:380
void SetTgShieldFrontRangeYAngle(s16 *angle)
Definition d_cc_d.h:332
void OnTgStopNoConHit()
Definition d_cc_d.h:312
dCcD_GObjCo mGObjCo
Definition d_cc_d.h:416
dCcD_GObjAt mGObjAt
Definition d_cc_d.h:414
void OffTgNoHitMark()
Definition d_cc_d.h:307
bool ChkCoHitNoActor() const
Definition d_cc_d.h:373
void OffTgIronBallRebound()
Definition d_cc_d.h:345
dCcG_Tg_Spl GetTgSpl()
Definition d_cc_d.h:382
int GetAtHitMark()
Definition d_cc_d.h:384
dCcD_HitCallback GetCoHitCallback()
Definition d_cc_d.h:361
bool ChkTgHookshotThrough()
Definition d_cc_d.h:408
dCcD_HitCallback GetAtHitCallback()
Definition d_cc_d.h:362
bool ChkTgEffCounter()
Definition d_cc_d.h:386
bool ChkTgSpShield()
Definition d_cc_d.h:352
bool ChkTgHitNoActor() const
Definition d_cc_d.h:375
bool ChkTgShield()
Definition d_cc_d.h:351
bool ChkTgIronBallRebound()
Definition d_cc_d.h:346
void SetAtVec(cXyz &vec)
Definition d_cc_d.h:301
void OnTgSpShield()
Definition d_cc_d.h:336
void OffTgStopNoConHit()
Definition d_cc_d.h:313
cCcD_Obj * GetCoHitObj()
u32 GetTgHitObjHitSeID(int i_soundID)
Definition d_cc_d.h:404
void ClrCoEffCounter()
Definition d_cc_d.h:389
void OnTgSmallShield()
Definition d_cc_d.h:342
bool ChkAtNoConHit()
Definition d_cc_d.h:355
void SetAtSpl(dCcG_At_Spl spl)
Definition d_cc_d.h:323
cXyz * GetTgVecP()
Definition d_cc_d.h:322
void SetAtEffCounterTimer()
Definition d_cc_d.h:390
u8 GetAtMtrl()
Definition d_cc_d.h:329
void SetCoHitCallback(dCcD_HitCallback callback)
Definition d_cc_d.h:326
void SetTgHitApid(fpc_ProcID apid)
Definition d_cc_d.h:366
void OffAtShieldHit()
Definition d_cc_d.h:398
bool ChkAtHitNoActor() const
Definition d_cc_d.h:374
void SetAtMtrl(u8 mtrl)
Definition d_cc_d.h:317
void ResetAtHit()
Definition d_cc_d.cpp:205
virtual ~dCcD_GObjInf()
void OnAtNoConHit()
Definition d_cc_d.h:308
void SetTgEffCounterTimer()
Definition d_cc_d.h:391
bool ChkTgSmallShield()
Definition d_cc_d.h:353
void SetTgHitMark(CcG_Tg_HitMark mark)
Definition d_cc_d.h:335
fopAc_ac_c * GetAtHitAc()
Definition d_cc_d.h:319
bool ChkCoNoCamHit()
Definition d_cc_d.h:360
void OffAtNoConHit()
Definition d_cc_d.h:309
virtual void ClrCoHit()
Definition d_cc_d.cpp:321
void SubtractAtEffCounter()
Definition d_cc_d.h:392
s16 * GetTgShieldFrontRangeYAngle()
Definition d_cc_d.h:349
cCcD_Obj * GetAtHitObj()
Definition d_cc_d.cpp:211
void OffTgMagneHit()
Definition d_cc_d.h:399
virtual void ClrAtHit()
Definition d_cc_d.cpp:185
void ClrTgEffCounter()
Definition d_cc_d.h:388
void OffTgHitNoActor()
Definition d_cc_d.h:372
void ResetCoHit()
Definition d_cc_d.cpp:340
fopAc_ac_c * GetTgHitAc()
Definition d_cc_d.h:331
void OnTgShield()
Definition d_cc_d.h:338
void SetTgVec(cXyz &vec)
Definition d_cc_d.h:302
void SetCoHitApid(fpc_ProcID apid)
Definition d_cc_d.h:364
bool ChkTgNoConHit()
Definition d_cc_d.h:357
u8 GetTgMtrl()
Definition d_cc_d.h:330
dCcG_At_Spl GetAtSpl()
Definition d_cc_d.h:328
bool ChkTgStopNoConHit()
Definition d_cc_d.h:358
bool ChkAtNoHitMark()
Definition d_cc_d.h:377
void OnTgSpinnerReflect()
Definition d_cc_d.h:347
s16 GetTgShieldRange()
Definition d_cc_d.h:350
void SetAtSe(u8 se)
Definition d_cc_d.h:315
void SetTgHitCallback(dCcD_HitCallback callback)
Definition d_cc_d.h:325
void OnTgIronBallRebound()
Definition d_cc_d.h:344
u32 ChkAtHit()
Definition d_cc_d.cpp:194
void SetAtHitPos(cXyz &pos)
Definition d_cc_d.h:403
u8 GetTgHitObjSe()
bool ChkAtStopNoConHit()
Definition d_cc_d.h:356
void OffTgNoConHit()
Definition d_cc_d.h:311
cXyz * GetTgHitPosP()
Definition d_cc_d.h:406
bool ChkAtShieldHit()
Definition d_cc_d.h:320
void OffCoHitNoActor()
Definition d_cc_d.h:368
dCcD_GObjInf * GetTgHitGObj()
Definition d_cc_d.cpp:272
void ClrAtEffCounter()
Definition d_cc_d.h:387
void OnTgShieldFrontRange()
Definition d_cc_d.h:340
void SubtractTgEffCounter()
Definition d_cc_d.h:393
void OffAtNoHitMark()
Definition d_cc_d.h:305
bool ChkTgWolfSpNoDamage()
Definition d_cc_d.h:376
void OffTgSpShield()
Definition d_cc_d.h:337
virtual void ClrTgHit()
Definition d_cc_d.cpp:235
void SetAtRVec(cXyz &vec)
Definition d_cc_d.h:401
void SubtractCoEffCounter()
Definition d_cc_d.h:394
void SetAtHitMark(u8 mark)
Definition d_cc_d.h:314
cXyz * GetTgRVecP()
Definition d_cc_d.h:407
static Z2SoundID getHitSeID(u8, int)
dCcD_HitCallback GetTgHitCallback()
Definition d_cc_d.h:363
void SetTgSe(u8 se)
Definition d_cc_d.h:316
void SetTgMtrl(u8 mtrl)
Definition d_cc_d.h:318
bool ChkTgShieldHit()
Definition d_cc_d.h:409
void OnTgWolfSpNoDamage()
Definition d_cc_d.h:334
int GetTgHitMark()
Definition d_cc_d.h:383
void ResetTgHit()
Definition d_cc_d.cpp:256
static const Z2SoundID m_hitSeID[24]
Definition d_cc_d.h:293
void OffTgSpinnerReflect()
Definition d_cc_d.h:348
void OnTgHitNoActor()
Definition d_cc_d.h:371
virtual cCcD_GObjInf * GetGObjInf()
Definition d_cc_d.cpp:180
bool ChkAtNoMass() const
Definition d_cc_d.h:303
void OnCoNoCamHit()
Definition d_cc_d.h:359
bool ChkTgArrowNoHitMark()
Definition d_cc_d.h:381
void SetTgHitPos(cXyz &pos)
Definition d_cc_d.h:402
void OffTgShield()
Definition d_cc_d.h:339
void OnAtShieldHit()
Definition d_cc_d.h:397
void OnTgNoHitMark()
Definition d_cc_d.h:306
bool ChkTgArrowThrough()
Definition d_cc_d.h:379
void OnAtHitNoActor()
Definition d_cc_d.h:369
void OffTgShieldFrontRange()
Definition d_cc_d.h:341
void SetAtHitApid(fpc_ProcID apid)
Definition d_cc_d.h:365
void OnCoHitNoActor()
Definition d_cc_d.h:367
void OnAtNoHitMark()
Definition d_cc_d.h:304
cCcD_Obj * GetTgHitObj()
Definition d_cc_d.cpp:263
void OnTgNoConHit()
Definition d_cc_d.h:310
void SetAtHitCallback(dCcD_HitCallback callback)
Definition d_cc_d.h:324
bool ChkTgNoHitMark()
Definition d_cc_d.h:378
dCcD_GObjTg mGObjTg
Definition d_cc_d.h:415
void OffTgShieldHit()
Definition d_cc_d.h:396
void SetTgRVec(cXyz &vec)
Definition d_cc_d.h:400
u8 ChkAtNoGuard()
Definition d_cc_d.cpp:230
void OffTgWolfSpNoDamage()
Definition d_cc_d.h:333
cXyz * GetAtVecP()
Definition d_cc_d.h:321
bool ChkTgShieldFrontRange()
Definition d_cc_d.h:354
Definition d_a_npc_fguard.cpp:76
void Move()
Definition d_cc_d.cpp:98
u8 GetRoomId()
Definition d_cc_d.h:122
dCcG_At_Spl GetAtSpl()
Definition d_cc_d.h:128
void SetTgSpl(dCcG_Tg_Spl spl)
Definition d_cc_d.h:131
void ClrAt()
Definition d_cc_d.h:118
void OnNoActor()
Definition d_cc_d.h:132
bool ChkNoneActorPerfTblId()
Definition d_cc_d.h:127
u8 mAt
Definition d_cc_d.h:135
fpc_ProcID GetTgOldApid()
Definition d_cc_d.h:125
int mAtApid
Definition d_cc_d.h:139
u8 mTg
Definition d_cc_d.h:136
void SetTgApid(fpc_ProcID id)
Definition d_cc_d.h:121
u8 mRoomId
Definition d_cc_d.h:137
virtual ~dCcD_GStts()
Definition d_cc_d.h:117
dCcG_Tg_Spl GetTgSpl()
Definition d_cc_d.h:130
void ClrTg()
Definition d_cc_d.h:119
u16 field_0x08
Definition d_cc_d.h:138
fpc_ProcID GetAtOldApid()
Definition d_cc_d.h:124
bool ChkNoActor()
Definition d_cc_d.h:126
void Ct()
Definition d_cc_d.cpp:85
int mTgOldApid
Definition d_cc_d.h:142
void SetAtSpl(dCcG_At_Spl spl)
Definition d_cc_d.h:129
int mTgApid
Definition d_cc_d.h:141
void SetAtApid(fpc_ProcID id)
Definition d_cc_d.h:120
int mAtOldApid
Definition d_cc_d.h:140
int field_0x1C
Definition d_cc_d.h:143
void SetRoomId(int id)
Definition d_cc_d.h:123
Definition d_cc_d.h:107
dCcD_SrcGObjInf mObjInf
Definition d_cc_d.h:108
cCcD_SrcCpsAttr mCpsAttr
Definition d_cc_d.h:109
Definition d_a_npc_fguard.cpp:74
dCcD_SrcGObjInf mObjInf
Definition d_cc_d.h:103
cM3dGCylS mCyl
Definition d_cc_d.h:104
Definition d_cc_d.h:61
u32 mGFlag
Definition d_cc_d.h:62
Definition d_cc_d.h:65
u8 mSe
Definition d_cc_d.h:66
u8 mMtrl
Definition d_cc_d.h:69
dCcD_SrcGAtTgCoCommonBase mBase
Definition d_cc_d.h:70
u8 mHitMark
Definition d_cc_d.h:67
u8 mSpl
Definition d_cc_d.h:68
Definition d_cc_d.h:81
dCcD_SrcGAtTgCoCommonBase mBase
Definition d_cc_d.h:82
Definition d_cc_d.h:85
dCcD_SrcGObjCo mGObjCo
Definition d_cc_d.h:89
dCcD_SrcGObjAt mGObjAt
Definition d_cc_d.h:87
dCcD_SrcGObjTg mGObjTg
Definition d_cc_d.h:88
cCcD_SrcObj mObj
Definition d_cc_d.h:86
Definition d_cc_d.h:73
dCcD_SrcGAtTgCoCommonBase mBase
Definition d_cc_d.h:78
u8 mHitMark
Definition d_cc_d.h:75
u8 mMtrl
Definition d_cc_d.h:77
u8 mSpl
Definition d_cc_d.h:76
u8 mSe
Definition d_cc_d.h:74
Definition d_cc_d.h:92
dCcD_SrcGObjInf mObjInf
Definition d_cc_d.h:93
cCcD_SrcSphAttr mSphAttr
Definition d_cc_d.h:94
Definition d_cc_d.h:97
dCcD_SrcGObjInf mObjInf
Definition d_cc_d.h:98
cCcD_SrcTriAttr mTriAttr
Definition d_cc_d.h:99
Definition d_a_npc_fguard.cpp:70
virtual void Ct()
Definition d_cc_d.cpp:137
virtual cCcD_GStts * GetGStts()
Definition d_cc_d.cpp:106
virtual void ClrAt()
Definition d_cc_d.cpp:143
virtual ~dCcD_Stts()
Definition d_cc_d.h:154
void Init(int weight, int, fopAc_ac_c *pactor)
virtual void ClrTg()
Definition d_cc_d.cpp:149
dCcD_Stts()
Definition d_cc_d.h:148
Definition d_a_ep.cpp:19
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8