Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc.h
Go to the documentation of this file.
1#ifndef D_A_D_A_NPC_H
2#define D_A_D_A_NPC_H
3
8#include "d/d_path.h"
9#include "d/d_msg_flow.h"
10#include "d/d_particle_copoly.h"
11#include "global.h"
12
13struct daNpc_GetParam1 { // name unknown
14 /* 0x0 */ int fileIdx;
15 /* 0x4 */ int arcIdx;
16};
17
18struct daNpc_GetParam2 { // name unknown
19 /* 0x0 */ int fileIdx;
20 /* 0x4 */ int attr;
21 /* 0x8 */ int arcIdx;
22};
23
24struct dPnt : public dStage_dPnt_c {};
25
27private:
28 /* 0x0 */ u32 mActorID;
29
30public:
31 /* 801456D4 */ void initialize();
32 /* 801456E0 */ void entry(fopAc_ac_c*);
33 /* 801456FC */ void remove();
34 /* 80145708 */ fopAc_ac_c* getActorP();
35
37
38 /* 8014D108 */ virtual ~daNpcT_ActorMngr_c() {}
39};
40
41class daNpcT_MatAnm_c : public J3DMaterialAnm {
42private:
43 /* 0x0F4 */ mutable f32 field_0xF4;
44 /* 0x0F8 */ mutable f32 field_0xF8;
45 /* 0x0FC */ f32 mTranslationX;
46 /* 0x100 */ f32 mTranslationY;
47 /* 0x104 */ u8 field_0x104;
48 /* 0x105 */ u8 field_0x105;
49
50public:
52 /* 80145764 */ void initialize();
53 /* 80145788 */ virtual void calc(J3DMaterial*) const;
54 /* 8014D24C */ ~daNpcT_MatAnm_c();
55};
56
58public:
59 class sequenceStepData_c {
60 public:
64 }; // Size: 0x4?
65
66 /* 80145898 */ void initialize();
67 /* 801458C0 */ int play(u16, int*, f32*);
68 /* 80145A24 */ s32 checkEndSequence();
69
74
75 bool checkEntryNewMotion() { return mStepNo == 0 && field_0x14 == -1; }
76 int getNo() { return mNo; }
77 int getStepNo() { return mStepNo; }
78 void setNo(int param_1, f32 param_2, int param_3, int param_4) {
79 int newNo = param_4 + param_1;
80 if (param_1 >= 0 && (param_3 != 0 || newNo != mNo)) {
81 int offset = mOffset;
82 initialize();
83 mOffset = offset;
84 mNo = newNo;
86 }
87 }
88
89private:
90 /* 0x00 */ sequenceStepData_c const* mpSeqData;
91 /* 0x04 */ int field_0x4;
92 /* 0x08 */ int mNo;
93 /* 0x0C */ int mOffset;
94 /* 0x10 */ int mStepNo;
95 /* 0x14 */ int field_0x14;
96 /* 0x18 */ f32 field_0x18;
97 /* 0x1C */ bool mEndSequence;
98
99public:
100 /* 8014D0C0 */ virtual ~daNpcT_MotionSeqMngr_c() {}
101};
102
103class daNpcT_JntAnm_c {
104private:
106 /* 0x008 */ cXyz field_0x8;
107 /* 0x014 */ cXyz field_0x14;
108 /* 0x020 */ cXyz* field_0x20;
109 /* 0x024 */ cXyz field_0x24;
110 /* 0x030 */ cXyz field_0x30[3];
111 /* 0x054 */ cXyz field_0x54[3];
112 /* 0x078 */ cXyz field_0x78[3];
113 /* 0x09C */ cXyz field_0x9c[3];
114 /* 0x0C0 */ cXyz mRad[3];
115 /* 0x0E4 */ cXyz field_0xe4[3];
116 /* 0x108 */ cXyz field_0x108;
117 /* 0x114 */ cXyz field_0x114;
118 /* 0x120 */ cXyz field_0x120;
119 /* 0x12C */ csXyz mEyeAngle;
120 /* 0x132 */ csXyz field_0x132;
121 /* 0x138 */ int mMode;
122 /* 0x13C */ u8 field_0x13c[4];
123 /* 0x140 */ int field_0x140;
124 /* 0x144 */ u8 field_0x144[4];
125 /* 0x148 */ f32 field_0x148;
126 /* 0x14C */ f32 field_0x14c;
127 /* 0x150 */ csXyz field_0x150;
128 /* 0x156 */ u8 field_0x156;
129 /* 0x157 */ u8 mDirectFlag;
130 /* 0x158 */ u8 field_0x158;
131
132public:
133 /* 80146C98 */ void initialize();
134 /* 80146CD8 */ void setParam(fopAc_ac_c*, J3DModel*, cXyz*, int, int, int, f32, f32, f32, f32,
135 f32, f32, f32, f32, f32, f32, cXyz*);
136 /* 80147858 */ void calc(f32);
137 /* 80147C38 */ void calcJntRad(f32, f32, f32);
140 s16 sVar3 = 0;
141 if (field_0x20 != NULL) {
143 sVar3 = -cM_atan2s(cStack_50.y, cStack_50.absXZ());
144 sVar3 += param_3;
145 }
147 mEyeAngle.x = field_0x132.x * (1.0f - 1.0f / param_2) +
148 sVar3 * (1.0f / param_2);
149 }
150
151 void setEyeAngleY(cXyz param_1, s16 param_2, int param_3, f32 param_4, s16 param_5) {
153 s16 sVar3 = 0;
154 if (field_0x20 != NULL) {
157 sVar3 -= param_2;
158 s16 diff = field_0x150.y - param_2;
159 sVar3 -= diff;
160 sVar3 += param_5;
161 }
162 if (param_3 != 0) {
163 sVar3 = -sVar3;
164 }
165 mEyeAngle.y = field_0x132.y * (1.0f - 1.0f / param_4) +
166 sVar3 * (1.0f / param_4);
167 }
168
170 initialize();
171 }
172 /* 8014D150 */ virtual ~daNpcT_JntAnm_c() {}
173
175 int getMode() { return mMode; }
176
177 int setMode(int mode, int param_2) {
178 if (mode >= 0 && (param_2 != 0 || mode != mMode)) {
181 field_0x14c = 0.0f;
182 mDirectFlag = 0;
183 mMode = mode;
184 return 1;
185 }
186 return 0;
187 }
188
190 if (isDirect != 0) {
191 mEyeAngle.x = 0;
192 mEyeAngle.y = 0;
193 }
195 }
196
198 setMode(0, 0);
200 }
201
203 setMode(1, 0);
205 }
206
208 setMode(4, 0);
210 }
211
219};
220
222public:
223 /* 80147DCC */ void setParam(fopAc_ac_c*, fopAc_ac_c*, s16);
224 /* 80147E3C */ void calc(int);
225
226 void initialize() {
227 for (int i = 0; i < 2; i++) {
228 field_0x0[i].setall(0);
229 field_0xc[i] = 0.0f;
230 }
231 mStagger = 0;
232 field_0x16 = 0;
233 mRebirth = 0;
234 }
235
236 int checkStagger() { return mStagger != 0; }
237
238 s16 getAngleX(int idx) { return field_0x0[idx].x; }
239 s16 getAngleZ(int idx) { return field_0x0[idx].z; }
240 int checkRebirth() { return mRebirth; }
241
242private:
243 /* 0x00 */ csXyz field_0x0[2];
244 /* 0x0C */ f32 field_0xc[2];
245 /* 0x14 */ s16 mStagger;
246 /* 0x16 */ s16 field_0x16;
247 /* 0x18 */ bool mRebirth;
248};
249
250struct daNpcT_evtData_c {
251 const char* eventName;
252 int num;
253};
254
258};
259
261
265};
266
268public:
269 /* 0x00 */ f32 field_0x00;
270 /* 0x04 */ cXyz mPosition;
271 /* 0x10 */ f32 field_0x10;
272
273 /* 8014CBAC */ virtual ~daNpcT_Hermite_c() {}
274
275 // constants might be wrong, regalloc
279 f32 cubed = param_1 * sqr;
280 mPosition.x = 1.0f + (2.0f * cubed - 3.0f * sqr);
281 mPosition.y = 4.0f * cubed + 3.0f * sqr;
282 mPosition.z = param_1 + (cubed - 2.0f * sqr);
283 field_0x10 = cubed - sqr;
284 }
285};
286
287class daNpcT_Path_c {
288public:
289 /* 0x00 */ dPath* mpRoomPath;
290 /* 0x04 */ cXyz mPosition;
291 /* 0x10 */ f32 field_0x10;
292 /* 0x14 */ f32 field_0x14;
293 /* 0x18 */ f32 field_0x18;
294 /* 0x1C */ u16 mIdx;
295 /* 0x1E */ u16 field_0x1E;
296 /* 0x20 */ u8 mDirection;
297 /* 0x21 */ u8 mIsClosed;
298
299 /* 80145B7C */ void hermite(cXyz&, cXyz&, cXyz&, cXyz&, daNpcT_Hermite_c&, cXyz&);
300 /* 80145C40 */ void initialize();
301 /* 80145C74 */ int setPathInfo(u8, s8, u8);
302 /* 80145D2C */ int setNextPathInfo(s8, u8);
303 /* 80145DA0 */ void reverse();
304 /* 80145DD0 */ int setNextIdx(int);
305 /* 80145E38 */ int getDstPos(cXyz, cXyz*, int);
306 /* 80145FB4 */ int getDstPosH(cXyz, cXyz*, int, int);
307 /* 80146188 */ int chkPassed1(cXyz, int);
308 /* 801464D8 */ int chkPassed2(cXyz, cXyz*, int, int);
310 initialize();
311 }
312 virtual ~daNpcT_Path_c() {}
313
315
316 int chkClose() {
318 return roomPath;
319 }
320
321 bool chkReverse() { return mDirection == 1; }
322
325 return path->m_num;
326 }
327
328 u16& getIdx() { return mIdx; }
329};
330
331class mDoExt_McaMorfSO;
332
333class daNpcT_c : public fopAc_ac_c {
334public:
337 /* 0x570 */ daNpcT_evtData_c const* field_0x570;
338 /* 0x574 */ char** field_0x574;
339 /* 0x578 */ mDoExt_McaMorfSO* mpMorf[2];
352 /* 0x970 */ u8 field_0x970[4];
353 /* 0x974 */ dMsgFlow_c mFlow;
356 /* 0xA7C */ u32 field_0xa7c;
357 /* 0xA80 */ f32 field_0xa80;
358 /* 0xA84 */ f32 field_0xa84;
359 /* 0xA88 */ u8 field_0xa88;
360 /* 0xA89 */ u8 field_0xa89;
369 /* 0xD24 */ cXyz field_0xd24;
370 /* 0xD30 */ cXyz field_0xd30;
371 /* 0xD3C */ cXyz field_0xd3c;
372 /* 0xD48 */ cXyz field_0xd48;
373 /* 0xD54 */ cXyz field_0xd54;
374 /* 0xD60 */ cXyz field_0xd60;
375 /* 0xD6C */ cXyz field_0xd6c;
376 /* 0xD78 */ csXyz field_0xd78;
377 /* 0xD7E */ csXyz field_0xd7e;
378 /* 0xD84 */ csXyz field_0xd84;
379 /* 0xD8A */ csXyz field_0xd8a;
380 /* 0xD90 */ u32 field_0xd90;
381 /* 0xD94 */ u32 field_0xd94;
382 /* 0xD98 */ u32 field_0xd98;
383 /* 0xD9C */ u32 mMsgId;
384 /* 0xDA0 */ u8 field_0xda0[8];
385 /* 0xDA8 */ u32 field_0xda8;
386 /* 0xDAC */ int field_0xdac;
387 /* 0xDB0 */ int mCutType;
388 /* 0xDB4 */ int field_0xdb4;
389 /* 0xDB8 */ int field_0xdb8;
390 /* 0xDBC */ int mTimer;
391 /* 0xDC0 */ int field_0xdc0;
392 /* 0xDC4 */ int field_0xdc4;
393 /* 0xDC8 */ s16 field_0xdc8;
394 /* 0xDCA */ s16 field_0xdca;
395 /* 0xDCC */ u8 field_0xdcc[10];
396 /* 0xDD4 */ s16 field_0xdd4;
397 /* 0xDD8 */ s16 mStepNo;
398 /* 0xDDA */ s16 field_0xdda;
399 /* 0xDDC */ f32 field_0xddc;
400 /* 0xDE0 */ f32 field_0xde0;
401 /* 0xDE4 */ f32 field_0xde4;
402 /* 0xDE8 */ f32 field_0xde8;
403 /* 0xDEC */ f32 field_0xdec;
404 /* 0xDF0 */ f32 field_0xdf0;
405 /* 0xDF4 */ f32 field_0xdf4;
406 /* 0xDF8 */ f32 field_0xdf8;
407 /* 0xDFC */ f32 field_0xdfc;
408 /* 0xE00 */ cXyz field_0xe00;
409 /* 0xE0C */ cXyz field_0xe0c;
410 /* 0xE18 */ s16 field_0xe18;
411 /* 0xE1A */ s16 field_0xe1a;
412 /* 0xE1C */ s16 field_0xe1c;
413 /* 0xE1E */ u16 field_0xe1e;
414 /* 0xE20 */ u16 field_0xe20;
415 /* 0xE22 */ u16 field_0xe22;
416 /* 0xE24 */ s8 field_0xe24;
417 /* 0xE25 */ u8 field_0xe25;
418 /* 0xE26 */ u8 field_0xe26;
419 /* 0xE27 */ u8 field_0xe27;
420 /* 0xE28 */ u8 field_0xe28;
421 /* 0xE29 */ u8 field_0xe29;
422 /* 0xE2A */ u8 field_0xe2a;
423 /* 0xE2B */ u8 field_0xe2b;
424 /* 0xE2C */ u8 field_0xe2c;
425 /* 0xE2D */ u8 field_0xe2d;
426 /* 0xE2E */ u8 field_0xe2e[2];
427 /* 0xE30 */ u16 field_0xe30;
428 /* 0xE32 */ u8 field_0xe32;
429 /* 0xE33 */ u8 field_0xe33;
430 /* 0xE34 */ u8 field_0xe34;
431 /* 0xE35 */ u8 field_0xe35;
432 /* 0xE36 */ u8 field_0xe36;
433 /* 0xE37 */ u8 field_0xe37;
434 /* 0xE38 */ u8 field_0xe38;
435 /* 0xE3C vtable */
436
437public:
450 /* 80147FA4 */ static void tgHitCallBack(fopAc_ac_c*, dCcD_GObjInf*, fopAc_ac_c*, dCcD_GObjInf*);
451 /* 80147FD4 */ static int srchActor(void*, void*);
452 /* 80148058 */ J3DAnmTransform* getTrnsfrmAnmP(char const*, int);
453 /* 80148094 */ J3DAnmTransformKey* getTrnsfrmKeyAnmP(char const*, int);
454 /* 801480D0 */ J3DAnmTexPattern* getTexPtrnAnmP(char const*, int);
455 /* 8014810C */ J3DAnmTextureSRTKey* getTexSRTKeyAnmP(char const*, int);
456 /* 80148148 */ J3DAnmTevRegKey* getTevRegKeyAnmP(char const*, int);
457 /* 80148184 */ J3DAnmColor* getColorAnmP(char const*, int);
458 /* 801481C0 */ void setBckAnm(J3DAnmTransform*, f32, int, int, int, bool);
459 /* 80148204 */ int setMcaMorfAnm(J3DAnmTransformKey*, f32, f32, int, int, int);
460 /* 801482F8 */ void setBtpAnm(J3DAnmTexPattern*, J3DModelData*, f32, int);
461 /* 80148338 */ void setBtkAnm(J3DAnmTextureSRTKey*, J3DModelData*, f32, int);
462 /* 80148378 */ void setBrkAnm(J3DAnmTevRegKey*, J3DModelData*, f32, int);
463 /* 801483B8 */ void setBpkAnm(J3DAnmColor*, J3DModelData*, f32, int);
464 /* 801483F8 */ int loadRes(s8 const*, char const**);
465 /* 801484AC */ void deleteRes(s8 const*, char const**);
466 /* 8014852C */ int execute();
467 /* 8014886C */ int draw(int, int, f32, _GXColorS10*, f32, int, int, int);
468 /* 80148C70 */ void setEnvTevColor();
469 /* 80148CCC */ void setRoomNo();
470 /* 80148D10 */ int checkEndAnm(f32);
471 /* 80148DD0 */ int checkEndAnm(J3DFrameCtrl*, f32);
472 /* 80148E4C */ void playAllAnm();
473 /* 80149190 */ void setMtx();
474 /* 8014924C */ void ctrlFaceMotion();
475 /* 80149300 */ void ctrlMotion();
476 /* 801493B8 */ int ctrlMsgAnm(int*, int*, fopAc_ac_c*, int);
477 /* 8014A224 */ void evtChange();
478 /* 8014A388 */ bool setFaceMotionAnm(int, bool);
479 /* 8014A908 */ void setPos(cXyz);
480 /* 8014AA18 */ void setAngle(s16);
481 /* 8014A99C */ void setAngle(csXyz);
482 /* 8014AA40 */ fopAc_ac_c* hitChk(dCcD_GObjInf*, u32);
483 /* 8014AAD0 */ void setDamage(int, int, int);
484 /* 8014ABD0 */ BOOL chkActorInSight(fopAc_ac_c*, f32, s16);
485 /* 8014ACF0 */ BOOL chkPointInArea(cXyz, cXyz, f32, f32, f32, s16);
486 /* 8014ADA0 */ BOOL chkPointInArea(cXyz, cXyz, cXyz, s16);
487 /* 8014AE1C */ void chkFindActor(fopAc_ac_c*, int, s16);
488 /* 8014B024 */ void chkWolfAction();
489 /* 8014B0C8 */ void chkFindWolf(s16, int, int, f32, f32, f32, f32, int);
490 /* 8014B338 */ BOOL srchPlayerActor();
491 /* 8014B3EC */ void getAttnPos(fopAc_ac_c*);
492 /* 8014B4A4 */ void turn(s16, int, int);
493 /* 8014B648 */ int step(s16, int, int, int, int);
494 /* 8014B808 */ void calcSpeedAndAngle(cXyz, int, s16, s16);
495 /* 8014BB00 */ void getActorDistance(fopAc_ac_c*, int, int);
496 /* 8014BBF0 */ int initTalk(int, fopAc_ac_c**);
497 /* 8014BC78 */ int talkProc(int*, int, fopAc_ac_c**, int);
499 /* 8014BEE4 */ fopAc_ac_c* getEvtAreaTagP(int, int);
500 /* 8014BFB0 */ fopAc_ac_c* getShopItemTagP();
501 /* 8014C030 */ void setHitodamaPrtcl();
502
503 /* 8014CD20 */ virtual ~daNpcT_c();
504 /* 801490D4 */ virtual void ctrlBtk();
505 /* 8014CC14 */ virtual void ctrlSubFaceMotion(int) {}
506 /* 8014CC40 */ virtual int checkChangeJoint(int);
507 /* 8014CC38 */ virtual int checkRemoveJoint(int);
508 /* 8014CC5C */ virtual s32 getBackboneJointNo();
509 /* 8014CC54 */ virtual s32 getNeckJointNo();
510 /* 8014CC4C */ virtual s32 getHeadJointNo();
511 /* 8014CC90 */ virtual s32 getFootLJointNo();
512 /* 8014CC88 */ virtual s32 getFootRJointNo();
513 /* 8014D0A8 */ virtual int getEyeballLMaterialNo() { return 0; }
514 /* 8014D0B0 */ virtual bool getEyeballRMaterialNo() { return 0; }
515 /* 8014D0B8 */ virtual s32 getEyeballMaterialNo() { return 0; }
516 /* 8014951C */ virtual void ctrlJoint(J3DJoint*, J3DModel*);
517 /* 8014CC48 */ virtual void afterJntAnm(int);
518 /* 8014CC24 */ virtual void setParam();
519 /* 8014CC80 */ virtual bool checkChangeEvt();
520 /* 8014CC78 */ virtual bool evtTalk();
521 /* 8014CC70 */ virtual bool evtEndProc() { return true; }
522 /* 8014CC68 */ virtual bool evtCutProc();
523 /* 8014CC64 */ virtual void setAfterTalkMotion();
524 /* 8014997C */ virtual int evtProc();
525 /* 8014CC20 */ virtual void action();
526 /* 8014CC1C */ virtual void beforeMove();
527 /* 8014CC18 */ virtual void afterMoved();
528 /* 8014CC10 */ virtual void setAttnPos();
529 /* 80149BB4 */ virtual void setFootPos();
530 /* 8014CC0C */ virtual void setCollision();
531 /* 80149D7C */ virtual void setFootPrtcl(cXyz*, f32, f32);
532 /* 8014A05C */ virtual bool checkCullDraw();
533 /* 8014A064 */ virtual void twilight();
534 /* 8014CC98 */ virtual bool chkXYItems() { return false; }
535 /* 8014A0B0 */ virtual void evtOrder();
536 /* 8014CBF4 */ virtual void decTmr() {
537 if (mTimer != 0) {
538 mTimer--;
539 }
540 }
541 /* 8014A324 */ virtual void clrParam();
542 /* 8014CC30 */ virtual int drawDbgInfo();
543 /* 8014CC28 */ virtual void drawOtherMdl();
544 /* 8014CC2C */ virtual void drawGhost() {}
545 /* 8014CCA0 */ virtual bool afterSetFaceMotionAnm(int, int, f32, int) { return true; }
546 /* 8014CCE0 */ virtual bool afterSetMotionAnm(int, int, f32, int) { return true; }
549 /* 8014CCEC */ virtual void changeAnm(int*, int*) {}
550 /* 8014CCAC */ virtual void changeBck(int*, int*) {}
551 /* 8014CCA8 */ virtual void changeBtp(int*, int*) {}
552 /* 8014CCE8 */ virtual void changeBtk(int*, int*) {}
553 /* 8014A628 */ virtual bool setMotionAnm(int, f32, int);
554
556 s16 checkStep() { return mStepNo == 1; }
558
559 void initialize() {
567 field_0xd90 = 0xffffffff;
568 field_0xe26 = 1;
569 field_0xe1a = cM_rndF(65536.0f);
570 field_0xde0 = 0.2f;
571 field_0xde4 = 0.2f;
572 }
573
574 static u8 const mCcDObjData[48];
575 static dCcD_SrcCyl mCcDCyl;
576 static dCcD_SrcSph mCcDSph;
580};
581
582STATIC_ASSERT(sizeof(daNpcT_c) == 0xE40);
583
591
593 /* 8014D884 */ void calc(J3DMaterial*) const;
594 /* 80150444 */ ~daBaseNpc_matAnm_c();
595};
596
598private:
599 /* 0x00 */ u8 field_0x00[4];
600 /* 0x04 */ u32 mActorId;
601
602public:
603 /* 8014D804 */ daBaseNpc_acMngr_c();
604 /* 8014D81C */ void entry(fopAc_ac_c*);
605 /* 8014D838 */ fopAc_ac_c* getActor();
606 /* 80150524 */ ~daBaseNpc_acMngr_c();
607};
608
610private:
611 /* 0x000 */ f32 field_0x0;
612 /* 0x004 */ dPath* mpRoomPath;
613 /* 0x008 */ f32 field_0x8;
614 /* 0x010 */ u8 field_0xc[2562];
615 /* 0xA0E */ u16 field_0xa0e;
616 /* 0xA10 */ u16 mIdx;
617 /* 0xA12 */ s8 mDirection;
618 /* 0xA13 */ u8 field_0xa13[17];
619
620public:
621 /* 8014D998 */ daBaseNpc_path_c();
622 /* 8014D9A8 */ BOOL isPath();
623 /* 8014D9BC */ int setPathInfo(u8, s8, s8);
624 /* 8014DA48 */ void reverseDir();
625 /* 8014DA64 */ s32 chkPnt(cXyz);
626 /* 8014DAC4 */ void setNextPnt();
627 /* 8014DB04 */ u16 getIdx();
628 /* 8014DB0C */ void setIdx(u16);
629 /* 8014DB14 */ Vec getPntPos(u16);
630 /* 801503FC */ ~daBaseNpc_path_c();
631};
632
634private:
635 /* 0x00 */ int field_0x00;
636 /* 0x04 */ csXyz mMaxJntLmt[2];
637 /* 0x10 */ u8 field_0x0A[12];
638 /* 0x1C */ csXyz mMinJntLmt[2];
639 /* 0x28 */ u8 field_0x28[12];
640 /* 0x34 */ cXyz mJntPos[3];
641 /* 0x4C */ u8 field_0x4C[24];
642 /* 0x64 */ csXyz mUnk[2];
643 /* 0x70 */ csXyz mRotation[2];
644 /* 0x7C */ csXyz mUnk2[2];
645 /* 0x88 */ u8 field_0x88[4];
646 /* 0x8C */ cXyz* mpAttnPos;
647
648public:
649 /* 8014DB40 */ void limitter(s16, s16*, s16, s16);
650 /* 8014DBB4 */ void calc(fopAc_ac_c*, f32 (*)[4], s16);
651 /* 8014E634 */ void setMaxJntLmt(csXyz, int);
652 /* 8014E658 */ void setMinJntLmt(csXyz, int);
653 /* 8014E67C */ void setJntPos(cXyz, int);
654 /* 8014E6A0 */ int setAttnPos(cXyz*);
655 /* 8014E6AC */ csXyz getRot(int);
656 /* 801502EC */ ~daBaseNpc_lookat_c();
657};
658
659class daBaseNpc_c : public fopAc_ac_c {
660public:
661 /* 8014E6C8 */ daBaseNpc_c();
662 /* 8014EE44 */ J3DAnmTransform* getTrnsfrmKeyAnmP(char*, int);
663 /* 8014EE80 */ void setMcaMorfAnm(J3DAnmTransformKey*, f32, f32, int, int, int);
664 /* 8014EEE4 */ void setBckAnm(J3DAnmTransform*, f32, int, int, int, bool);
665 /* 8014EF28 */ J3DAnmTransform* getTexPtrnAnmP(char*, int);
666 /* 8014EF64 */ void setBtpAnm(J3DAnmTexPattern*, J3DModelData*, f32, int);
667 /* 8014EFF4 */ void orderEvent(int, char*);
668 /* 8014F0A0 */ void setEnvTevColor();
669 /* 8014F0FC */ void setRoomNo();
670 /* 8014F148 */ int checkEndAnm(f32);
671 /* 8014F1C8 */ int checkEndAnm(J3DFrameCtrl*);
672
673 /* 8014E89C */ virtual ~daBaseNpc_c();
674 /* 8014EAD0 */ virtual void execute();
675 /* 8014EC50 */ virtual void draw(f32);
676 /* 8014EE3C */ virtual bool getResName();
677 /* 8014EFA4 */ virtual void attnSttsOn(int, int);
678 /* 8014EFF0 */ virtual void setParam();
679 /* 8014F09C */ virtual void mainProc();
680 /* 8014F140 */ virtual bool btkCtrl();
681 /* 8014F228 */ virtual void allAnmPlay();
682 /* 8014F38C */ virtual void adjustShapeAngle();
683 /* 8014F390 */ virtual void setMtx(int);
684 /* 8014F4A0 */ virtual void setCollisions();
685 /* 8014F4A4 */ virtual void setAttnPos();
686 /* 8014F4A8 */ virtual void drawOtherMdls();
687 /* 8014F4AC */ virtual bool dbgDraw();
688
689 static u8 const mCcDObj[48];
690 static dCcD_SrcCyl mCcDCyl;
691 static dCcD_SrcSph mCcDSph;
692
693private:
695 /* 0x744 */ u8 field_0x744[16];
696 /* 0x754 */ mDoExt_McaMorfSO* mpMorf[2];
700 /* 0x820 */ u8 tmp2[28];
701 /* 0x83c */ u16* field_0x83c;
702 /* 0x840 */ u16 field_0x840;
703 /* 0x842 */ u8 field_0x842[6];
704 /* 0x848 */ s32 mUnk;
705 /* 0x84C */ dMsgFlow_c mMsg;
706 /* 0x898 */ u8 field_0x898[2];
707 /* 0x89A */ s16 mEvtIdx;
708 /* 0x89C */ u8 field_0x89C[34];
709 /* 0x8BE */ u8 mRoomId;
710 /* 0x8C0 */ u8 field_0x8C0[90];
711 /* 0x91A */ csXyz field_0x91a;
712 /* 0x920 */ csXyz field_0xd7e;
713 /* 0x926 */ csXyz field_0xd84;
714 /* 0x92C */ csXyz field_0xd8a;
715 /* 0x932 */ csXyz field_0x932;
716 /* 0x938 */ u8 field_0x938[4];
717 /* 0x93C */ csXyz field_0x93c;
718 /* 0x940 */ u8 field_0x940[18];
719 /* 0x954 */ cXyz field_0x954;
720 /* 0x960 */ u8 field_0x960[36];
721 /* 0x984 */ csXyz field_0x984;
722 /* 0x98A */ u8 field_0x98A[18];
723 /* 0x99C */ csXyz field_0x99c;
724 /* 0x9A2 */ u8 field_0x9a2[70];
725 /* 0x9E8 */ const cBgS_PolyInfo mBgSPolyInfo;
726 /* 0x9F9 */ u8 field_0x9f9[27];
727};
728
730private:
731 /* 0xA14 */ u32 field_0xa14;
732
733public:
734 /* 8014F4B4 */ daBaseNpc_moveBgActor_c();
735 /* 8014F518 */ void MoveBGCreateHeap();
736 /* 8014F60C */ void
737 MoveBGCreate(char const*, int,
738 void (*)(dBgW*, void*, cBgS_PolyInfo const&, bool, cXyz*, csXyz*, csXyz*), u32);
739 /* 8014F6FC */ void MoveBGDelete();
740 /* 8014F770 */ void MoveBGExecute();
741 /* 801503BC */ bool CreateHeap();
742 /* 801503C4 */ bool Create();
743 /* 801503CC */ bool Delete();
744 /* 801503D4 */ bool Execute(f32 (**)[3][4]);
745 /* 801503DC */ bool Draw();
746 /* 801503E4 */ bool IsDelete();
747 /* 801503EC */ bool ToFore();
748 /* 801503F4 */ bool ToBack();
749 /* 80155FB0 */ ~daBaseNpc_moveBgActor_c();
750
751 static u8 m_name[4];
752 static u8 m_dzb_id[4];
753 static u8 m_set_func[4];
754};
755
757private:
758 /* 0x0 */ u32 mActorID;
759
760public:
762
763 /* 801506B0 */ void initialize();
764 /* 801506D8 */ void entry(unsigned int);
765 /* 801506BC */ void entry(fopAc_ac_c*);
766 /* 801506E0 */ void remove();
767 /* 801506EC */ fopAc_ac_c* getActorP();
768
769 /* 80155E40 */ virtual ~daNpcF_ActorMngr_c() {}
770};
771
772class daNpcF_c : public fopAc_ac_c {
773protected:
779 /* 0x5D0 */ dBgS_ObjAcch mAcch;
780 /* 0x7A8 */ dCcD_Stts mCcStts;
784 /* 0x854 */ cXyz mLookatPos[3];
785 /* 0x878 */ cXyz mLookPos;
786 /* 0x884 */ cXyz field_0x884;
787 /* 0x890 */ cXyz field_0x890;
788 /* 0x89C */ cXyz field_0x89c;
789 /* 0x8A8 */ cXyz field_0x8a8;
790 /* 0x8B4 */ cXyz field_0x8b4;
791 /* 0x8C0 */ cXyz field_0x8c0;
792 /* 0x8CC */ cXyz field_0x8cc;
793 /* 0x8D8 */ cXyz field_0x8d8;
794 /* 0x8E4 */ cXyz mHeadPos;
795 /* 0x8F0 */ csXyz mCurAngle;
796 /* 0x8F6 */ csXyz mOldAngle;
797 /* 0x8FC */ csXyz mEyeAngle;
798 /* 0x902 */ csXyz mHeadAngle;
799 /* 0x908 */ csXyz field_0x908[3];
800 /* 0x91A */ csXyz mLookatAngle[3];
801 /* 0x92C */ int mStaffID;
802 /* 0x930 */ int mCutType;
803 /* 0x934 */ int mAttnIdx;
804 /* 0x938 */ int mAttnChangeTimer;
805 /* 0x93C */ int mAttnActorTimer[5];
806 /* 0x950 */ int mMsgTimer;
807 /* 0x954 */ int mDamageTimer;
808 /* 0x958 */ int mTotalDamageTimer;
809 /* 0x95C */ int field_0x95c;
810 /* 0x960 */ int mEventTimer;
811 /* 0x964 */ int mBtpTimer;
812 /* 0x968 */ int mTurnAmount;
813 /* 0x96C */ int mTurnMode;
814 /* 0x970 */ f32 mTurnStepNum;
816 /* 0x978 */ f32 mExpressionMorf;
818 /* 0x980 */ f32 mGroundH;
819 /* 0x984 */ f32 field_0x984[3];
820 /* 0x990 */ s16 field_0x990;
821 /* 0x992 */ s16 field_0x992;
822 /* 0x994 */ s16 mTurnStartAngle;
824 /* 0x998 */ u16 field_0x998;
825 /* 0x99C */ u32 mAnmFlags;
826 /* 0x9A0 */ u32 mShadowKey;
827 /* 0x9A4 */ u32 field_0x9a4;
828 /* 0x9A8 */ u32 mHitodamaParticleKey[2];
829 /* 0x9B0 */ u32 mPolySound;
830 /* 0x9B4 */ int mFlowNodeNo;
831 /* 0x9B8 */ cXyz field_0x9b8;
832 /* 0x9C4 */ cXyz field_0x9c4;
833 /* 0x9D0 */ s16 field_0x9d0;
834 /* 0x9D2 */ s16 field_0x9d2;
835 /* 0x9D4 */ s16 mEventIdx;
838 /* 0x9DA */ s16 mMotionPhase;
840 /* 0x9DE */ s16 mExpression;
841 /* 0x9E0 */ s16 mMotion;
842 /* 0x9E2 */ u16 mMotionLoops;
844 /* 0x9E6 */ u16 mOrderEvtNo;
845 /* 0x9E8 */ s8 mReverb;
846 /* 0x9E9 */ bool mOrderSpeakEvt;
847 /* 0x9EA */ bool field_0x9ea;
848 /* 0x9EB */ bool field_0x9eb;
849 /* 0x9EC */ bool field_0x9ec;
850 /* 0x9ED */ bool mOrderNewEvt;
851 /* 0x9EE */ bool field_0x9ee;
852 /* 0x9EF */ u8 field_0x9ef;
853 /* 0x9F0 */ bool mIsDamaged;
854 /* 0x9F1 */ u8 field_0x9f1;
855 /* 0x9F2 */ bool mHide;
856 /* 0x9f3 */ u8 field_0x9f3;
857 /* 0x9F4 */ bool mTwilight;
858 /* 0x9F5 */ u8 field_0x9f5;
859 /* 0x9F6 */ u8 field_0x9f6;
860 /* 0x9F8 */ dMsgFlow_c mFlow;
861 /* 0xA44 */ cBgS_GndChk mGndChk;
864
865public:
871
895
896 enum LookMode {
897 /* 0 */ LOOK_NONE,
898 /* 1 */ LOOK_RESET,
899 /* 2 */ LOOK_PLAYER,
901 /* 4 */ LOOK_ACTOR,
902 /* 5 */ LOOK_ATTN,
903 };
904
905 /* 80152014 */ BOOL execute();
906 /* 801522AC */ int draw(BOOL, BOOL, f32, _GXColorS10*, BOOL);
907 /* 80152614 */ static void tgHitCallBack(fopAc_ac_c*, dCcD_GObjInf*, fopAc_ac_c*,
908 dCcD_GObjInf*);
909 /* 80152654 */ static void* srchAttnActor1(void*, void*);
910 /* 801526E8 */ static void* srchActor(void*, void*);
911
912 /* 801528C8 */ void initialize();
913 /* 80152B2C */ J3DAnmTransformKey* getTrnsfrmKeyAnmP(char*, int);
914 /* 80152B68 */ J3DAnmTexPattern* getTexPtrnAnmP(char*, int);
915 /* 80152BA4 */ J3DAnmTextureSRTKey* getTexSRTKeyAnmP(char*, int);
916 /* 80152BE0 */ J3DAnmTevRegKey* getTevRegKeyAnmP(char*, int);
917 /* 80152C1C */ BOOL setMcaMorfAnm(J3DAnmTransformKey* i_anm, f32 i_rate, f32 i_morf, int i_attr,
918 int i_start, int i_end);
919 /* 80152C80 */ BOOL setBckAnm(J3DAnmTransform* i_bck, f32 i_rate, int i_attr, int i_start,
920 int i_end, bool i_modify);
922 int i_attr);
924 int i_attr);
926 int i_attr);
927 /* 80152D84 */ void setEnvTevColor();
928 /* 80152DE0 */ void setRoomNo();
929 /* 80152E24 */ BOOL chkEndAnm(f32);
930 /* 80152EC4 */ BOOL chkEndAnm(J3DFrameCtrl*, f32);
931 /* 80152F40 */ BOOL playAllAnm();
932 /* 80153150 */ void playExpressionAnm(daNpcF_c::daNpcF_anmPlayData***);
933 /* 80153264 */ void playMotionAnm(daNpcF_c::daNpcF_anmPlayData***);
934 /* 8015337C */ void setLookatMtx(int, int*, f32);
935 /* 80153578 */ BOOL hitChk2(dCcD_Cyl*, BOOL, BOOL);
936 /* 80153658 */ void setDamage(int, int, int);
937 /* 80153718 */ int ctrlMsgAnm(int&, int&, fopAc_ac_c*, BOOL);
938 /* 8015387C */ void orderEvent(int, char*, u16, u16, u8, u16);
939 /* 80153954 */ void changeEvent(char*, char*, u16, u16);
940 /* 801539F0 */ BOOL chkActorInSight(fopAc_ac_c*, f32);
941 /* 80153A78 */ BOOL chkActorInArea(fopAc_ac_c*, cXyz, cXyz, s16);
942 /* 80153BDC */ BOOL chkActorInAttnArea(fopAc_ac_c*, fopAc_ac_c*, int);
943 /* 80153D1C */ BOOL initTalk(int, fopAc_ac_c**);
944 /* 80153D84 */ BOOL talkProc(int*, BOOL, fopAc_ac_c**);
945 /* 80153EF4 */ BOOL turn(s16, f32, int);
946 /* 801540A4 */ BOOL step(s16, int, int, int);
947 /* 80154250 */ void setAngle(s16);
948 /* 80154278 */ u8 getDistTableIdx(int, int);
949 /* 801542A0 */ fopAc_ac_c* getEvtAreaTagP(int, int);
951 int, BOOL);
952 /* 80154730 */ BOOL chkActorInSight2(fopAc_ac_c*, f32, s16);
953 /* 80154834 */ BOOL chkPointInArea(cXyz, cXyz, f32, f32, f32, s16);
954 /* 801548F4 */ BOOL chkPointInArea(cXyz, cXyz, cXyz, s16);
955 /* 8015496C */ cXyz getAttentionPos(fopAc_ac_c*);
956 /* 801549E0 */ BOOL chkFindPlayer2(BOOL, s16);
957 /* 80154BD8 */ void setHitodamaPrtcl();
958
959 /* 80155BF4 */ virtual ~daNpcF_c() {}
960 /* 80155BC8 */ virtual void setParam();
961 /* 80155BC0 */ virtual BOOL main();
962 /* 80155BD8 */ virtual BOOL ctrlBtk();
963 /* 80155BBC */ virtual void adjustShapeAngle();
964 /* 8015276C */ virtual void setMtx();
965 /* 801527FC */ virtual void setMtx2();
966 /* 80155BB8 */ virtual void setAttnPos();
967 /* 80155BB4 */ virtual void setCollisions() {}
968 /* 80155BE0 */ virtual bool setExpressionAnm(int i_idx, bool i_modify);
969 /* 80155EC8 */ virtual bool setExpressionBtp(int i_idx);
970 /* 80155BF0 */ virtual void setExpression(int i_expression, f32 i_morf);
971 /* 80155BE8 */ virtual bool setMotionAnm(int i_idx, f32 i_morf);
972 /* 80155BEC */ virtual void setMotion(int i_motion, f32 i_morf, int i_restart);
973 /* 80155BD0 */ virtual BOOL drawDbgInfo();
974 /* 80155BCC */ virtual void drawOtherMdls();
975
993
994 static u8 const mCcDObjInfo[48];
995 static dCcD_SrcCyl mCcDCyl;
996 static dCcD_SrcSph mCcDSph;
1000};
1001
1002STATIC_ASSERT(sizeof(daNpcF_c) == 0xB48);
1003
1013 f32* o_dist2);
1016
1018private:
1019 /* 0x0F4 */ mutable f32 field_0xF4;
1020 /* 0x0F8 */ mutable f32 field_0xF8;
1021 /* 0x0FC */ f32 mNowOffsetX;
1022 /* 0x100 */ f32 mNowOffsetY;
1023 /* 0x104 */ u8 mEyeMoveFlag;
1024 /* 0x105 */ u8 field_0x105;
1025
1026public:
1028 /* 80150738 */ void initialize();
1029 /* 8015075C */ void calc(J3DMaterial*) const;
1030 /* 80155ED0 */ ~daNpcF_MatAnm_c();
1035};
1036
1038private:
1039 /* 0x00 */ u16 mNurbs;
1040 /* 0x02 */ u16 field_0x02;
1041 /* 0x04 */ bool mIsReversed;
1042 /* 0x05 */ bool mIsClosed;
1043 /* 0x08 */ dStage_dPnt_c mPoints[96];
1044
1045public:
1046 /* 80150870 */ void initialize(dPath*, int);
1047
1049 initialize(NULL, 0);
1050 }
1051
1053}; // Size: 0x60C
1056protected:
1057 /* 0x00 */ u16 mIdx;
1058 /* 0x02 */ u8 mIsReversed;
1059 /* 0x03 */ bool mIsClosed;
1060 /* 0x04 */ dPath* mpRoomPath;
1061 /* 0x08 */ f32 mRange;
1062 /* 0x0C */ f32 mPosDst;
1063 /* 0x10 */ f32 field_0x10;
1064 /* 0x14 */ cXyz mPosition;
1066
1067public:
1068 /* 80150900 */ void initialize();
1069 /* 8015095C */ int setPathInfo(u8, s8, u8);
1070 /* 80150A24 */ BOOL chkPassed(cXyz);
1071 /* 80150A7C */ BOOL chkPassedDst(cXyz);
1072 /* 80150BBC */ void reverse();
1073 /* 80150BE0 */ BOOL setNextIdx();
1074 /* 80150C18 */ int getNextIdx();
1075 /* 80150C60 */ int getBeforeIdx();
1076 /* 80150CA8 */ BOOL getBeforePos(cXyz&);
1077 /* 80150D44 */ BOOL getNextPos(cXyz&);
1078 /* 80150DE0 */ BOOL getDstPos(cXyz, cXyz&);
1079 /* 80150EB4 */ void setNextIdxDst(cXyz);
1080
1083 }
1084
1085 virtual ~daNpcF_Path_c() {}
1086
1087 int getIdx() { return mIdx; };
1088 void setIdx(int i_idx) { mIdx = i_idx; }
1093 BOOL chkReverse() { return mIsReversed == true; }
1094 void onReverse() { mIsReversed = true; }
1097}; // Size: 0x630
1098
1100private:
1101 /* 0x00 */ cXyz mJointPos[4];
1102 /* 0x30 */ cXyz* mAttnPos;
1103 /* 0x34 */ csXyz mAngularMoveDis[4];
1104 /* 0x4C */ csXyz mMinAngle[4];
1105 /* 0x64 */ csXyz mMaxAngle[4];
1106 /* 0x7C */ csXyz mRotAngle[4];
1107 /* 0x94 */ bool field_0x94[4];
1108 /* 0x98 vtable */
1109
1110public:
1111 /* 80151038 */ void initialize();
1112 /* 801510B8 */ void setParam(f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, s16,
1113 cXyz*);
1114 /* 80151350 */ void calc(fopAc_ac_c*, Mtx, csXyz**, BOOL, int, BOOL);
1115 /* 801515D4 */ void adjustMoveDisAngle(s16&, s16, s16, s16);
1116 /* 80151648 */ void initCalc(fopAc_ac_c*, Mtx, cXyz*, csXyz*, f32*, cXyz&, BOOL);
1117 /* 80151A54 */ void update(cXyz*, csXyz*, f32*);
1118 /* 80151B68 */ void calcMoveDisAngle(int, cXyz*, csXyz*, cXyz, int, BOOL);
1119 /* 80151F54 */ void setRotAngle();
1120 /* 80151FE0 */ void clrRotAngle();
1122 virtual ~daNpcF_Lookat_c() {}
1123 cXyz* getAttnPos() { return mAttnPos; }
1125};
1126
1128private:
1129public:
1130 /* 80155B54 */ ~daNpcF_MoveBgActor_c();
1131 /* 80155E88 */ virtual bool CreateHeap();
1132 /* 80155E90 */ virtual bool Create();
1133 /* 80155EA0 */ virtual bool Execute(f32 (**)[3][4]);
1134 /* 80155EA8 */ virtual bool Draw();
1135 /* 80155E98 */ virtual bool Delete();
1136 /* 80155EB0 */ virtual bool IsDelete();
1137 /* 80155EB8 */ virtual bool ToFore();
1138 /* 80155EC0 */ virtual bool ToBack();
1139};
1140
1141#endif /* D_A_D_A_NPC_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
float cM_rndF(float max)
Definition c_math.cpp:203
s16 cM_atan2s(float y, float x)
Definition c_math.cpp:119
Definition J3DAnimation.h:693
Definition d_bg_w.h:252
Definition d_particle_copoly.h:38
Definition d_a_npc.h:597
daBaseNpc_acMngr_c()
Definition d_a_npc.cpp:2599
~daBaseNpc_acMngr_c()
Definition d_a_npc.cpp:3126
u8 field_0x00[4]
Definition d_a_npc.h:599
void entry(fopAc_ac_c *)
Definition d_a_npc.cpp:2604
fopAc_ac_c * getActor()
Definition d_a_npc.cpp:2609
u32 mActorId
Definition d_a_npc.h:600
Definition d_a_npc.h:659
csXyz field_0x99c
Definition d_a_npc.h:723
void orderEvent(int, char *)
Definition d_a_npc.cpp:2846
virtual bool getResName()
Definition d_a_npc.cpp:2785
u8 field_0x744[16]
Definition d_a_npc.h:695
virtual void setParam()
Definition d_a_npc.cpp:2841
virtual void attnSttsOn(int, int)
Definition d_a_npc.cpp:2822
mDoExt_McaMorfSO * mpMorf[2]
Definition d_a_npc.h:696
u8 field_0x960[36]
Definition d_a_npc.h:720
Z2Creature mCreature
Definition d_a_npc.h:697
csXyz field_0x91a
Definition d_a_npc.h:711
virtual void mainProc()
Definition d_a_npc.cpp:2858
csXyz field_0xd8a
Definition d_a_npc.h:714
mDoExt_btpAnm mBtpAnm
Definition d_a_npc.h:699
virtual ~daBaseNpc_c()
Definition d_a_npc.cpp:2770
static u8 const mCcDObj[48]
Definition d_a_npc.h:5131
csXyz field_0xd7e
Definition d_a_npc.h:712
virtual void setAttnPos()
Definition d_a_npc.cpp:2974
csXyz field_0x984
Definition d_a_npc.h:721
void setMcaMorfAnm(J3DAnmTransformKey *, f32, f32, int, int, int)
Definition d_a_npc.cpp:2796
virtual void draw(f32)
Definition d_a_npc.cpp:2780
void setBtpAnm(J3DAnmTexPattern *, J3DModelData *, f32, int)
Definition d_a_npc.cpp:2816
virtual bool dbgDraw()
Definition d_a_npc.cpp:2984
void setEnvTevColor()
Definition d_a_npc.cpp:2863
u8 field_0x9f9[27]
Definition d_a_npc.h:726
dMsgFlow_c mMsg
Definition d_a_npc.h:705
u8 field_0x89C[34]
Definition d_a_npc.h:708
csXyz field_0x932
Definition d_a_npc.h:715
virtual void allAnmPlay()
Definition d_a_npc.cpp:2918
mDoExt_bckAnm mBckAnm
Definition d_a_npc.h:698
int checkEndAnm(f32)
Definition d_a_npc.cpp:2881
const cBgS_PolyInfo mBgSPolyInfo
Definition d_a_npc.h:725
u16 * field_0x83c
Definition d_a_npc.h:701
J3DAnmTransform * getTrnsfrmKeyAnmP(char *, int)
Definition d_a_npc.cpp:2790
u8 mRoomId
Definition d_a_npc.h:709
virtual void setMtx(int)
Definition d_a_npc.cpp:2929
void setRoomNo()
Definition d_a_npc.cpp:2869
virtual void drawOtherMdls()
Definition d_a_npc.cpp:2979
u8 field_0x898[2]
Definition d_a_npc.h:706
s32 mUnk
Definition d_a_npc.h:704
virtual bool btkCtrl()
Definition d_a_npc.cpp:2876
u8 field_0x938[4]
Definition d_a_npc.h:716
u8 tmp2[28]
Definition d_a_npc.h:700
u8 field_0x842[6]
Definition d_a_npc.h:703
void setBckAnm(J3DAnmTransform *, f32, int, int, int, bool)
Definition d_a_npc.cpp:2803
s16 mEvtIdx
Definition d_a_npc.h:707
u8 field_0x940[18]
Definition d_a_npc.h:718
static dCcD_SrcCyl mCcDCyl
Definition d_a_npc.h:1039
u8 field_0x9a2[70]
Definition d_a_npc.h:724
daBaseNpc_c()
Definition d_a_npc.cpp:2765
virtual void execute()
Definition d_a_npc.cpp:2775
static dCcD_SrcSph mCcDSph
Definition d_a_npc.h:1054
u8 field_0x98A[18]
Definition d_a_npc.h:722
virtual void setCollisions()
Definition d_a_npc.cpp:2969
u16 field_0x840
Definition d_a_npc.h:702
csXyz field_0xd84
Definition d_a_npc.h:713
J3DAnmTransform * getTexPtrnAnmP(char *, int)
Definition d_a_npc.cpp:2810
dBgS_Acch field_0x56c
Definition d_a_npc.h:694
csXyz field_0x93c
Definition d_a_npc.h:717
u8 field_0x8C0[90]
Definition d_a_npc.h:710
virtual void adjustShapeAngle()
Definition d_a_npc.cpp:2924
cXyz field_0x954
Definition d_a_npc.h:719
Definition d_a_npc.h:633
cXyz mJntPos[3]
Definition d_a_npc.h:640
csXyz mMinJntLmt[2]
Definition d_a_npc.h:638
csXyz mUnk2[2]
Definition d_a_npc.h:644
u8 field_0x28[12]
Definition d_a_npc.h:639
u8 field_0x0A[12]
Definition d_a_npc.h:637
u8 field_0x88[4]
Definition d_a_npc.h:645
csXyz mMaxJntLmt[2]
Definition d_a_npc.h:636
cXyz * mpAttnPos
Definition d_a_npc.h:646
csXyz mRotation[2]
Definition d_a_npc.h:643
u8 field_0x4C[24]
Definition d_a_npc.h:641
~daBaseNpc_lookat_c()
Definition d_a_npc.cpp:3065
int setAttnPos(cXyz *)
Definition d_a_npc.cpp:2754
csXyz getRot(int)
Definition d_a_npc.cpp:2760
void setMinJntLmt(csXyz, int)
Definition d_a_npc.cpp:2740
void calc(fopAc_ac_c *, f32(*)[4], s16)
Definition d_a_npc.cpp:2726
int field_0x00
Definition d_a_npc.h:635
void setMaxJntLmt(csXyz, int)
Definition d_a_npc.cpp:2732
void limitter(s16, s16 *, s16, s16)
Definition d_a_npc.cpp:2691
csXyz mUnk[2]
Definition d_a_npc.h:642
void setJntPos(cXyz, int)
Definition d_a_npc.cpp:2747
Definition d_a_npc.h:729
void MoveBGCreate(char const *, int, void(*)(dBgW *, void *, cBgS_PolyInfo const &, bool, cXyz *, csXyz *, csXyz *), u32)
Definition d_a_npc.cpp:3020
bool ToBack()
Definition d_a_npc.cpp:3111
u32 field_0xa14
Definition d_a_npc.h:731
~daBaseNpc_moveBgActor_c()
Definition d_a_npc.cpp:5123
static u8 m_set_func[4]
Definition d_a_npc.h:753
void MoveBGCreateHeap()
Definition d_a_npc.cpp:3013
bool IsDelete()
Definition d_a_npc.cpp:3099
bool Delete()
Definition d_a_npc.cpp:3082
bool CreateHeap()
Definition d_a_npc.cpp:3070
bool Create()
Definition d_a_npc.cpp:3076
daBaseNpc_moveBgActor_c()
Definition d_a_npc.cpp:2991
bool Execute(f32(**)[3][4])
Definition d_a_npc.cpp:3088
static u8 m_name[4]
Definition d_a_npc.h:751
void MoveBGDelete()
Definition d_a_npc.cpp:3028
bool Draw()
Definition d_a_npc.cpp:3094
void MoveBGExecute()
Definition d_a_npc.cpp:3034
static u8 m_dzb_id[4]
Definition d_a_npc.h:752
bool ToFore()
Definition d_a_npc.cpp:3105
Definition d_a_npc.h:609
~daBaseNpc_path_c()
Definition d_a_npc.cpp:3116
u8 field_0xc[2562]
Definition d_a_npc.h:614
void reverseDir()
Definition d_a_npc.cpp:2658
f32 field_0x8
Definition d_a_npc.h:613
int setPathInfo(u8, s8, s8)
Definition d_a_npc.cpp:2637
daBaseNpc_path_c()
Definition d_a_npc.cpp:2624
Vec getPntPos(u16)
Definition d_a_npc.cpp:2686
u8 field_0xa13[17]
Definition d_a_npc.h:618
f32 field_0x0
Definition d_a_npc.h:611
u16 getIdx()
Definition d_a_npc.cpp:2676
u16 mIdx
Definition d_a_npc.h:616
dPath * mpRoomPath
Definition d_a_npc.h:612
s32 chkPnt(cXyz)
Definition d_a_npc.cpp:2665
void setNextPnt()
Definition d_a_npc.cpp:2671
void setIdx(u16)
Definition d_a_npc.cpp:2681
u16 field_0xa0e
Definition d_a_npc.h:615
BOOL isPath()
Definition d_a_npc.cpp:2629
s8 mDirection
Definition d_a_npc.h:617
Definition d_a_npc.h:756
void entry(unsigned int)
Definition d_a_npc.cpp:3197
void initialize()
Definition d_a_npc.cpp:3186
u32 mActorID
Definition d_a_npc.h:758
virtual ~daNpcF_ActorMngr_c()
Definition d_a_npc.h:769
fopAc_ac_c * getActorP()
Definition d_a_npc.cpp:3207
void remove()
Definition d_a_npc.cpp:3202
daNpcF_ActorMngr_c()
Definition d_a_npc.h:761
Definition d_a_npc.h:1099
cXyz * mAttnPos
Definition d_a_npc.h:1102
void calcMoveDisAngle(int, cXyz *, csXyz *, cXyz, int, BOOL)
Definition d_a_npc.cpp:3585
csXyz mMaxAngle[4]
Definition d_a_npc.h:1105
void clrRotAngle()
Definition d_a_npc.cpp:3638
bool field_0x94[4]
Definition d_a_npc.h:1107
daNpcF_Lookat_c()
Definition d_a_npc.h:1121
virtual ~daNpcF_Lookat_c()
Definition d_a_npc.h:1122
void adjustMoveDisAngle(s16 &, s16, s16, s16)
Definition d_a_npc.cpp:3508
void setRotAngle()
Definition d_a_npc.cpp:3622
cXyz mJointPos[4]
Definition d_a_npc.h:1101
csXyz mRotAngle[4]
Definition d_a_npc.h:1106
void setParam(f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, s16, cXyz *)
Definition d_a_npc.cpp:3419
cXyz * getAttnPos()
Definition d_a_npc.h:1123
void setAttnPos(cXyz *i_attnPos)
Definition d_a_npc.h:1124
void calc(fopAc_ac_c *, Mtx, csXyz **, BOOL, int, BOOL)
Definition d_a_npc.cpp:3456
csXyz mAngularMoveDis[4]
Definition d_a_npc.h:1103
csXyz mMinAngle[4]
Definition d_a_npc.h:1104
void initCalc(fopAc_ac_c *, Mtx, cXyz *, csXyz *, f32 *, cXyz &, BOOL)
Definition d_a_npc.cpp:3530
void initialize()
Definition d_a_npc.cpp:3405
void update(cXyz *, csXyz *, f32 *)
Definition d_a_npc.cpp:3564
Definition d_a_npc.h:1017
f32 mNowOffsetY
Definition d_a_npc.h:1022
daNpcF_MatAnm_c()
Definition d_a_npc.h:1027
void initialize()
Definition d_a_npc.cpp:3219
void calc(J3DMaterial *) const
Definition d_a_npc.cpp:3231
void offEyeMoveFlag()
Definition d_a_npc.h:1034
f32 mNowOffsetX
Definition d_a_npc.h:1021
u8 field_0x105
Definition d_a_npc.h:1024
u8 mEyeMoveFlag
Definition d_a_npc.h:1023
void setNowOffsetX(float i_nowOffsetX)
Definition d_a_npc.h:1031
void onEyeMoveFlag()
Definition d_a_npc.h:1033
f32 field_0xF4
Definition d_a_npc.h:1019
~daNpcF_MatAnm_c()
Definition d_a_npc.cpp:5117
void setNowOffsetY(float i_nowOffsetY)
Definition d_a_npc.h:1032
f32 field_0xF8
Definition d_a_npc.h:1020
Definition d_a_npc.h:1127
virtual bool Delete()
Definition d_a_npc.cpp:5081
virtual bool IsDelete()
Definition d_a_npc.cpp:5097
virtual bool CreateHeap()
Definition d_a_npc.cpp:5071
~daNpcF_MoveBgActor_c()
Definition d_a_npc.cpp:5011
virtual bool Execute(f32(**)[3][4])
Definition d_a_npc.cpp:5086
virtual bool ToFore()
Definition d_a_npc.cpp:5102
virtual bool ToBack()
Definition d_a_npc.cpp:5107
virtual bool Draw()
Definition d_a_npc.cpp:5091
virtual bool Create()
Definition d_a_npc.cpp:5076
Definition d_a_npc.h:1055
void setRange(f32 i_range)
Definition d_a_npc.h:1096
void initialize()
Definition d_a_npc.cpp:3282
BOOL getBeforePos(cXyz &)
Definition d_a_npc.cpp:3357
BOOL setNextIdx()
Definition d_a_npc.cpp:3336
int getIdx()
Definition d_a_npc.h:1087
u8 mIsReversed
Definition d_a_npc.h:1058
f32 mPosDst
Definition d_a_npc.h:1062
void onReverse()
Definition d_a_npc.h:1094
int getBeforeIdx()
Definition d_a_npc.cpp:3349
int setPathInfo(u8, s8, u8)
Definition d_a_npc.cpp:3297
BOOL getDstPos(cXyz, cXyz &)
Definition d_a_npc.cpp:3378
int getNextIdx()
Definition d_a_npc.cpp:3341
void setIdx(int i_idx)
Definition d_a_npc.h:1088
bool mIsClosed
Definition d_a_npc.h:1059
BOOL chkClose()
Definition d_a_npc.h:1092
virtual ~daNpcF_Path_c()
Definition d_a_npc.h:1085
u8 getArg0(int i_idx)
Definition d_a_npc.h:1090
int getArg0()
Definition d_a_npc.h:1089
BOOL chkPassedDst(cXyz)
Definition d_a_npc.cpp:3322
cXyz mPosition
Definition d_a_npc.h:1064
f32 field_0x10
Definition d_a_npc.h:1063
BOOL chkPassed(cXyz)
Definition d_a_npc.cpp:3315
daNpcF_SPCurve_c mSPCurve
Definition d_a_npc.h:1065
BOOL chkReverse()
Definition d_a_npc.h:1093
BOOL getNextPos(cXyz &)
Definition d_a_npc.cpp:3368
daNpcF_Path_c()
Definition d_a_npc.h:1081
Vec getPntPos(int i_idx)
Definition d_a_npc.h:1091
dPath * mpRoomPath
Definition d_a_npc.h:1060
void reverse()
Definition d_a_npc.cpp:3327
dPath * getPathInfo()
Definition d_a_npc.h:1095
u16 mIdx
Definition d_a_npc.h:1057
f32 mRange
Definition d_a_npc.h:1061
void setNextIdxDst(cXyz)
Definition d_a_npc.cpp:3396
Definition d_a_npc.h:1037
virtual ~daNpcF_SPCurve_c()
Definition d_a_npc.h:1052
bool mIsReversed
Definition d_a_npc.h:1041
void initialize(dPath *, int)
Definition d_a_npc.cpp:3263
u16 field_0x02
Definition d_a_npc.h:1040
dStage_dPnt_c mPoints[96]
Definition d_a_npc.h:1043
daNpcF_SPCurve_c()
Definition d_a_npc.h:1048
bool mIsClosed
Definition d_a_npc.h:1042
u16 mNurbs
Definition d_a_npc.h:1039
Definition d_a_npc.h:772
bool mOrderNewEvt
Definition d_a_npc.h:850
u32 mAnmFlags
Definition d_a_npc.h:825
void playExpressionAnm(daNpcF_c::daNpcF_anmPlayData ***)
Definition d_a_npc.cpp:4129
bool mOrderSpeakEvt
Definition d_a_npc.h:846
void setDamage(int, int, int)
Definition d_a_npc.cpp:4264
int ctrlMsgAnm(int &, int &, fopAc_ac_c *, BOOL)
Definition d_a_npc.cpp:4283
cXyz field_0x8c0
Definition d_a_npc.h:791
virtual ~daNpcF_c()
Definition d_a_npc.h:959
s16 field_0x992
Definition d_a_npc.h:821
BOOL hitChk2(dCcD_Cyl *, BOOL, BOOL)
Definition d_a_npc.cpp:4237
csXyz mCurAngle
Definition d_a_npc.h:795
u8 getDistTableIdx(int, int)
Definition d_a_npc.cpp:4550
s16 field_0x990
Definition d_a_npc.h:820
J3DAnmTexPattern * getTexPtrnAnmP(char *, int)
Definition d_a_npc.cpp:3950
bool mTwilight
Definition d_a_npc.h:857
cXyz mHeadPos
Definition d_a_npc.h:794
bool field_0x9ec
Definition d_a_npc.h:849
bool field_0x9eb
Definition d_a_npc.h:848
u16 mMotionLoops
Definition d_a_npc.h:842
int mTotalDamageTimer
Definition d_a_npc.h:808
J3DAnmTevRegKey * getTevRegKeyAnmP(char *, int)
Definition d_a_npc.cpp:3961
f32 mTurnStepNum
Definition d_a_npc.h:814
s16 mMotionPhase
Definition d_a_npc.h:838
int mCutType
Definition d_a_npc.h:802
int mStaffID
Definition d_a_npc.h:801
static dCcD_SrcCyl mCcDCyl
Definition d_a_npc.h:1067
u8 field_0x9f6
Definition d_a_npc.h:859
void setRoomNo()
Definition d_a_npc.cpp:4008
f32 mExpressionMorfOverride
Definition d_a_npc.h:815
void setIntFlowNodeNo(int i_flowNodeNo)
Definition d_a_npc.h:990
int mAttnIdx
Definition d_a_npc.h:803
s16 mTurnStartAngle
Definition d_a_npc.h:822
mDoExt_btkAnm mBtkAnm
Definition d_a_npc.h:777
BOOL step(s16, int, int, int)
Definition d_a_npc.cpp:4503
BOOL talkProc(int *, BOOL, fopAc_ac_c **)
Definition d_a_npc.cpp:4433
virtual void setMotion(int i_motion, f32 i_morf, int i_restart)
Definition d_a_npc.cpp:5061
BOOL setBckAnm(J3DAnmTransform *i_bck, f32 i_rate, int i_attr, int i_start, int i_end, bool i_modify)
Definition d_a_npc.cpp:3975
f32 mExpressionMorf
Definition d_a_npc.h:816
BOOL chkActorInTalkArea(fopAc_ac_c *i_actorCheck, fopAc_ac_c *i_actorArea)
Definition d_a_npc.h:982
bool mIsDamaged
Definition d_a_npc.h:853
bool field_0x9ee
Definition d_a_npc.h:851
u8 field_0x9ef
Definition d_a_npc.h:852
mDoExt_McaMorfSO * mpMorf
Definition d_a_npc.h:774
BOOL chkPlayerInTalkArea(fopAc_ac_c *i_actor)
Definition d_a_npc.h:985
static dCcD_SrcSph mCcDSph
Definition d_a_npc.h:1082
dBgS_AcchCir mAcchCir
Definition d_a_npc.h:781
AnmFlags
Definition d_a_npc.h:872
@ ANM_FLAG_400
Definition d_a_npc.h:883
@ ANM_PAUSE_MORF
Definition d_a_npc.h:873
@ ANM_EXPRESSION_FLAGS
Definition d_a_npc.h:890
@ ANM_PLAY_BTP
Definition d_a_npc.h:882
@ ANM_FLAG_800
Definition d_a_npc.h:884
@ ANM_PAUSE_BPK
Definition d_a_npc.h:886
@ ANM_PLAY_BCK
Definition d_a_npc.h:881
@ ANM_PAUSE_ALL
Definition d_a_npc.h:892
@ ANM_PLAY_BTK
Definition d_a_npc.h:877
@ ANM_PAUSE_BRK
Definition d_a_npc.h:875
@ ANM_PAUSE_BTK
Definition d_a_npc.h:874
@ ANM_PAUSE_EXPRESSION
Definition d_a_npc.h:885
@ ANM_PAUSE_BCK
Definition d_a_npc.h:879
@ ANM_PLAY_BRK
Definition d_a_npc.h:878
@ ANM_PAUSE_BTP
Definition d_a_npc.h:880
@ ANM_PLAY_MORF
Definition d_a_npc.h:876
@ ANM_PLAY_BPK
Definition d_a_npc.h:887
@ ANM_MOTION_FLAGS
Definition d_a_npc.h:888
csXyz mHeadAngle
Definition d_a_npc.h:798
f32 field_0x984[3]
Definition d_a_npc.h:819
int mDamageTimer
Definition d_a_npc.h:807
int mTurnMode
Definition d_a_npc.h:813
s16 field_0x9d0
Definition d_a_npc.h:833
cXyz field_0x884
Definition d_a_npc.h:786
s16 mExpression
Definition d_a_npc.h:840
u8 field_0x9f1
Definition d_a_npc.h:854
cXyz field_0x8d8
Definition d_a_npc.h:793
BOOL execute()
Definition d_a_npc.cpp:3647
virtual BOOL ctrlBtk()
Definition d_a_npc.cpp:5046
u32 mPolySound
Definition d_a_npc.h:829
void onInterrupt(u8 param_0)
Definition d_a_npc.h:992
virtual bool setExpressionAnm(int i_idx, bool i_modify)
Definition d_a_npc.cpp:5051
BOOL turn(s16, f32, int)
Definition d_a_npc.cpp:4467
fopAc_ac_c * getAttnActorP(BOOL, fpcLyIt_JudgeFunc, f32, f32, f32, f32, s16, int, BOOL)
Definition d_a_npc.cpp:4574
cXyz field_0x89c
Definition d_a_npc.h:788
cXyz field_0x8a8
Definition d_a_npc.h:789
BOOL chkPointInArea(cXyz, cXyz, f32, f32, f32, s16)
Definition d_a_npc.cpp:4672
static void * srchAttnActor1(void *, void *)
Definition d_a_npc.cpp:3799
static u8 const mCcDObjInfo[48]
Definition d_a_npc.h:5142
s8 mReverb
Definition d_a_npc.h:845
BOOL chkActorInArea(fopAc_ac_c *, cXyz, cXyz, s16)
Definition d_a_npc.cpp:4373
virtual void setAttnPos()
Definition d_a_npc.cpp:5016
dBgS_LinChk field_0xad4
Definition d_a_npc.h:863
fopAc_ac_c * getEvtAreaTagP(int, int)
Definition d_a_npc.cpp:4556
void setAngle(s16)
Definition d_a_npc.cpp:4539
int mAttnActorTimer[5]
Definition d_a_npc.h:805
f32 mMotionMorfOverride
Definition d_a_npc.h:817
dMsgFlow_c mFlow
Definition d_a_npc.h:860
cXyz field_0x9b8
Definition d_a_npc.h:831
BOOL setBrkAnm(J3DAnmTevRegKey *i_brk, J3DModelData *i_modelData, f32 i_rate, int i_attr)
Definition d_a_npc.cpp:3996
BOOL chkActorInSpeakArea(fopAc_ac_c *i_actorCheck, fopAc_ac_c *i_actorArea)
Definition d_a_npc.h:976
static fopAc_ac_c * mFindActorPList[100]
Definition d_a_npc.h:997
s16 mExpressionPhase
Definition d_a_npc.h:836
cXyz getAttentionPos(fopAc_ac_c *)
Definition d_a_npc.cpp:4700
s16 mExpressionPrevPhase
Definition d_a_npc.h:837
csXyz field_0x908[3]
Definition d_a_npc.h:799
BOOL chkPlayerInSpeakArea(fopAc_ac_c *i_actor)
Definition d_a_npc.h:979
u16 mExpressionLoops
Definition d_a_npc.h:843
virtual void setExpression(int i_expression, f32 i_morf)
Definition d_a_npc.cpp:5066
LookMode
Definition d_a_npc.h:896
@ LOOK_ACTOR
Definition d_a_npc.h:901
@ LOOK_NONE
Definition d_a_npc.h:897
@ LOOK_PLAYER
Definition d_a_npc.h:899
@ LOOK_ATTN
Definition d_a_npc.h:902
@ LOOK_RESET
Definition d_a_npc.h:898
@ LOOK_PLAYER_TALK
Definition d_a_npc.h:900
void setCutType(int i_cutType)
Definition d_a_npc.h:991
static void * srchActor(void *, void *)
Definition d_a_npc.cpp:3815
J3DAnmTextureSRTKey * getTexSRTKeyAnmP(char *, int)
Definition d_a_npc.cpp:3956
static void tgHitCallBack(fopAc_ac_c *, dCcD_GObjInf *, fopAc_ac_c *, dCcD_GObjInf *)
Definition d_a_npc.cpp:3780
bool field_0x9ea
Definition d_a_npc.h:847
virtual void setParam()
Definition d_a_npc.cpp:5031
u32 field_0x9a4
Definition d_a_npc.h:827
cXyz field_0x890
Definition d_a_npc.h:787
cXyz field_0x9c4
Definition d_a_npc.h:832
virtual bool setMotionAnm(int i_idx, f32 i_morf)
Definition d_a_npc.cpp:5056
BOOL chkEndAnm(f32)
Definition d_a_npc.cpp:4015
cXyz mLookPos
Definition d_a_npc.h:785
void initialize()
Definition d_a_npc.cpp:3863
void changeEvent(char *, char *, u16, u16)
Definition d_a_npc.cpp:4344
virtual void drawOtherMdls()
Definition d_a_npc.cpp:5036
cXyz mLookatPos[3]
Definition d_a_npc.h:784
BOOL chkActorInSight(fopAc_ac_c *, f32)
Definition d_a_npc.cpp:4356
int mMsgTimer
Definition d_a_npc.h:806
u32 mHitodamaParticleKey[2]
Definition d_a_npc.h:828
static s32 mFindCount
Definition d_a_npc.h:998
s16 mMotion
Definition d_a_npc.h:841
csXyz mOldAngle
Definition d_a_npc.h:796
virtual void setCollisions()
Definition d_a_npc.h:967
csXyz mEyeAngle
Definition d_a_npc.h:797
dCcD_Stts mCcStts
Definition d_a_npc.h:780
static s16 mSrchActorName
Definition d_a_npc.h:999
daNpcF_ActorMngr_c mAttnActor[5]
Definition d_a_npc.h:783
void playMotionAnm(daNpcF_c::daNpcF_anmPlayData ***)
Definition d_a_npc.cpp:4164
int mTurnAmount
Definition d_a_npc.h:812
BOOL chkFindPlayer2(BOOL, s16)
Definition d_a_npc.cpp:4711
BOOL initTalk(int, fopAc_ac_c **)
Definition d_a_npc.cpp:4422
BOOL setBtpAnm(J3DAnmTexPattern *i_btp, J3DModelData *i_modelData, f32 i_rate, int i_attr)
Definition d_a_npc.cpp:3982
mDoExt_btpAnm mBtpAnm
Definition d_a_npc.h:776
int mBtpTimer
Definition d_a_npc.h:811
s16 mMotionPrevPhase
Definition d_a_npc.h:839
s16 mTurnTargetAngle
Definition d_a_npc.h:823
BOOL checkHide()
Definition d_a_npc.h:988
s16 mEventIdx
Definition d_a_npc.h:835
mDoExt_brkAnm mBrkAnm
Definition d_a_npc.h:778
void setEnvTevColor()
Definition d_a_npc.cpp:4002
f32 mGroundH
Definition d_a_npc.h:818
virtual BOOL main()
Definition d_a_npc.cpp:5026
daNpcF_ActorMngr_c field_0x824
Definition d_a_npc.h:782
mDoExt_bckAnm mBckAnm
Definition d_a_npc.h:775
void setHitodamaPrtcl()
Definition d_a_npc.cpp:4742
virtual BOOL drawDbgInfo()
Definition d_a_npc.cpp:5041
virtual void setMtx2()
Definition d_a_npc.cpp:3842
int draw(BOOL, BOOL, f32, _GXColorS10 *, BOOL)
Definition d_a_npc.cpp:3696
BOOL chkActorInSight2(fopAc_ac_c *, f32, s16)
Definition d_a_npc.cpp:4655
virtual void setMtx()
Definition d_a_npc.cpp:3826
bool mHide
Definition d_a_npc.h:855
s16 field_0x9d2
Definition d_a_npc.h:834
J3DAnmTransformKey * getTrnsfrmKeyAnmP(char *, int)
Definition d_a_npc.cpp:3945
u8 field_0x9f5
Definition d_a_npc.h:858
int mAttnChangeTimer
Definition d_a_npc.h:804
u16 field_0x998
Definition d_a_npc.h:824
dBgS_ObjAcch mAcch
Definition d_a_npc.h:779
void orderEvent(int, char *, u16, u16, u8, u16)
Definition d_a_npc.cpp:4327
BOOL setBtkAnm(J3DAnmTextureSRTKey *i_btk, J3DModelData *i_modelData, f32 i_rate, int i_attr)
Definition d_a_npc.cpp:3989
u8 field_0x9f3
Definition d_a_npc.h:856
u16 mOrderEvtNo
Definition d_a_npc.h:844
void setLookatMtx(int, int *, f32)
Definition d_a_npc.cpp:4197
int mEventTimer
Definition d_a_npc.h:810
cXyz field_0x8b4
Definition d_a_npc.h:790
virtual bool setExpressionBtp(int i_idx)
Definition d_a_npc.cpp:5112
int field_0x95c
Definition d_a_npc.h:809
csXyz mLookatAngle[3]
Definition d_a_npc.h:800
cBgS_GndChk mGndChk
Definition d_a_npc.h:861
BOOL setMcaMorfAnm(J3DAnmTransformKey *i_anm, f32 i_rate, f32 i_morf, int i_attr, int i_start, int i_end)
Definition d_a_npc.cpp:3967
void setIntDemander(fopAc_ac_c *i_actor)
Definition d_a_npc.h:989
BOOL chkActorInAttnArea(fopAc_ac_c *, fopAc_ac_c *, int)
Definition d_a_npc.cpp:4404
cXyz field_0x8cc
Definition d_a_npc.h:792
virtual void adjustShapeAngle()
Definition d_a_npc.cpp:5021
int mFlowNodeNo
Definition d_a_npc.h:830
u32 mShadowKey
Definition d_a_npc.h:826
dBgS_GndChk field_0xa80
Definition d_a_npc.h:862
BOOL playAllAnm()
Definition d_a_npc.cpp:4050
Definition d_a_npc.h:267
void Set(f32 param_1)
Definition d_a_npc.h:276
cXyz mPosition
Definition d_a_npc.h:270
virtual ~daNpcT_Hermite_c()
Definition d_a_npc.h:273
f32 field_0x10
Definition d_a_npc.h:271
f32 field_0x00
Definition d_a_npc.h:269
Definition m_Do_ext.h:113
static void daPy_getPlayerActorClass()
Definition d_a_b_gnd.cpp:2857
BOOL daNpcF_chkTmpBit(u32 i_idx)
Definition d_a_npc.cpp:4906
void daNpcT_offTmpBit(u32 i_idx)
Definition d_a_npc.cpp:2309
u8 daNpcT_getDistTableIdx(int param_0, int param_1)
Definition d_a_npc.cpp:2284
s16 daNpcF_getGroundAngle(cBgS_PolyInfo *, s16)
Definition d_a_npc.cpp:4881
void daNpcF_onEvtBit(u32 i_idx)
Definition d_a_npc.cpp:4901
BOOL daNpcF_chkEvtBit(u32 i_idx)
Definition d_a_npc.cpp:4896
void daNpcT_onTmpBit(u32 i_idx)
Definition d_a_npc.cpp:2304
BOOL daNpcF_chkPointInArea(cXyz, cXyz, cXyz, s16)
Definition d_a_npc.cpp:4967
void daNpcF_offTmpBit(u32 i_idx)
Definition d_a_npc.cpp:4916
BOOL daNpcF_pntVsLineSegmentLengthSquare2D(f32 i_pntX, f32 i_pntZ, f32 i_startX, f32 i_startZ, f32 i_endX, f32 i_endZ, f32 *o_projX, f32 *o_projZ, f32 *o_dist2)
Definition d_a_npc.cpp:4776
BOOL daNpcT_chkEvtBit(u32 i_idx)
Definition d_a_npc.cpp:2299
void daNpcT_onEvtBit(u32 i_idx)
Definition d_a_npc.cpp:2289
STATIC_ASSERT(sizeof(daNpcT_c)==0xE40)
BOOL daNpcF_chkPassed(cXyz i_pos, dPnt *i_points, u16 i_idx, u16 i_num, BOOL i_isClosed, BOOL i_isReversed)
Definition d_a_npc.cpp:4811
int daNpcF_getPlayerInfoFromPlayerList(int param_0, int i_roomNo, cXyz &param_2, csXyz &param_3)
Definition d_a_npc.cpp:4922
BOOL daNpcT_chkPointInArea(cXyz param_0, cXyz param_1, cXyz param_2, s16 param_3, int param_4)
Definition d_a_npc.cpp:2214
BOOL daNpcT_chkDoBtnIsSpeak(fopAc_ac_c *i_ActorP)
Definition d_a_npc.cpp:2249
SECTION_INIT void memset()
BOOL dComIfGs_wolfeye_effect_check()
Definition d_com_inf_game.cpp:2271
BOOL dPath_ChkClose(dPath *i_path)
Definition d_path.h:19
int i
Definition e_pow.c:165
@ fopAc_attn_SPEAK_e
Definition f_op_actor.h:89
@ fopAc_attn_TALK_e
Definition f_op_actor.h:87
BOOL fopAcM_IsActor(void *actor)
Definition f_op_actor_mng.h:304
void *(* fpcLyIt_JudgeFunc)(void *, void *)
Definition f_pc_layer_iter.h:14
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_obj_sekizoa.cpp:45
Definition d_a_hozelda.cpp:36
Definition d_a_hozelda.cpp:45
Definition d_a_npc_fguard.cpp:44
Definition d_a_hozelda.cpp:54
Definition d_a_hozelda.cpp:241
Definition d_a_hozelda.cpp:239
Definition d_a_hozelda.cpp:229
Definition d_a_hozelda.cpp:93
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
s16 x
Definition vec.h:19
s16 z
Definition vec.h:19
s16 y
Definition vec.h:19
Definition d_a_hozelda.cpp:18
f32 z
Definition vec.h:11
f32 x
Definition vec.h:11
f32 y
Definition vec.h:11
Definition d_a_hozelda.cpp:163
Definition d_a_obj_sekizoa.cpp:191
u8 distances[9]
Definition f_op_actor.h:177
Definition d_a_ep.cpp:138
Definition d_a_ep.cpp:134
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
void setall(s16 val)
Definition c_sxyz.h:27
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:115
Definition d_a_ep.cpp:120
Definition d_a_ep.cpp:114
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:81
Definition d_a_npc_fguard.cpp:74
Definition d_cc_d.h:92
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_sekizoa.cpp:318
Definition d_a_npc_cd2.cpp:35
u16 m_num
Definition d_path.h:11
dStage_dPnt_c * m_points
Definition d_path.h:16
Definition d_a_npc.h:24
Definition d_stage.h:294
Vec m_position
Definition d_stage.h:299
u8 mArg0
Definition d_stage.h:298
Definition d_a_npc.h:592
~daBaseNpc_matAnm_c()
Definition d_a_npc.cpp:3121
void calc(J3DMaterial *) const
Definition d_a_npc.cpp:2619
Definition d_a_npc.h:866
f32 morf
Definition d_a_npc.h:868
u16 idx
Definition d_a_npc.h:867
s32 numLoops
Definition d_a_npc.h:869
Definition d_a_obj_sekizoa.cpp:286
fopAc_ac_c * getActorP()
virtual ~daNpcT_ActorMngr_c()
Definition d_a_npc.h:38
daNpcT_ActorMngr_c()
Definition d_a_npc.h:36
void entry(fopAc_ac_c *)
u32 mActorID
Definition d_a_npc.h:28
Definition d_a_obj_sekizoa.cpp:282
int checkStagger()
Definition d_a_npc.h:236
s16 field_0x16
Definition d_a_npc.h:246
s16 getAngleX(int idx)
Definition d_a_npc.h:238
void setParam(fopAc_ac_c *, fopAc_ac_c *, s16)
Definition d_a_npc.cpp:1230
csXyz field_0x0[2]
Definition d_a_npc.h:243
s16 mStagger
Definition d_a_npc.h:245
int checkRebirth()
Definition d_a_npc.h:240
s16 getAngleZ(int idx)
Definition d_a_npc.h:239
f32 field_0xc[2]
Definition d_a_npc.h:244
void initialize()
Definition d_a_npc.h:226
bool mRebirth
Definition d_a_npc.h:247
Definition d_a_obj_sekizoa.cpp:272
u8 field_0x156
Definition d_a_npc.h:128
void clrDirectFlag()
Definition d_a_npc.h:174
csXyz mEyeAngle
Definition d_a_npc.h:119
csXyz field_0x132
Definition d_a_npc.h:120
void lookCamera(u8 isDirect)
Definition d_a_npc.h:207
u8 field_0x13c[4]
Definition d_a_npc.h:122
void lookNone(u8 isDirect)
Definition d_a_npc.h:197
daNpcT_ActorMngr_c mActrMngr
Definition d_a_npc.h:105
void setEyeAngleY(cXyz param_1, s16 param_2, int param_3, f32 param_4, s16 param_5)
Definition d_a_npc.h:151
daNpcT_JntAnm_c()
Definition d_a_npc.h:169
u8 field_0x144[4]
Definition d_a_npc.h:124
cXyz field_0x120
Definition d_a_npc.h:118
void calcJntRad(f32, f32, f32)
cXyz mRad[3]
Definition d_a_npc.h:114
virtual ~daNpcT_JntAnm_c()
Definition d_a_npc.h:172
csXyz field_0x150
Definition d_a_npc.h:127
cXyz field_0x8
Definition d_a_npc.h:106
cXyz field_0xe4[3]
Definition d_a_npc.h:115
cXyz field_0x14
Definition d_a_npc.h:107
void setEyeAngleX(cXyz param_1, f32 param_2, s16 param_3)
Definition d_a_npc.h:138
int setMode(int mode, int param_2)
Definition d_a_npc.h:177
cXyz field_0x114
Definition d_a_npc.h:117
cXyz field_0x24
Definition d_a_npc.h:109
f32 field_0x14c
Definition d_a_npc.h:126
cXyz * field_0x20
Definition d_a_npc.h:108
void setParam(fopAc_ac_c *, J3DModel *, cXyz *, int, int, int, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, cXyz *)
cXyz field_0x108
Definition d_a_npc.h:116
void lookPlayer(u8 isDirect)
Definition d_a_npc.h:202
void lookActor(fopAc_ac_c *param_1, f32 param_2, u8 isDirect)
Definition d_a_npc.h:212
cXyz field_0x30[3]
Definition d_a_npc.h:110
u8 mDirectFlag
Definition d_a_npc.h:129
cXyz field_0x54[3]
Definition d_a_npc.h:111
int getMode()
Definition d_a_npc.h:175
int field_0x140
Definition d_a_npc.h:123
u8 field_0x158
Definition d_a_npc.h:130
void calc(f32)
Definition d_a_npc.cpp:1214
int mMode
Definition d_a_npc.h:121
f32 field_0x148
Definition d_a_npc.h:125
void setDirect(u8 isDirect)
Definition d_a_npc.h:189
cXyz field_0x78[3]
Definition d_a_npc.h:112
cXyz field_0x9c[3]
Definition d_a_npc.h:113
Definition d_a_obj_sekizoa.cpp:268
f32 field_0xF4
Definition d_a_npc.h:43
void initialize()
Definition d_a_npc.cpp:638
u8 field_0x104
Definition d_a_npc.h:47
daNpcT_MatAnm_c()
Definition d_a_npc.h:51
virtual void calc(J3DMaterial *) const
Definition d_a_npc.cpp:650
f32 mTranslationY
Definition d_a_npc.h:46
u8 field_0x105
Definition d_a_npc.h:48
~daNpcT_MatAnm_c()
Definition d_a_npc.cpp:2489
f32 mTranslationX
Definition d_a_npc.h:45
f32 field_0xF8
Definition d_a_npc.h:44
Definition d_a_obj_sekizoa.cpp:98
s16 field_0x0
Definition d_a_npc.h:61
Definition d_a_obj_sekizoa.cpp:97
int play(u16, int *, f32 *)
Definition d_a_npc.cpp:690
int mOffset
Definition d_a_npc.h:93
f32 field_0x18
Definition d_a_npc.h:96
int field_0x14
Definition d_a_npc.h:95
int mStepNo
Definition d_a_npc.h:94
int getStepNo()
Definition d_a_npc.h:77
int field_0x4
Definition d_a_npc.h:91
int getNo()
Definition d_a_npc.h:76
daNpcT_MotionSeqMngr_c(sequenceStepData_c const *param_1, int param_2)
Definition d_a_npc.h:70
void setNo(int param_1, f32 param_2, int param_3, int param_4)
Definition d_a_npc.h:78
virtual ~daNpcT_MotionSeqMngr_c()
Definition d_a_npc.h:100
bool checkEntryNewMotion()
Definition d_a_npc.h:75
int mNo
Definition d_a_npc.h:92
sequenceStepData_c const * mpSeqData
Definition d_a_npc.h:90
bool mEndSequence
Definition d_a_npc.h:97
Definition d_a_obj_sekizoa.cpp:263
Vec getPntPos(int i_idx)
Definition d_a_npc.h:314
u8 mIsClosed
Definition d_a_npc.h:297
u16 mIdx
Definition d_a_npc.h:294
int chkClose()
Definition d_a_npc.h:316
f32 field_0x18
Definition d_a_npc.h:293
f32 field_0x14
Definition d_a_npc.h:292
u8 mDirection
Definition d_a_npc.h:296
int chkPassed2(cXyz, cXyz *, int, int)
Definition d_a_npc.cpp:1096
virtual ~daNpcT_Path_c()
Definition d_a_npc.h:312
void initialize()
void reverse()
Definition d_a_npc.cpp:848
int setPathInfo(u8, s8, u8)
Definition d_a_npc.cpp:812
u16 & getIdx()
Definition d_a_npc.h:328
int getDstPosH(cXyz, cXyz *, int, int)
Definition d_a_npc.cpp:895
int getDstPos(cXyz, cXyz *, int)
Definition d_a_npc.cpp:870
int setNextIdx(int)
Definition d_a_npc.cpp:859
u16 getNumPnts()
Definition d_a_npc.h:323
void hermite(cXyz &, cXyz &, cXyz &, cXyz &, daNpcT_Hermite_c &, cXyz &)
Definition d_a_npc.cpp:782
f32 field_0x10
Definition d_a_npc.h:291
bool chkReverse()
Definition d_a_npc.h:321
cXyz mPosition
Definition d_a_npc.h:290
int setNextPathInfo(s8, u8)
Definition d_a_npc.cpp:831
daNpcT_Path_c()
Definition d_a_npc.h:309
int chkPassed1(cXyz, int)
Definition d_a_npc.cpp:930
u16 field_0x1E
Definition d_a_npc.h:295
dPath * mpRoomPath
Definition d_a_npc.h:289
Definition d_a_obj_sekizoa.cpp:195
static int srchActor(void *, void *)
virtual void changeBck(int *, int *)
Definition d_a_npc.h:550
f32 field_0xdfc
Definition d_a_npc.h:407
u32 field_0xd94
Definition d_a_npc.h:381
u8 field_0xa88
Definition d_a_npc.h:359
dBgS_LinChk field_0xae0
Definition d_a_npc.h:362
daNpcT_motionAnmData_c const * field_0x56c
Definition d_a_npc.h:336
dBgS_GndChk field_0xa8c
Definition d_a_npc.h:361
dCcD_Stts field_0xa40
Definition d_a_npc.h:355
virtual void setAfterTalkMotion()
Definition d_a_npc.cpp:2385
virtual void setAttnPos()
Definition d_a_npc.cpp:2324
virtual bool getEyeballRMaterialNo()
Definition d_a_npc.h:514
void setBpkAnm(J3DAnmColor *, J3DModelData *, f32, int)
Definition d_a_npc.cpp:1358
J3DAnmTexPattern * getTexPtrnAnmP(char const *, int)
Definition d_a_npc.cpp:1292
s16 field_0xdc8
Definition d_a_npc.h:393
s8 field_0xe24
Definition d_a_npc.h:416
fopAc_ac_c * getShopItemTagP()
Definition d_a_npc.cpp:2136
virtual void afterMoved()
virtual bool setMotionAnm(int, f32, int)
mDoExt_btpAnm mBtpAnm
Definition d_a_npc.h:342
virtual s32 getEyeballMaterialNo()
Definition d_a_npc.h:515
f32 field_0xde8
Definition d_a_npc.h:402
J3DAnmColor * getColorAnmP(char const *, int)
Definition d_a_npc.cpp:1307
virtual ~daNpcT_c()
int execute()
u8 field_0xe2c
Definition d_a_npc.h:424
int field_0xdc4
Definition d_a_npc.h:392
void getAttnPos(fopAc_ac_c *)
Definition d_a_npc.cpp:2045
u16 field_0xe22
Definition d_a_npc.h:415
virtual bool afterSetFaceMotionAnm(int, int, f32, int)
Definition d_a_npc.h:545
void setEnvTevColor()
u8 field_0xe2b
Definition d_a_npc.h:423
void chkFindWolf(s16, int, int, f32, f32, f32, f32, int)
Definition d_a_npc.cpp:2033
static s16 mSrchName
Definition d_a_npc.h:578
void setMtx()
virtual void setCollision()
Definition d_a_npc.cpp:2319
virtual void setFootPos()
virtual void action()
Definition d_a_npc.cpp:2345
int field_0xdb8
Definition d_a_npc.h:389
request_of_phase_process_class field_0x8e0[10]
Definition d_a_npc.h:349
BOOL chkPointInArea(cXyz, cXyz, f32, f32, f32, s16)
cXyz field_0xd6c
Definition d_a_npc.h:375
int checkEndAnm(f32)
Definition d_a_npc.cpp:1571
daNpcT_ActorMngr_c field_0xb98
Definition d_a_npc.h:365
u8 field_0xe38
Definition d_a_npc.h:434
virtual void changeAnm(int *, int *)
Definition d_a_npc.h:549
daNpcT_ActorMngr_c field_0xba0
Definition d_a_npc.h:366
dCcD_Stts field_0x864
Definition d_a_npc.h:347
daNpcT_evtData_c const * field_0x570
Definition d_a_npc.h:337
f32 field_0xdf0
Definition d_a_npc.h:404
daNpcT_MotionSeqMngr_c field_0xb50
Definition d_a_npc.h:363
void initialize()
Definition d_a_npc.h:559
u8 field_0xe2a
Definition d_a_npc.h:422
cXyz field_0xd48
Definition d_a_npc.h:372
mDoExt_btkAnm mBtkAnm
Definition d_a_npc.h:343
s16 mStepNo
Definition d_a_npc.h:397
virtual bool checkChangeEvt()
Definition d_a_npc.cpp:2406
virtual void clrParam()
virtual s32 getFootLJointNo()
u8 field_0xe27
Definition d_a_npc.h:419
static u8 mFindActorPtrs[200]
Definition d_a_obj_sekizoa.cpp:258
cXyz field_0xe00
Definition d_a_npc.h:408
u8 field_0xe2d
Definition d_a_npc.h:425
virtual int checkChangeJoint(int)
void setCommander(fopAc_ac_c *param_0)
Definition d_a_npc.h:557
int ctrlMsgAnm(int *, int *, fopAc_ac_c *, int)
Definition d_a_npc.cpp:1796
virtual bool evtEndProc()
Definition d_a_npc.h:521
u32 field_0xa7c
Definition d_a_npc.h:356
daNpcT_c(daNpcT_faceMotionAnmData_c const *param_1, daNpcT_motionAnmData_c const *param_2, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_3, int param_4, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_5, int param_6, daNpcT_evtData_c const *param_7, char **param_8)
Definition d_a_npc.h:438
virtual void setFootPrtcl(cXyz *, f32, f32)
int mTimer
Definition d_a_npc.h:390
f32 field_0xdec
Definition d_a_npc.h:403
void setAngle(s16)
u8 field_0xe28
Definition d_a_npc.h:420
u8 field_0xda0[8]
Definition d_a_npc.h:384
virtual void drawOtherMdl()
Definition d_a_npc.cpp:2355
fopAc_ac_c * getNearestActorP(s16)
virtual bool chkXYItems()
Definition d_a_npc.h:534
s16 field_0xe1a
Definition d_a_npc.h:411
f32 field_0xdf4
Definition d_a_npc.h:405
daNpcT_faceMotionAnmData_c const * field_0x568
Definition d_a_npc.h:335
virtual void drawGhost()
Definition d_a_npc.h:544
J3DAnmTevRegKey * getTevRegKeyAnmP(char const *, int)
J3DAnmTransformKey * getTrnsfrmKeyAnmP(char const *, int)
char ** field_0x574
Definition d_a_npc.h:338
s16 field_0xdd4
Definition d_a_npc.h:396
int step(s16, int, int, int, int)
virtual s32 getNeckJointNo()
fopAc_ac_c * getEvtAreaTagP(int, int)
cXyz field_0xd54
Definition d_a_npc.h:373
virtual void afterJntAnm(int)
Definition d_a_npc.cpp:2365
u8 field_0xe33
Definition d_a_npc.h:429
u32 field_0xd98
Definition d_a_npc.h:382
u8 field_0xe37
Definition d_a_npc.h:433
mDoExt_brkAnm mBrkAnm
Definition d_a_npc.h:344
f32 field_0xdf8
Definition d_a_npc.h:406
void setPos(cXyz)
csXyz field_0xd8a
Definition d_a_npc.h:379
s16 field_0xe1c
Definition d_a_npc.h:412
virtual daNpcT_faceMotionAnmData_c getFaceMotionAnm(daNpcT_faceMotionAnmData_c param_1)
Definition d_a_npc.h:547
csXyz field_0xd78
Definition d_a_npc.h:376
int field_0xdac
Definition d_a_npc.h:386
csXyz field_0xd7e
Definition d_a_npc.h:377
void setRoomNo()
virtual bool checkCullDraw()
void evtChange()
void ctrlMotion()
Definition d_a_npc.cpp:1766
void getActorDistance(fopAc_ac_c *, int, int)
Definition d_a_npc.cpp:2084
u16 field_0xe20
Definition d_a_npc.h:414
static dCcD_SrcSph mCcDSph
Definition d_a_npc.h:1026
u8 field_0xe35
Definition d_a_npc.h:431
virtual void ctrlJoint(J3DJoint *, J3DModel *)
u16 field_0xe1e
Definition d_a_npc.h:413
daNpcT_MatAnm_c * field_0x96c
Definition d_a_npc.h:351
mDoExt_McaMorfSO * mpMorf[2]
Definition d_a_npc.h:339
virtual int checkRemoveJoint(int)
void chkWolfAction()
Definition d_a_npc.cpp:2028
virtual void ctrlBtk()
bool checkHide()
Definition d_a_npc.h:555
void setAngle(csXyz)
int field_0xdb4
Definition d_a_npc.h:388
u8 field_0xa89
Definition d_a_npc.h:360
void setBrkAnm(J3DAnmTevRegKey *, J3DModelData *, f32, int)
csXyz field_0xd84
Definition d_a_npc.h:378
int draw(int, int, f32, _GXColorS10 *, f32, int, int, int)
virtual void decTmr()
Definition d_a_npc.h:536
int setMcaMorfAnm(J3DAnmTransformKey *, f32, f32, int, int, int)
Definition d_a_npc.cpp:1320
daNpcT_JntAnm_c field_0xba8
Definition d_a_npc.h:367
void ctrlFaceMotion()
Definition d_a_npc.cpp:1740
void setBtkAnm(J3DAnmTextureSRTKey *, J3DModelData *, f32, int)
dPaPoT_c field_0x9c0
Definition d_a_npc.h:354
void playAllAnm()
Definition d_a_npc.cpp:1605
void setDamage(int, int, int)
Definition d_a_npc.cpp:1971
virtual bool afterSetMotionAnm(int, int, f32, int)
Definition d_a_npc.h:546
cBgS_GndChk field_0x930
Definition d_a_npc.h:350
virtual void twilight()
void setBtpAnm(J3DAnmTexPattern *, J3DModelData *, f32, int)
Definition d_a_npc.cpp:1337
u8 field_0xe26
Definition d_a_npc.h:418
s16 field_0xdca
Definition d_a_npc.h:394
cXyz field_0xd60
Definition d_a_npc.h:374
dBgS_AcchCir field_0x8a0
Definition d_a_npc.h:348
dBgS_ObjAcch field_0x68c
Definition d_a_npc.h:346
u8 field_0xe25
Definition d_a_npc.h:417
int talkProc(int *, int, fopAc_ac_c **, int)
u8 field_0xe2e[2]
Definition d_a_npc.h:426
virtual int evtProc()
virtual void changeBtk(int *, int *)
Definition d_a_npc.h:552
mDoExt_bckAnm mBckAnm
Definition d_a_npc.h:341
u32 field_0xd90
Definition d_a_npc.h:380
virtual s32 getFootRJointNo()
virtual int drawDbgInfo()
Definition d_a_npc.cpp:2360
virtual s32 getBackboneJointNo()
Definition d_a_npc.cpp:2380
virtual void ctrlSubFaceMotion(int)
Definition d_a_npc.h:505
virtual void beforeMove()
Definition d_a_npc.cpp:2340
static u8 const mCcDObjData[48]
Definition d_a_npc.h:2510
virtual void evtOrder()
void turn(s16, int, int)
Definition d_a_npc.cpp:2060
cXyz field_0xd24
Definition d_a_npc.h:369
u8 field_0xe29
Definition d_a_npc.h:421
cXyz field_0xd30
Definition d_a_npc.h:370
u32 field_0xda8
Definition d_a_npc.h:385
void chkFindActor(fopAc_ac_c *, int, s16)
Definition d_a_npc.cpp:2018
void deleteRes(s8 const *, char const **)
Z2Creature field_0x580
Definition d_a_npc.h:340
u8 field_0xe34
Definition d_a_npc.h:430
virtual int getEyeballLMaterialNo()
Definition d_a_npc.h:513
virtual void changeBtp(int *, int *)
Definition d_a_npc.h:551
u8 field_0x970[4]
Definition d_a_npc.h:352
u8 field_0xe32
Definition d_a_npc.h:428
u8 field_0xe36
Definition d_a_npc.h:432
void setBckAnm(J3DAnmTransform *, f32, int, int, int, bool)
Definition d_a_npc.cpp:1313
virtual bool evtTalk()
Definition d_a_npc.cpp:2401
cXyz field_0xe0c
Definition d_a_npc.h:409
f32 field_0xde0
Definition d_a_npc.h:400
s16 field_0xe18
Definition d_a_npc.h:410
f32 field_0xa80
Definition d_a_npc.h:357
f32 field_0xde4
Definition d_a_npc.h:401
virtual void setParam()
Definition d_a_npc.cpp:2350
BOOL srchPlayerActor()
Definition d_a_npc.cpp:2039
f32 field_0xa84
Definition d_a_npc.h:358
dMsgFlow_c mFlow
Definition d_a_npc.h:353
J3DAnmTransform * getTrnsfrmAnmP(char const *, int)
Definition d_a_npc.cpp:1281
u16 field_0xe30
Definition d_a_npc.h:427
int mCutType
Definition d_a_npc.h:387
int loadRes(s8 const *, char const **)
void calcSpeedAndAngle(cXyz, int, s16, s16)
Definition d_a_npc.cpp:2074
static void tgHitCallBack(fopAc_ac_c *, dCcD_GObjInf *, fopAc_ac_c *, dCcD_GObjInf *)
virtual bool evtCutProc()
Definition d_a_npc.cpp:2390
int initTalk(int, fopAc_ac_c **)
fopAc_ac_c * hitChk(dCcD_GObjInf *, u32)
Definition d_a_npc.cpp:1951
u8 field_0xdcc[10]
Definition d_a_npc.h:395
int field_0xdc0
Definition d_a_npc.h:391
f32 field_0xddc
Definition d_a_npc.h:399
void setHitodamaPrtcl()
Definition d_a_npc.cpp:2163
s16 checkStep()
Definition d_a_npc.h:556
static u8 mCcDCyl[68]
Definition d_a_obj_sekizoa.cpp:1011
BOOL chkActorInSight(fopAc_ac_c *, f32, s16)
Definition d_a_npc.cpp:1981
virtual s32 getHeadJointNo()
Definition d_a_npc.cpp:2370
J3DAnmTextureSRTKey * getTexSRTKeyAnmP(char const *, int)
u32 mMsgId
Definition d_a_npc.h:383
mDoExt_bpkAnm mBpkAnm
Definition d_a_npc.h:345
bool setFaceMotionAnm(int, bool)
cXyz field_0xd3c
Definition d_a_npc.h:371
virtual daNpcT_motionAnmData_c getMotionAnm(daNpcT_motionAnmData_c param_1)
Definition d_a_npc.h:548
s16 field_0xdda
Definition d_a_npc.h:398
static s32 mFindCount
Definition d_a_npc.h:579
daNpcT_MotionSeqMngr_c field_0xb74
Definition d_a_npc.h:364
daNpcT_DmgStagger_c field_0xd08
Definition d_a_npc.h:368
Definition d_a_obj_sekizoa.cpp:105
int num
Definition d_a_npc.h:252
const char * eventName
Definition d_a_npc.h:251
Definition d_a_obj_sekizoa.cpp:95
u32 field_0x18
Definition d_a_npc.h:257
u32 field_0x0[6]
Definition d_a_npc.h:256
Definition d_a_obj_sekizoa.cpp:107
u32 field_0x18
Definition d_a_npc.h:264
u32 field_0x0[6]
Definition d_a_npc.h:263
Definition d_a_npc.h:260
Definition d_a_npc.h:13
int fileIdx
Definition d_a_npc.h:14
int arcIdx
Definition d_a_npc.h:15
Definition d_a_npc.h:18
int attr
Definition d_a_npc.h:20
int fileIdx
Definition d_a_npc.h:19
int arcIdx
Definition d_a_npc.h:21
Definition d_a_ep.cpp:19
actor_attention_types attention_info
Definition f_op_actor.h:231
Definition d_a_npc_fguard.cpp:23
Definition d_a_hozelda.cpp:56
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:40
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
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 short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8