Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
m_Do_ext.h
Go to the documentation of this file.
1#ifndef M_DO_M_DO_EXT_H
2#define M_DO_M_DO_EXT_H
3
7#include "m_Do/m_Do_audio.h"
8#include "m_Do/m_Do_mtx.h"
9
10class JKRArchive;
11class JKRAssertHeap;
12class JKRExpHeap;
13class JKRHeap;
14class JKRSolidHeap;
15struct ResTIMG;
16class Z2Creature;
17
18class mDoExt_baseAnm {
19public:
21 /* 8000D320 */ int initPlay(s16 i_frameMax, int i_attribute, f32 i_rate, s16 i_startF,
22 s16 i_endF);
23 /* 8000D428 */ int play();
24
27 void setPlaySpeed(f32 speed) { mFrameCtrl.setRate(speed); }
35 bool isStop() { return mFrameCtrl.checkState(1) || mFrameCtrl.getRate() == 0.0f; }
36 void reset() { mFrameCtrl.reset(); }
38
39private:
41}; // Size: 0x14
42
44public:
47
48 void* getBas() { return mBas; }
49
50private:
51 /* 0x28 */ void* mBas;
52};
53
54class mDoExt_btkAnm : public mDoExt_baseAnm {
55public:
60
63 entry(&i_modelData->getMaterialTable(), i_frame);
64 }
70
71 int remove(J3DModelData* i_modelData) { return i_modelData->removeTexMtxAnimator(mpAnm); }
74
75 J3DAnmTextureSRTKey* getBtkAnm() const { return mpAnm; }
76
77private:
79}; // Size: 0x18
80
82
83class mDoExt_brkAnm : public mDoExt_baseAnm {
84public:
89
92 entry(&i_modelData->getMaterialTable(), i_frame);
93 }
94
100
101 int remove(J3DModelData* i_modelData) { return i_modelData->removeTevRegAnimator(mpAnm); }
104
105 J3DAnmTevRegKey* getBrkAnm() const { return mpAnm; }
106
107private:
109}; // Size: 0x18
110
112
114public:
116 /* 8000D47C */ int init(J3DMaterialTable* i_matTable, J3DAnmColor* i_bpk, int i_anmPlay,
118 /* 8000D518 */ void entry(J3DMaterialTable* i_matTable, f32 i_frame);
119
122 entry(&i_modelData->getMaterialTable(), i_frame);
123 }
124
130
131 int remove(J3DModelData* i_modelData) { return i_modelData->removeMatColorAnimator(mpAnm); }
133
134private:
135 /* 0x14 */ J3DAnmColor* mpAnm;
136}; // Size: 0x18
137
139
140class mDoExt_bckAnm : public mDoExt_baseAnm {
141public:
143 /* 8000D7DC */ int init(J3DAnmTransform* i_bck, int i_play, int i_attr, f32 i_rate,
145 /* 8000D990 */ void changeBckOnly(J3DAnmTransform* i_bck);
146 /* 8000D9CC */ void entry(J3DModelData* i_modelData, f32 i_frame);
147 /* 8000D9E8 */ void entryJoint(J3DModelData* i_modelData, u16 i_jntNo, f32 i_frame);
148
150
152 i_modelData->getJointNodePointer(0)->setMtxCalc(NULL);
153 }
154
156
158 J3DJoint* mpJnt = i_modelData->getJointNodePointer(i_idx);
159 mpJnt->setMtxCalc(0);
160 }
161
162private:
165}; // Size: 0x1C
166
168
169class mDoExt_btpAnm : public mDoExt_baseAnm {
170public:
175
178 entry(&i_modelData->getMaterialTable(), i_frame);
179 }
180
186
187 int remove(J3DModelData* i_modelData) { return i_modelData->removeTexNoAnimator(mpAnm); }
188
189private:
191};
192
194public:
196 mpAnm = NULL;
197 }
198
199 /* 8000DA08 */ int init(J3DDeformData* i_deformData, J3DAnmCluster* i_blk, int i_anmPlay,
201
203
204private:
205 /* 0x14 */ J3DAnmCluster* mpAnm;
206};
207
208class J3DTransformInfo;
209
211public:
212 /* 80140DF0 */ ~mDoExt_AnmRatioPack();
213 /* 80140E2C */ mDoExt_AnmRatioPack();
214
216 f32 getRatio() { return mRatio; }
219
220private:
221 /* 0x0 */ f32 mRatio;
223}; // Size: 0x8
224
226public:
227 /* 8000E654 */ mDoExt_invJntPacket() {}
228
229 /* 80012220 */ virtual void draw();
230 /* 8000E5F8 */ virtual ~mDoExt_invJntPacket() {}
231
237
238private:
239 /* 0x10 */ J3DModel* field_0x10;
240 /* 0x14 */ u16 field_0x14;
241 /* 0x16 */ u8 field_0x16;
242}; // Size: 0x18
243
245public:
246 /* 8000E53C */ int create(J3DModel* i_model, u8 param_1);
247 /* 8000E6C8 */ void entryJoint(cXyz*);
248 /* 8000E7C0 */ void entryDL(cXyz*);
249
250 /* 0x0 */ J3DModel* mModel;
252};
253
255public:
257};
258
260public:
261 virtual int execute(u16, J3DTransformInfo*) = 0;
262};
263
265public:
266 virtual void execute(u16) = 0;
267};
268
269class mDoExt_morf_c
270 : public J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya> {
271public:
272 /* 8000F950 */ mDoExt_morf_c();
273 /* 8000FB7C */ void setMorf(f32 i_morf);
274 /* 8000FBC0 */ void frameUpdate();
275
276 /* 8000FAE8 */ virtual ~mDoExt_morf_c();
277
281 void setPlayMode(int mode) { mFrameCtrl.setAttribute(mode); }
282 BOOL isStop() { return mFrameCtrl.checkState(1) || mFrameCtrl.getRate() == 0.0f; }
283 bool isLoop() { return mFrameCtrl.checkState(2); }
291 void setPlaySpeed(f32 speed) { mFrameCtrl.setRate(speed); }
297
298 /* 0x04 */ J3DModel* mpModel;
302 /* 0x24 */ Quaternion* mpQuat;
303 /* 0x28 */ f32 mCurMorf;
304 /* 0x2C */ f32 mPrevMorf;
305 /* 0x30 */ f32 mMorfStep;
306 /* 0x34 */ f32 field_0x34;
307};
308
309class mDoExt_McaMorfSO : public mDoExt_morf_c {
310public:
313 int, Z2Creature*, u32, u32);
315 J3DAnmTransform*, int, f32, int, int, Z2Creature*, u32, u32);
316 /* 80010E70 */ void setAnm(J3DAnmTransform* i_anm, int i_attr, f32 i_morf, f32 i_rate,
318 /* 800110B0 */ int play(u32, s8);
319 /* 80011154 */ void updateDL();
320 /* 800111C0 */ void entryDL();
321 /* 800111EC */ void modelCalc();
322 /* 80011250 */ void getTransform(u16, J3DTransformInfo*);
323 /* 80011310 */ void stopZelAnime();
324
325 /* 80010888 */ virtual ~mDoExt_McaMorfSO();
326 /* 80010B68 */ virtual void calc();
327
328 J3DModel* getModel() { return mpModel; }
329 void offMorfNone() { mMorfNone = false; }
330 void onMorfNone() { mMorfNone = true; }
333
334private:
338 /* 0x4C */ Z2Creature* mpSound;
339 /* 0x50 */ void* mpBas;
340 /* 0x54 */ bool mTranslate;
341 /* 0x55 */ bool mMorfNone;
342};
343
345public:
348 int, void*, u32, u32);
350 J3DAnmTransform*, int, f32, int, int, int, void*, u32, u32);
351 /* 8001037C */ void setAnm(J3DAnmTransform* i_bck, int i_mode, f32 i_morf, f32 i_speed, f32 i_startF, f32 i_endF, void* i_bas);
352 /* 800105C8 */ u32 play(Vec*, u32, s8);
353 /* 80010680 */ void entryDL();
354 /* 800106AC */ void modelCalc();
355 /* 80010710 */ void getTransform(u16, J3DTransformInfo*);
356
357 /* 8000FD10 */ virtual ~mDoExt_McaMorf();
358 /* 80010074 */ virtual void calc();
359
360 J3DModel* getModel() { return mpModel; }
361
362private:
367 /* 0x50 */ bool field_0x50;
368 /* 0x51 */ bool field_0x51;
369 /* 0x52 */ bool field_0x52;
370};
371
373public:
376 int, f32, int, int, Z2Creature*, u32, u32);
377 /* 80011464 */ void create(J3DModelData*, mDoExt_McaMorfCallBack1_c*,
379 f32, int, int, Z2Creature*, u32, u32);
380 /* 800116B4 */ void ERROR_EXIT();
381 /* 80011D70 */ void setAnm(J3DAnmTransform*, J3DAnmTransform*, f32, int, f32, f32, f32, f32);
382 /* 80011FCC */ void setAnmRate(f32);
383 /* 800120A0 */ int play(u32, s8);
384 /* 80012144 */ void entryDL();
385 /* 80012170 */ void modelCalc();
386 /* 800121E8 */ void stopZelAnime();
387
388 /* 800113FC */ virtual ~mDoExt_McaMorf2();
389 /* 800116F4 */ virtual void calc();
390
391private:
395 /* 0x44 */ f32 field_0x44;
396 /* 0x48 */ Z2Creature* mpSound;
397 /* 0x4C */ void* mpBas;
398};
399
401public:
402 /* 8000F848 */ void initOldFrameMorf(f32, u16, u16);
403 /* 8000F8CC */ void decOldFrameMorfCounter();
404
417
418 bool getOldFrameFlg() { return mOldFrameFlg; }
419 void onOldFrameFlg() { mOldFrameFlg = true; }
420 void offOldFrameFlg() { mOldFrameFlg = false; }
427
428private:
429 /* 0x00 */ bool mOldFrameFlg;
431 /* 0x08 */ f32 field_0x8;
432 /* 0x0C */ f32 mOldFrameRate;
433 /* 0x10 */ f32 field_0x10;
434 /* 0x14 */ f32 field_0x14;
439}; // Size: 0x24
440
442 : public J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya> {
444 mNum = num;
446 for (int i = 0; i < mNum; i++) {
447 if (!mAnmRatio[i].getAnmTransform()) {
448 mAnmRatio[i].setRatio(0.0f);
449 }
450 }
451 }
452
454 f32 getRatio(int i) { return mAnmRatio[i].getRatio(); }
455
456 /* 80014F3C */ virtual ~mDoExt_MtxCalcAnmBlendTbl() {}
457 /* 8000F26C */ virtual void calc();
458
459 /* 0x4 */ int mNum;
461}; // Size: 0x0C
462
464
476
478
480public:
481 /* 800123D0 */ void init(u16, int, int);
482 /* 800126BC */ mDoExt_3Dline_c();
483
484 /* 0x00 */ cXyz* field_0x0;
485 /* 0x04 */ f32* field_0x4;
486 /* 0x08 */ cXyz* field_0x8;
487 /* 0x0C */ cXyz* field_0xc;
488 /* 0x10 */ void* field_0x10;
489 /* 0x14 */ void* field_0x14;
490 /* 0x18 */ f32* field_0x18;
491 /* 0x1C */ f32* field_0x1c;
492};
493
495public:
496 virtual int getMaterialID() = 0;
497 virtual void setMaterial() = 0;
498 virtual void draw() = 0;
499
501};
502
504public:
506
507 void reset() { mp3DlineMat = NULL; }
509
510 /* 80014738 */ void setMat(mDoExt_3DlineMat_c*);
511 virtual void draw();
513
514private:
516};
517
518class dKy_tevstr_c;
520public:
521 /* 80013360 */ int init(u16, u16, ResTIMG*, int);
522 /* 80013FB0 */ void update(int, GXColor&, dKy_tevstr_c*);
523 /* 8001373C */ void update(int, f32, GXColor&, u16, dKy_tevstr_c*);
524 /* 80014E7C */ int getMaterialID();
525 /* 800134F8 */ void setMaterial();
526 /* 800135D0 */ void draw();
527
530
531private:
532 /* 0x08 */ GXTexObj field_0x8;
533 /* 0x28 */ GXColor field_0x28;
535 /* 0x30 */ u16 field_0x30;
536 /* 0x32 */ u16 field_0x32;
537 /* 0x34 */ u16 field_0x34;
538 /* 0x36 */ u8 field_0x36;
540};
541
543public:
544 /* 800125E0 */ int init(u16, u16, int);
545 /* 80012874 */ void update(int, f32, _GXColor&, u16, dKy_tevstr_c*);
546 /* 80012E3C */ void update(int, _GXColor&, dKy_tevstr_c*);
547
548 /* 80014E84 */ virtual int getMaterialID();
549 /* 800126C0 */ virtual void setMaterial();
550 /* 80012774 */ virtual void draw();
551
554
555private:
556 /* 0x08 */ GXColor field_0x8;
558 /* 0x10 */ u16 field_0x10;
559 /* 0x12 */ u16 field_0x12;
560 /* 0x14 */ u16 field_0x14;
561 /* 0x16 */ u8 field_0x16;
563};
564
566public:
573
574 virtual void draw();
576
577 /* 0x10 */ cXyz mPosition;
578 /* 0x1C */ cXyz mSize;
579 /* 0x28 */ csXyz mAngle;
580 /* 0x2E */ GXColor mColor;
581};
582
584public:
593
594 virtual void draw();
596
597 /* 0x10 */ cXyz mPosition;
598 /* 0x1C */ f32 mRadius;
599 /* 0x20 */ f32 mHeight;
600 /* 0x24 */ GXColor mColor;
601 /* 0x28 */ u8 field_0x28;
602};
603
605 i_modelData->getJointNodePointer(0)->setMtxCalc(NULL);
606}
607
645void mDoExt_setAraCacheSize(u32 size);
653
654struct JUTFont;
659
660extern JKRExpHeap* zeldaHeap;
661extern JKRExpHeap* gameHeap;
662extern JKRExpHeap* archiveHeap;
663extern JKRExpHeap* commandHeap;
664
665#endif /* M_DO_M_DO_EXT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
void setFrame(f32 frame)
Definition J3DAnimation.h:473
Definition J3DAnimation.h:811
Definition J3DAnimation.h:693
Definition J3DCluster.h:74
Definition J3DPacket.h:100
Definition JKRArchive.h:57
Definition JKRAssertHeap.h:10
Definition JKRHeap.h:16
Definition JKRSolidHeap.h:10
Definition JUTFont.h:69
Definition Z2SoundObject.h:44
Definition m_Do_ext.h:542
u16 field_0x12
Definition m_Do_ext.h:559
u16 field_0x10
Definition m_Do_ext.h:558
dKy_tevstr_c * field_0xc
Definition m_Do_ext.h:557
virtual void setMaterial()
Definition m_Do_ext.cpp:1760
void update(int, f32, _GXColor &, u16, dKy_tevstr_c *)
Definition m_Do_ext.cpp:1782
cXyz * getPos(int param_0)
Definition m_Do_ext.h:552
GXColor field_0x8
Definition m_Do_ext.h:556
virtual int getMaterialID()
Definition m_Do_ext.cpp:2152
u16 field_0x14
Definition m_Do_ext.h:560
u8 field_0x16
Definition m_Do_ext.h:561
virtual void draw()
Definition m_Do_ext.cpp:1776
mDoExt_3Dline_c * field_0x18
Definition m_Do_ext.h:562
f32 * getSize(int param_0)
Definition m_Do_ext.h:553
Definition m_Do_ext.h:519
GXTexObj field_0x8
Definition m_Do_ext.h:532
void draw()
Definition m_Do_ext.cpp:1818
u8 field_0x36
Definition m_Do_ext.h:538
GXColor field_0x28
Definition m_Do_ext.h:533
u16 field_0x30
Definition m_Do_ext.h:535
dKy_tevstr_c * field_0x2c
Definition m_Do_ext.h:534
void update(int, GXColor &, dKy_tevstr_c *)
Definition m_Do_ext.cpp:1831
int getMaterialID()
Definition m_Do_ext.cpp:2147
u16 field_0x34
Definition m_Do_ext.h:537
mDoExt_3Dline_c * field_0x38
Definition m_Do_ext.h:539
f32 * getSize(int i_idx)
Definition m_Do_ext.h:529
u16 field_0x32
Definition m_Do_ext.h:536
cXyz * getPos(int i_idx)
Definition m_Do_ext.h:528
void setMaterial()
Definition m_Do_ext.cpp:1800
Definition m_Do_ext.h:503
mDoExt_3DlineMatSortPacket()
Definition m_Do_ext.h:505
virtual ~mDoExt_3DlineMatSortPacket()
Definition m_Do_ext.cpp:2142
void setMatDark(mDoExt_3DlineMat_c *i_mat)
Definition m_Do_ext.h:508
void reset()
Definition m_Do_ext.h:507
mDoExt_3DlineMat_c * mp3DlineMat
Definition m_Do_ext.h:515
virtual void draw()
Definition m_Do_ext.cpp:1842
void setMat(mDoExt_3DlineMat_c *)
Definition m_Do_ext.cpp:1837
Definition m_Do_ext.h:494
virtual int getMaterialID()=0
mDoExt_3DlineMat_c * field_0x4
Definition m_Do_ext.h:500
virtual void draw()=0
virtual void setMaterial()=0
Definition m_Do_ext.h:479
f32 * field_0x18
Definition m_Do_ext.h:490
cXyz * field_0xc
Definition m_Do_ext.h:487
cXyz * field_0x0
Definition m_Do_ext.h:484
mDoExt_3Dline_c()
Definition m_Do_ext.cpp:1755
cXyz * field_0x8
Definition m_Do_ext.h:486
f32 * field_0x1c
Definition m_Do_ext.h:491
f32 * field_0x4
Definition m_Do_ext.h:485
void * field_0x10
Definition m_Do_ext.h:488
void * field_0x14
Definition m_Do_ext.h:489
Definition m_Do_ext.h:372
virtual void calc()
Definition m_Do_ext.cpp:1657
int play(u32, s8)
Definition m_Do_ext.cpp:1692
void setAnmRate(f32)
Definition m_Do_ext.cpp:1669
void ERROR_EXIT()
Definition m_Do_ext.cpp:1642
void modelCalc()
Definition m_Do_ext.cpp:1714
f32 field_0x44
Definition m_Do_ext.h:395
void entryDL()
Definition m_Do_ext.cpp:1707
void stopZelAnime()
Definition m_Do_ext.cpp:1731
virtual ~mDoExt_McaMorf2()
Definition m_Do_ext.cpp:1627
mDoExt_McaMorfCallBack1_c * mpCallback1
Definition m_Do_ext.h:392
J3DAnmTransform * field_0x40
Definition m_Do_ext.h:394
mDoExt_McaMorfCallBack2_c * mpCallback2
Definition m_Do_ext.h:393
void setAnm(J3DAnmTransform *, J3DAnmTransform *, f32, int, f32, f32, f32, f32)
Definition m_Do_ext.cpp:1663
void * mpBas
Definition m_Do_ext.h:397
Z2Creature * mpSound
Definition m_Do_ext.h:396
void create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, J3DAnmTransform *, int, f32, int, int, Z2Creature *, u32, u32)
Definition m_Do_ext.cpp:1634
Definition m_Do_ext.h:344
J3DModel * getModel()
Definition m_Do_ext.h:360
void modelCalc()
Definition m_Do_ext.cpp:1277
mDoExt_McaMorfCallBack2_c * mpCallback2
Definition m_Do_ext.h:364
virtual ~mDoExt_McaMorf()
Definition m_Do_ext.cpp:1064
cXyz mTranslateScale
Definition m_Do_ext.h:365
virtual void calc()
Definition m_Do_ext.cpp:1152
void entryDL()
Definition m_Do_ext.cpp:1270
mDoExt_McaMorfCallBack1_c * mpCallback1
Definition m_Do_ext.h:363
bool field_0x52
Definition m_Do_ext.h:369
int create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, int, f32, int, int, int, void *, u32, u32)
Definition m_Do_ext.cpp:1073
void setAnm(J3DAnmTransform *i_bck, int i_mode, f32 i_morf, f32 i_speed, f32 i_startF, f32 i_endF, void *i_bas)
Definition m_Do_ext.cpp:1219
mDoExt_zelAnime * mpSound
Definition m_Do_ext.h:366
void getTransform(u16, J3DTransformInfo *)
Definition m_Do_ext.cpp:1290
u32 play(Vec *, u32, s8)
Definition m_Do_ext.cpp:1259
bool field_0x51
Definition m_Do_ext.h:368
bool field_0x50
Definition m_Do_ext.h:367
Definition m_Do_ext.h:193
J3DAnmCluster * mpAnm
Definition m_Do_ext.h:205
J3DAnmCluster * getBlkAnm()
Definition m_Do_ext.h:202
mDoExt_blkAnm()
Definition m_Do_ext.h:195
Definition m_Do_ext.h:113
int init(J3DModelData *i_modelData, J3DAnmColor *i_bpk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
Definition m_Do_ext.h:125
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:121
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:131
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
Definition m_Do_ext.cpp:123
J3DAnmColor * mpAnm
Definition m_Do_ext.h:135
J3DAnmColor * getBpkAnm()
Definition m_Do_ext.h:132
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:120
mDoExt_bpkAnm()
Definition m_Do_ext.h:115
Definition m_Do_ext.h:565
csXyz mAngle
Definition m_Do_ext.h:579
cXyz mSize
Definition m_Do_ext.h:578
cXyz mPosition
Definition m_Do_ext.h:577
GXColor mColor
Definition m_Do_ext.h:580
virtual ~mDoExt_cubePacket()
Definition m_Do_ext.h:575
virtual void draw()
Definition m_Do_ext.cpp:1894
mDoExt_cubePacket(cXyz &i_position, cXyz &i_size, csXyz &i_angle, const GXColor &i_color)
Definition m_Do_ext.h:567
Definition m_Do_ext.h:583
f32 mHeight
Definition m_Do_ext.h:599
cXyz mPosition
Definition m_Do_ext.h:597
virtual void draw()
Definition m_Do_ext.cpp:1908
u8 field_0x28
Definition m_Do_ext.h:601
virtual ~mDoExt_cylinderPacket()
Definition m_Do_ext.h:595
f32 mRadius
Definition m_Do_ext.h:598
GXColor mColor
Definition m_Do_ext.h:600
mDoExt_cylinderPacket(cXyz &i_position, f32 i_radius, f32 i_height, const GXColor &i_color, u8 param_4)
Definition m_Do_ext.h:585
Definition m_Do_ext.h:225
virtual ~mDoExt_invJntPacket()
Definition m_Do_ext.h:230
u8 field_0x16
Definition m_Do_ext.h:241
void setJoint(J3DModel *i_model, u16 param_1, u8 param_2)
Definition m_Do_ext.h:232
virtual void draw()
mDoExt_invJntPacket()
Definition m_Do_ext.h:227
u16 field_0x14
Definition m_Do_ext.h:240
J3DModel * field_0x10
Definition m_Do_ext.h:239
Definition m_Do_ext.h:43
void * getBas()
Definition m_Do_ext.h:48
void * mBas
Definition m_Do_ext.h:51
mDoExt_transAnmBas(void *bas)
Definition m_Do_ext.h:45
virtual ~mDoExt_transAnmBas()
Definition m_Do_ext.h:46
Definition m_Do_ext.h:254
void * field_0x48
Definition m_Do_ext.h:256
static SECTION_RODATA u8 const heapSize[20]
Definition d_a_cstatue.cpp:582
static initFunc init[]
Definition d_menu_collect.cpp:42
int i
Definition e_pow.c:165
JKRExpHeap * mDoExt_getZeldaHeap()
Definition m_Do_ext.cpp:650
JKRExpHeap * mDoExt_getArchiveHeap()
Definition m_Do_ext.cpp:678
JKRExpHeap * archiveHeap
Definition m_Do_ext.cpp:668
void mDoExt_setupStageTexture(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:550
void mDoExt_restoreCurrentHeap()
Definition m_Do_ext.cpp:847
void mDoExt_removeSubFont()
Definition m_Do_ext.cpp:2071
JKRSolidHeap * mDoExt_createSolidHeapToCurrent(JKRHeap **o_heap, u32 i_size, JKRHeap *i_parent, u32 i_alignment)
Definition m_Do_ext.cpp:749
JKRExpHeap * mDoExt_createCommandHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:658
JKRExpHeap * mDoExt_getJ2dHeap()
Definition m_Do_ext.cpp:699
JKRExpHeap * mDoExt_createGameHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:630
J3DModel * mDoExt_J3DModel__create(J3DModelData *i_modelData, u32 i_modelFlag, u32 i_differedDlistFlag)
Definition m_Do_ext.cpp:2089
OSThread * mDoExt_GetCurrentRunningThread()
Definition m_Do_ext.cpp:2132
JUTFont * mDoExt_getSubFont()
Definition m_Do_ext.cpp:2061
JKRHeap * mDoExt_setCurrentHeap(JKRHeap *i_heap)
Definition m_Do_ext.cpp:837
void mDoExt_bckAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.h:604
JKRSolidHeap * mDoExt_createSolidHeapFromGame(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:738
JKRExpHeap * mDoExt_createDbPrintHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:616
JKRExpHeap * gameHeap
Definition m_Do_ext.cpp:626
JKRHeap * mDoExt_getCurrentHeap()
Definition m_Do_ext.cpp:842
STATIC_ASSERT(sizeof(mDoExt_btkAnm)==0x18)
void mDoExt_setAraCacheSize(u32 size)
Definition m_Do_ext.cpp:2126
JKRExpHeap * zeldaHeap
Definition m_Do_ext.cpp:642
JKRExpHeap * commandHeap
Definition m_Do_ext.cpp:655
JKRSolidHeap * mDoExt_createSolidHeapFromGameToCurrent(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:781
JUTFont * mDoExt_getMesgFont()
Definition m_Do_ext.cpp:1992
JKRExpHeap * mDoExt_getHostIOHeap()
Definition m_Do_ext.cpp:707
JKRExpHeap * mDoExt_getDbPrintHeap()
Definition m_Do_ext.cpp:621
JKRExpHeap * mDoExt_getGameHeap()
Definition m_Do_ext.cpp:637
JKRExpHeap * mDoExt_getArchiveHeapPtr()
Definition m_Do_ext.cpp:683
void mDoExt_brkAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:420
JKRAssertHeap * mDoExt_getAssertHeap()
Definition m_Do_ext.cpp:608
void mDoExt_destroyExpHeap(JKRExpHeap *i_heap)
Definition m_Do_ext.cpp:831
JKRExpHeap * mDoExt_createArchiveHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:671
void mDoExt_btkAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:407
u32 mDoExt_adjustSolidHeapToSystem(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:818
void mDoExt_destroySolidHeap(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:826
void mDoExt_removeMesgFont()
Definition m_Do_ext.cpp:2002
void mDoExt_modelEntryDL(J3DModel *i_model)
Definition m_Do_ext.cpp:390
int mDoExt_resIDToIndex(JKRArchive *p_archive, u16 id)
Definition m_Do_ext.cpp:853
void mDoExt_modelUpdate(J3DModel *i_model)
Definition m_Do_ext.cpp:354
JKRExpHeap * mDoExt_getCommandHeap()
Definition m_Do_ext.cpp:663
JKRAssertHeap * mDoExt_createAssertHeap(JKRHeap *i_heap)
Definition m_Do_ext.cpp:603
JKRExpHeap * mDoExt_createJ2dHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:692
void mDoExt_setupShareTexture(J3DModelData *i_modelData, J3DModelData *i_shareModelData)
Definition m_Do_ext.cpp:489
JUTFont * mDoExt_getRubyFont()
Definition m_Do_ext.cpp:2035
JKRSolidHeap * mDoExt_createSolidHeapFromSystem(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:743
void mDoExt_modelUpdateDL(J3DModel *i_model)
Definition m_Do_ext.cpp:371
JKRExpHeap * mDoExt_createZeldaHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:645
u32 mDoExt_adjustSolidHeap(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:787
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
void setLoop(s16 loop)
Definition J3DAnimation.h:906
void setFrame(f32 frame)
Definition J3DAnimation.h:910
u8 getAttribute() const
Definition J3DAnimation.h:894
BOOL checkPass(f32)
Definition J3DAnimation.cpp:24
void setStart(s16 start)
Definition J3DAnimation.h:899
f32 getFrame() const
Definition J3DAnimation.h:909
bool checkState(u8 state) const
Definition J3DAnimation.h:897
s16 getStart() const
Definition J3DAnimation.h:898
s16 getEnd() const
Definition J3DAnimation.h:903
void setAttribute(u8 attr)
Definition J3DAnimation.h:895
void setRate(f32 rate)
Definition J3DAnimation.h:908
s32 getLoop()
Definition J3DAnimation.h:905
void setEnd(s16 end)
Definition J3DAnimation.h:904
void reset()
Definition J3DAnimation.h:911
f32 getRate() const
Definition J3DAnimation.h:907
Definition d_a_hozelda.cpp:239
void setMtxCalc(J3DMtxCalc *i_mtxCalc)
Definition J3DJoint.h:63
Definition d_a_hozelda.cpp:34
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:201
Definition d_a_hozelda.cpp:217
bool getAnmTransform()
Definition d_a_hozelda.cpp:1032
Definition d_a_hozelda.cpp:169
Definition d_a_balloon_2D.h:178
Definition OSThread.h:56
Definition d_a_hozelda.cpp:16
Image data header.
Definition d_menu_dmap_map.cpp:109
Definition d_a_hozelda.cpp:18
Definition d_a_hozelda.cpp:163
Definition d_a_ep.cpp:68
Definition d_a_ep.cpp:147
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_ep.cpp:49
Definition d_a_hozelda.cpp:69
f32 getRatio()
Definition m_Do_ext.h:216
void setAnmTransform(J3DAnmTransform *anm)
Definition m_Do_ext.h:218
J3DAnmTransform * mAnmTransform
Definition m_Do_ext.h:222
f32 mRatio
Definition m_Do_ext.h:221
void setRatio(f32 ratio)
Definition m_Do_ext.h:215
J3DAnmTransform * getAnmTransform()
Definition m_Do_ext.h:217
Definition d_a_obj_sekizoa.cpp:62
virtual int execute(u16, J3DTransformInfo *)=0
Definition d_a_obj_sekizoa.cpp:60
virtual void execute(u16)=0
Definition d_a_npc_fguard.cpp:23
mDoExt_McaMorfCallBack1_c * mpCallback1
Definition m_Do_ext.h:335
void setAnm(J3DAnmTransform *i_anm, int i_attr, f32 i_morf, f32 i_rate, f32 i_start, f32 i_end)
J3DModel * getModel()
Definition m_Do_ext.h:328
int create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, int, f32, int, int, Z2Creature *, u32, u32)
Definition m_Do_ext.cpp:1327
bool mMorfNone
Definition m_Do_ext.h:341
Quaternion * getOldQuaternion()
Definition m_Do_ext.h:332
bool mTranslate
Definition m_Do_ext.h:340
Z2Creature * mpSound
Definition m_Do_ext.h:338
void updateDL()
Definition m_Do_ext.cpp:1557
int play(u32, s8)
J3DTransformInfo * getOldTransInfo()
Definition m_Do_ext.h:331
void offMorfNone()
Definition m_Do_ext.h:329
mDoExt_McaMorfSO(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, int, f32, int, int, Z2Creature *, u32, u32)
mDoExt_McaMorfCallBack2_c * mpCallback2
Definition m_Do_ext.h:336
void getTransform(u16, J3DTransformInfo *)
Definition m_Do_ext.cpp:1592
void * mpBas
Definition m_Do_ext.h:339
cXyz mTranslateScale
Definition m_Do_ext.h:337
virtual void calc()
Definition m_Do_ext.cpp:1408
void onMorfNone()
Definition m_Do_ext.h:330
virtual ~mDoExt_McaMorfSO()
Definition m_Do_ext.cpp:1320
Definition m_Do_ext.h:465
virtual void calc()
Definition m_Do_ext.cpp:906
mDoExt_MtxCalcOldFrame * mOldFrame
Definition m_Do_ext.h:474
mDoExt_MtxCalcAnmBlendTblOld(mDoExt_MtxCalcOldFrame *oldFrame, int num, mDoExt_AnmRatioPack *anmRatio)
Definition m_Do_ext.h:466
virtual ~mDoExt_MtxCalcAnmBlendTblOld()
Definition m_Do_ext.h:471
Definition m_Do_ext.h:442
virtual void calc()
Definition m_Do_ext.cpp:865
f32 getRatio(int i)
Definition m_Do_ext.h:454
virtual ~mDoExt_MtxCalcAnmBlendTbl()
Definition m_Do_ext.h:456
int mNum
Definition m_Do_ext.h:459
mDoExt_MtxCalcAnmBlendTbl(int num, mDoExt_AnmRatioPack *anmRatio)
Definition m_Do_ext.h:443
J3DAnmTransform * getAnm(int i)
Definition m_Do_ext.h:453
mDoExt_AnmRatioPack * mAnmRatio
Definition m_Do_ext.h:460
Definition d_a_hozelda.cpp:65
Quaternion * mOldFrameQuaternion
Definition m_Do_ext.h:438
f32 field_0x14
Definition m_Do_ext.h:434
f32 getOldFrameRate()
Definition m_Do_ext.h:421
f32 getOldFrameMorfCounter()
Definition m_Do_ext.h:426
Quaternion * getOldFrameQuaternion(int i_no)
Definition m_Do_ext.h:425
u16 mOldFrameEndJoint
Definition m_Do_ext.h:436
void onOldFrameFlg()
Definition m_Do_ext.h:419
f32 mOldFrameRate
Definition m_Do_ext.h:432
J3DTransformInfo * getOldFrameTransInfo(int i)
Definition m_Do_ext.h:422
bool getOldFrameFlg()
Definition m_Do_ext.h:418
J3DTransformInfo * mOldFrameTransInfo
Definition m_Do_ext.h:437
void decOldFrameMorfCounter()
Definition m_Do_ext.cpp:987
u16 getOldFrameStartJoint()
Definition m_Do_ext.h:423
bool mOldFrameFlg
Definition m_Do_ext.h:429
u16 mOldFrameStartJoint
Definition m_Do_ext.h:435
f32 mOldFrameMorfCounter
Definition m_Do_ext.h:430
void offOldFrameFlg()
Definition m_Do_ext.h:420
u16 getOldFrameEndJoint()
Definition m_Do_ext.h:424
mDoExt_MtxCalcOldFrame(J3DTransformInfo *i_transinf, Quaternion *i_quat)
Definition m_Do_ext.h:405
void initOldFrameMorf(f32, u16, u16)
f32 field_0x8
Definition m_Do_ext.h:431
f32 field_0x10
Definition m_Do_ext.h:433
Definition d_a_hozelda.cpp:61
J3DFrameCtrl mFrameCtrl
Definition m_Do_ext.h:40
void setPlayMode(int i_mode)
Definition m_Do_ext.h:33
J3DFrameCtrl * getFrameCtrl()
Definition m_Do_ext.h:25
void setFrame(f32 frame)
Definition m_Do_ext.h:32
bool isStop()
Definition m_Do_ext.h:35
int initPlay(s16 i_frameMax, int i_attribute, f32 i_rate, s16 i_startF, s16 i_endF)
Definition m_Do_ext.cpp:70
void setEndFrame(f32 frame)
Definition m_Do_ext.h:31
f32 getPlaySpeed()
Definition m_Do_ext.h:26
mDoExt_baseAnm()
Definition m_Do_ext.h:20
void setLoopFrame(f32 i_frame)
Definition m_Do_ext.h:34
BOOL checkFrame(f32 frame)
Definition m_Do_ext.h:37
f32 getEndFrame()
Definition m_Do_ext.h:29
f32 getStartFrame()
Definition m_Do_ext.h:30
void reset()
Definition m_Do_ext.h:36
void setPlaySpeed(f32 speed)
Definition m_Do_ext.h:27
f32 getFrame()
Definition m_Do_ext.h:28
Definition d_a_hozelda.cpp:56
void remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:151
void entryJoint(J3DModelData *i_modelData, u16 i_jntNo, f32 i_frame)
Definition m_Do_ext.cpp:290
void entry(J3DModelData *i_modelData, f32 i_frame)
J3DMtxCalc * mpMtxCalc
Definition m_Do_ext.h:164
int init(J3DAnmTransform *i_bck, int i_play, int i_attr, f32 i_rate, s16 i_startF, s16 i_endF, bool i_modify)
void changeBckOnly(J3DAnmTransform *i_bck)
Definition m_Do_ext.cpp:276
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:149
J3DAnmTransform * mAnm
Definition m_Do_ext.h:163
J3DAnmTransform * getBckAnm()
Definition m_Do_ext.h:155
void removeJoint(J3DModelData *i_modelData, u16 i_idx)
Definition m_Do_ext.h:157
mDoExt_bckAnm()
Definition m_Do_ext.h:142
Definition d_a_obj_sekizoa.cpp:56
int init(J3DModelData *i_modelData, J3DAnmTevRegKey *i_brk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
Definition m_Do_ext.h:95
mDoExt_brkAnm()
Definition m_Do_ext.h:85
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:91
void entryFrame(f32 frame)
Definition m_Do_ext.h:103
J3DAnmTevRegKey * mpAnm
Definition m_Do_ext.h:108
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:90
void entryFrame()
Definition m_Do_ext.h:102
void entry(J3DMaterialTable *, f32)
Definition m_Do_ext.cpp:207
J3DAnmTevRegKey * getBrkAnm() const
Definition m_Do_ext.h:105
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:101
Definition d_a_hozelda.cpp:47
mDoExt_btkAnm()
Definition m_Do_ext.h:56
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:61
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:71
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
void entryFrame()
Definition m_Do_ext.h:72
void entryFrame(f32 frame)
Definition m_Do_ext.h:73
void entry(J3DMaterialTable *, f32)
Definition m_Do_ext.cpp:179
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:62
J3DAnmTextureSRTKey * getBtkAnm() const
Definition m_Do_ext.h:75
int init(J3DModelData *i_modelData, J3DAnmTextureSRTKey *i_btk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
Definition m_Do_ext.h:65
J3DAnmTextureSRTKey * mpAnm
Definition m_Do_ext.h:78
int init(J3DMaterialTable *i_matTable, J3DAnmTextureSRTKey *i_btk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
Definition d_a_hozelda.cpp:40
int init(J3DModelData *i_modelData, J3DAnmTexPattern *i_btk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
Definition m_Do_ext.h:181
void entry(J3DModelData *i_modelData, s16 i_frame)
Definition m_Do_ext.h:177
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:187
int init(J3DMaterialTable *i_matTable, J3DAnmTexPattern *i_btk, int i_anmPlay, int i_attribute, f32 i_rate, s16 i_start, s16 param_6)
void entry(J3DMaterialTable *, s16)
Definition m_Do_ext.cpp:151
mDoExt_btpAnm()
Definition m_Do_ext.h:171
void entry(J3DMaterialTable *i_matTable, s16 i_frame)
J3DAnmTexPattern * mpAnm
Definition m_Do_ext.h:190
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:176
Definition d_a_obj_sekizoa.cpp:38
mDoExt_invJntPacket * mpPackets
Definition m_Do_ext.h:251
J3DModel * mModel
Definition m_Do_ext.h:250
void entryJoint(cXyz *)
Definition m_Do_ext.cpp:456
void entryDL(cXyz *)
int create(J3DModel *i_model, u8 param_1)
Definition d_a_npc_fguard.cpp:19
BOOL checkFrame(f32 frame)
Definition m_Do_ext.h:295
Quaternion * mpQuat
Definition m_Do_ext.h:302
f32 getPlaySpeed()
Definition m_Do_ext.h:290
void changeAnm(J3DAnmTransform *anm)
Definition m_Do_ext.h:279
f32 getFrame()
Definition m_Do_ext.h:292
void setPlaySpeed(f32 speed)
Definition m_Do_ext.h:291
void setLoopFrame(f32 frame)
Definition m_Do_ext.h:289
f32 field_0x34
Definition m_Do_ext.h:306
void setFrame(f32 frame)
Definition m_Do_ext.h:293
void setPlayMode(int mode)
Definition m_Do_ext.h:281
virtual ~mDoExt_morf_c()
Definition m_Do_ext.cpp:1017
f32 getLoopFrame()
Definition m_Do_ext.h:288
BOOL isStop()
Definition m_Do_ext.h:282
J3DAnmTransform * getAnm()
Definition m_Do_ext.h:278
J3DModel * mpModel
Definition m_Do_ext.h:298
J3DAnmTransform * mpAnm
Definition m_Do_ext.h:299
f32 mPrevMorf
Definition m_Do_ext.h:304
f32 getMorfRatio()
Definition m_Do_ext.h:296
f32 getStartFrame()
Definition m_Do_ext.h:284
void frameUpdate()
Definition m_Do_ext.cpp:1035
mDoExt_morf_c()
Definition m_Do_ext.cpp:1009
J3DTransformInfo * mpTransformInfo
Definition m_Do_ext.h:301
u8 getPlayMode()
Definition m_Do_ext.h:280
f32 mMorfStep
Definition m_Do_ext.h:305
void setFrameF(f32 frame)
Definition m_Do_ext.h:294
void setStartFrame(f32 frame)
Definition m_Do_ext.h:285
f32 getEndFrame()
Definition m_Do_ext.h:286
void setEndFrame(f32 frame)
Definition m_Do_ext.h:287
J3DFrameCtrl mFrameCtrl
Definition m_Do_ext.h:300
void setMorf(f32 i_morf)
bool isLoop()
Definition m_Do_ext.h:283
f32 mCurMorf
Definition m_Do_ext.h:303
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
unsigned char u8
Definition types.h:8