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 bool isLoop() { return mFrameCtrl.checkState(2); }
37 void reset() { mFrameCtrl.reset(); }
39
40private:
42}; // Size: 0x14
43
45public:
48
49 void* getBas() { return mBas; }
50
51private:
52 /* 0x28 */ void* mBas;
53};
54
55class mDoExt_btkAnm : public mDoExt_baseAnm {
56public:
61
64 entry(&i_modelData->getMaterialTable(), i_frame);
65 }
71
72 int remove(J3DModelData* i_modelData) { return i_modelData->removeTexMtxAnimator(mpAnm); }
75
76 J3DAnmTextureSRTKey* getBtkAnm() const { return mpAnm; }
77
78private:
80}; // Size: 0x18
81
83
84class mDoExt_brkAnm : public mDoExt_baseAnm {
85public:
90
93 entry(&i_modelData->getMaterialTable(), i_frame);
94 }
95
101
102 int remove(J3DModelData* i_modelData) { return i_modelData->removeTevRegAnimator(mpAnm); }
105
106 J3DAnmTevRegKey* getBrkAnm() const { return mpAnm; }
107
108private:
110}; // Size: 0x18
111
113
115public:
117 /* 8000D47C */ int init(J3DMaterialTable* i_matTable, J3DAnmColor* i_bpk, int i_anmPlay,
119 /* 8000D518 */ void entry(J3DMaterialTable* i_matTable, f32 i_frame);
120
123 entry(&i_modelData->getMaterialTable(), i_frame);
124 }
125
131
132 int remove(J3DModelData* i_modelData) { return i_modelData->removeMatColorAnimator(mpAnm); }
134
135private:
136 /* 0x14 */ J3DAnmColor* mpAnm;
137}; // Size: 0x18
138
140
141class mDoExt_bckAnm : public mDoExt_baseAnm {
142public:
144 /* 8000D7DC */ int init(J3DAnmTransform* i_bck, int i_play, int i_attr, f32 i_rate,
146 /* 8000D990 */ void changeBckOnly(J3DAnmTransform* i_bck);
147 /* 8000D9CC */ void entry(J3DModelData* i_modelData, f32 i_frame);
148 /* 8000D9E8 */ void entryJoint(J3DModelData* i_modelData, u16 i_jntNo, f32 i_frame);
149
151
153 i_modelData->getJointNodePointer(0)->setMtxCalc(NULL);
154 }
155
157
159 J3DJoint* mpJnt = i_modelData->getJointNodePointer(i_idx);
160 mpJnt->setMtxCalc(0);
161 }
162
163private:
166}; // Size: 0x1C
167
169
170class mDoExt_btpAnm : public mDoExt_baseAnm {
171public:
176
179 entry(&i_modelData->getMaterialTable(), i_frame);
180 }
181
187
188 int remove(J3DModelData* i_modelData) { return i_modelData->removeTexNoAnimator(mpAnm); }
189
190 J3DAnmTexPattern* getBtpAnm() const { return mpAnm; }
191
192private:
194};
195
197public:
199 mpAnm = NULL;
200 }
201
202 /* 8000DA08 */ int init(J3DDeformData* i_deformData, J3DAnmCluster* i_blk, int i_anmPlay,
204
206
207private:
208 /* 0x14 */ J3DAnmCluster* mpAnm;
209};
210
211class J3DTransformInfo;
212
214public:
217 mRatio = 0.0f;
219 }
220
222 f32 getRatio() { return mRatio; }
225
226private:
227 /* 0x0 */ f32 mRatio;
229}; // Size: 0x8
230
232public:
233 /* 8000E654 */ mDoExt_invJntPacket() {}
234
235 /* 80012220 */ virtual void draw();
236 /* 8000E5F8 */ virtual ~mDoExt_invJntPacket() {}
237
243
244private:
245 /* 0x10 */ J3DModel* field_0x10;
246 /* 0x14 */ u16 field_0x14;
247 /* 0x16 */ u8 field_0x16;
248}; // Size: 0x18
249
251public:
252 /* 8000E53C */ int create(J3DModel* i_model, u8 param_1);
253 /* 8000E6C8 */ void entryJoint(cXyz*);
254 /* 8000E7C0 */ void entryDL(cXyz*);
255
256 /* 0x0 */ J3DModel* mModel;
258};
259
261public:
263};
264
266public:
267 virtual int execute(u16, J3DTransformInfo*) = 0;
268};
269
271public:
272 virtual void execute(u16) = 0;
273};
274
275class mDoExt_morf_c
276 : public J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya> {
277public:
278 /* 8000F950 */ mDoExt_morf_c();
279 /* 8000FB7C */ void setMorf(f32 i_morf);
280 /* 8000FBC0 */ void frameUpdate();
281
282 /* 8000FAE8 */ virtual ~mDoExt_morf_c();
283
287 void setPlayMode(int mode) { mFrameCtrl.setAttribute(mode); }
288 BOOL isStop() { return mFrameCtrl.checkState(1) || mFrameCtrl.getRate() == 0.0f; }
289 bool isLoop() { return mFrameCtrl.checkState(2); }
297 void setPlaySpeed(f32 speed) { mFrameCtrl.setRate(speed); }
303
304 /* 0x04 */ J3DModel* mpModel;
308 /* 0x24 */ Quaternion* mpQuat;
309 /* 0x28 */ f32 mCurMorf;
310 /* 0x2C */ f32 mPrevMorf;
311 /* 0x30 */ f32 mMorfStep;
312 /* 0x34 */ f32 field_0x34;
313};
314
315class mDoExt_McaMorfSO : public mDoExt_morf_c {
316public:
319 int, Z2Creature*, u32, u32);
321 J3DAnmTransform*, int, f32, int, int, Z2Creature*, u32, u32);
322 /* 80010E70 */ void setAnm(J3DAnmTransform* i_anm, int i_attr, f32 i_morf, f32 i_rate,
324 /* 800110B0 */ int play(u32, s8);
325 /* 80011154 */ void updateDL();
326 /* 800111C0 */ void entryDL();
327 /* 800111EC */ void modelCalc();
328 /* 80011250 */ void getTransform(u16, J3DTransformInfo*);
329 /* 80011310 */ void stopZelAnime();
330
331 /* 80010888 */ virtual ~mDoExt_McaMorfSO();
332 /* 80010B68 */ virtual void calc();
333
334 J3DModel* getModel() { return mpModel; }
335 void offMorfNone() { mMorfNone = false; }
336 void onMorfNone() { mMorfNone = true; }
339
340private:
344 /* 0x4C */ Z2Creature* mpSound;
345 /* 0x50 */ void* mpBas;
346 /* 0x54 */ bool mTranslate;
347 /* 0x55 */ bool mMorfNone;
348};
349
351public:
354 int, void*, u32, u32);
356 J3DAnmTransform*, int, f32, int, int, int, void*, u32, u32);
357 /* 8001037C */ void setAnm(J3DAnmTransform* i_bck, int i_mode, f32 i_morf, f32 i_speed, f32 i_startF, f32 i_endF, void* i_bas);
358 /* 800105C8 */ u32 play(Vec*, u32, s8);
359 /* 80010680 */ void entryDL();
360 /* 800106AC */ void modelCalc();
361 /* 80010710 */ void getTransform(u16, J3DTransformInfo*);
362
363 /* 8000FD10 */ virtual ~mDoExt_McaMorf();
364 /* 80010074 */ virtual void calc();
365
366 J3DModel* getModel() { return mpModel; }
367
368private:
373 /* 0x50 */ bool field_0x50;
374 /* 0x51 */ bool field_0x51;
375 /* 0x52 */ bool field_0x52;
376};
377
379public:
382 int, f32, int, int, Z2Creature*, u32, u32);
383 /* 80011464 */ int create(J3DModelData*, mDoExt_McaMorfCallBack1_c*,
385 f32, int, int, Z2Creature*, u32, u32);
386 /* 800116B4 */ void ERROR_EXIT();
387 /* 80011D70 */ void setAnm(J3DAnmTransform*, J3DAnmTransform*, f32, int, f32, f32, f32, f32);
388 /* 80011FCC */ void setAnmRate(f32);
389 /* 800120A0 */ int play(u32, s8);
390 /* 80012144 */ void entryDL();
391 /* 80012170 */ void modelCalc();
392 /* 800121E8 */ void stopZelAnime();
393
394 /* 800113FC */ virtual ~mDoExt_McaMorf2();
395 /* 800116F4 */ virtual void calc();
396
397private:
401 /* 0x44 */ f32 field_0x44;
402 /* 0x48 */ Z2Creature* mpSound;
403 /* 0x4C */ void* mpBas;
404};
405
407public:
408 /* 8000F848 */ void initOldFrameMorf(f32, u16, u16);
409 /* 8000F8CC */ void decOldFrameMorfCounter();
410
423
424 bool getOldFrameFlg() { return mOldFrameFlg; }
425 void onOldFrameFlg() { mOldFrameFlg = true; }
426 void offOldFrameFlg() { mOldFrameFlg = false; }
433
434private:
435 /* 0x00 */ bool mOldFrameFlg;
437 /* 0x08 */ f32 field_0x8;
438 /* 0x0C */ f32 mOldFrameRate;
439 /* 0x10 */ f32 field_0x10;
440 /* 0x14 */ f32 field_0x14;
445}; // Size: 0x24
446
448 : public J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya> {
450 mNum = num;
452 for (int i = 0; i < mNum; i++) {
453 if (!mAnmRatio[i].getAnmTransform()) {
454 mAnmRatio[i].setRatio(0.0f);
455 }
456 }
457 }
458
460 f32 getRatio(int i) { return mAnmRatio[i].getRatio(); }
461
462 /* 80014F3C */ virtual ~mDoExt_MtxCalcAnmBlendTbl() {}
463 /* 8000F26C */ virtual void calc();
464
465 /* 0x4 */ int mNum;
467}; // Size: 0x0C
468
470
482
484
486public:
487 /* 800123D0 */ int init(u16, int, int);
488 /* 800126BC */ mDoExt_3Dline_c();
489
490 /* 0x00 */ cXyz* field_0x0;
491 /* 0x04 */ f32* field_0x4;
492 /* 0x08 */ cXyz* field_0x8;
493 /* 0x0C */ cXyz* field_0xc;
494 /* 0x10 */ u8* field_0x10;
495 /* 0x14 */ void* field_0x14;
496 /* 0x18 */ f32* field_0x18;
497 /* 0x1C */ f32* field_0x1c;
498};
499
501public:
502 virtual int getMaterialID() = 0;
503 virtual void setMaterial() = 0;
504 virtual void draw() = 0;
505
507};
508
510public:
512
513 void reset() { mp3DlineMat = NULL; }
515
516 /* 80014738 */ void setMat(mDoExt_3DlineMat_c*);
517 virtual void draw();
519
520private:
522};
523
524class dKy_tevstr_c;
526public:
527 /* 80013360 */ int init(u16, u16, ResTIMG*, int);
528 /* 80013FB0 */ void update(int, GXColor&, dKy_tevstr_c*);
529 /* 8001373C */ void update(int, f32, GXColor&, u16, dKy_tevstr_c*);
530 /* 80014E7C */ int getMaterialID();
531 /* 800134F8 */ void setMaterial();
532 /* 800135D0 */ void draw();
533
536
537private:
539 /* 0x28 */ GXColor mColor;
541 /* 0x30 */ u16 mNumLines;
542 /* 0x32 */ u16 field_0x32;
543 /* 0x34 */ u16 field_0x34;
544 /* 0x36 */ u8 mIsDrawn;
546};
547
549public:
550 /* 800125E0 */ int init(u16, u16, int);
551 /* 80012874 */ void update(int, f32, _GXColor&, u16, dKy_tevstr_c*);
552 /* 80012E3C */ void update(int, _GXColor&, dKy_tevstr_c*);
553
554 /* 80014E84 */ virtual int getMaterialID();
555 /* 800126C0 */ virtual void setMaterial();
556 /* 80012774 */ virtual void draw();
557
560
561private:
562 /* 0x08 */ GXColor field_0x8;
564 /* 0x10 */ u16 field_0x10;
565 /* 0x12 */ u16 field_0x12;
566 /* 0x14 */ u16 field_0x14;
567 /* 0x16 */ u8 field_0x16;
569};
570
572public:
579
580 virtual void draw();
582
583 /* 0x10 */ cXyz mPosition;
584 /* 0x1C */ cXyz mSize;
585 /* 0x28 */ csXyz mAngle;
586 /* 0x2E */ GXColor mColor;
587};
588
590public:
599
600 virtual void draw();
602
603 /* 0x10 */ cXyz mPosition;
604 /* 0x1C */ f32 mRadius;
605 /* 0x20 */ f32 mHeight;
606 /* 0x24 */ GXColor mColor;
607 /* 0x28 */ u8 field_0x28;
608};
609
611 i_modelData->getJointNodePointer(0)->setMtxCalc(NULL);
612}
613
651void mDoExt_setAraCacheSize(u32 size);
659
660struct JUTFont;
665
666extern JKRExpHeap* zeldaHeap;
667extern JKRExpHeap* gameHeap;
668extern JKRExpHeap* archiveHeap;
669extern JKRExpHeap* commandHeap;
670
671#endif /* M_DO_M_DO_EXT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
void setFrame(f32 frame)
Definition J3DAnimation.h:490
Definition J3DAnimation.h:828
Definition J3DAnimation.h:710
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:548
u16 field_0x12
Definition m_Do_ext.h:565
u16 field_0x10
Definition m_Do_ext.h:564
dKy_tevstr_c * field_0xc
Definition m_Do_ext.h:563
virtual void setMaterial()
Definition m_Do_ext.cpp:2156
void update(int, f32, _GXColor &, u16, dKy_tevstr_c *)
Definition m_Do_ext.cpp:2206
cXyz * getPos(int param_0)
Definition m_Do_ext.h:558
GXColor field_0x8
Definition m_Do_ext.h:562
virtual int getMaterialID()
Definition m_Do_ext.cpp:2713
u16 field_0x14
Definition m_Do_ext.h:566
u8 field_0x16
Definition m_Do_ext.h:567
virtual void draw()
Definition m_Do_ext.cpp:2173
mDoExt_3Dline_c * field_0x18
Definition m_Do_ext.h:568
f32 * getSize(int param_0)
Definition m_Do_ext.h:559
Definition m_Do_ext.h:525
GXTexObj mTextureObject
Definition m_Do_ext.h:538
void draw()
Definition m_Do_ext.cpp:2345
GXColor mColor
Definition m_Do_ext.h:539
u8 mIsDrawn
Definition m_Do_ext.h:544
void update(int, GXColor &, dKy_tevstr_c *)
Definition m_Do_ext.cpp:2386
int getMaterialID()
Definition m_Do_ext.cpp:2708
u16 field_0x34
Definition m_Do_ext.h:543
u16 mNumLines
Definition m_Do_ext.h:541
f32 * getSize(int i_idx)
Definition m_Do_ext.h:535
u16 field_0x32
Definition m_Do_ext.h:542
cXyz * getPos(int i_idx)
Definition m_Do_ext.h:534
mDoExt_3Dline_c * mpLines
Definition m_Do_ext.h:545
dKy_tevstr_c * mpTevStr
Definition m_Do_ext.h:540
void setMaterial()
Definition m_Do_ext.cpp:2326
Definition m_Do_ext.h:509
mDoExt_3DlineMatSortPacket()
Definition m_Do_ext.h:511
virtual ~mDoExt_3DlineMatSortPacket()
Definition m_Do_ext.cpp:2703
void setMatDark(mDoExt_3DlineMat_c *i_mat)
Definition m_Do_ext.h:514
void reset()
Definition m_Do_ext.h:513
mDoExt_3DlineMat_c * mp3DlineMat
Definition m_Do_ext.h:521
virtual void draw()
Definition m_Do_ext.cpp:2401
void setMat(mDoExt_3DlineMat_c *)
Definition m_Do_ext.cpp:2392
Definition m_Do_ext.h:500
virtual int getMaterialID()=0
mDoExt_3DlineMat_c * field_0x4
Definition m_Do_ext.h:506
virtual void draw()=0
virtual void setMaterial()=0
Definition m_Do_ext.h:485
f32 * field_0x18
Definition m_Do_ext.h:496
cXyz * field_0xc
Definition m_Do_ext.h:493
cXyz * field_0x0
Definition m_Do_ext.h:490
mDoExt_3Dline_c()
Definition m_Do_ext.cpp:2127
u8 * field_0x10
Definition m_Do_ext.h:494
cXyz * field_0x8
Definition m_Do_ext.h:492
f32 * field_0x1c
Definition m_Do_ext.h:497
f32 * field_0x4
Definition m_Do_ext.h:491
void * field_0x14
Definition m_Do_ext.h:495
Definition m_Do_ext.h:378
virtual void calc()
Definition m_Do_ext.cpp:1691
int play(u32, s8)
Definition m_Do_ext.cpp:1927
void setAnmRate(f32)
Definition m_Do_ext.cpp:1904
void ERROR_EXIT()
Definition m_Do_ext.cpp:1675
void modelCalc()
Definition m_Do_ext.cpp:1949
f32 field_0x44
Definition m_Do_ext.h:401
void entryDL()
Definition m_Do_ext.cpp:1942
void stopZelAnime()
Definition m_Do_ext.cpp:1966
virtual ~mDoExt_McaMorf2()
Definition m_Do_ext.cpp:1599
mDoExt_McaMorfCallBack1_c * mpCallback1
Definition m_Do_ext.h:398
J3DAnmTransform * field_0x40
Definition m_Do_ext.h:400
int create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, J3DAnmTransform *, int, f32, int, int, Z2Creature *, u32, u32)
Definition m_Do_ext.cpp:1606
mDoExt_McaMorfCallBack2_c * mpCallback2
Definition m_Do_ext.h:399
void setAnm(J3DAnmTransform *, J3DAnmTransform *, f32, int, f32, f32, f32, f32)
Definition m_Do_ext.cpp:1856
void * mpBas
Definition m_Do_ext.h:403
Z2Creature * mpSound
Definition m_Do_ext.h:402
Definition m_Do_ext.h:350
J3DModel * getModel()
Definition m_Do_ext.h:366
void modelCalc()
Definition m_Do_ext.cpp:1249
mDoExt_McaMorfCallBack2_c * mpCallback2
Definition m_Do_ext.h:370
virtual ~mDoExt_McaMorf()
Definition m_Do_ext.cpp:1025
cXyz mTranslateScale
Definition m_Do_ext.h:371
virtual void calc()
Definition m_Do_ext.cpp:1113
void entryDL()
Definition m_Do_ext.cpp:1242
mDoExt_McaMorfCallBack1_c * mpCallback1
Definition m_Do_ext.h:369
bool field_0x52
Definition m_Do_ext.h:375
int create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, int, f32, int, int, int, void *, u32, u32)
Definition m_Do_ext.cpp:1034
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:1191
mDoExt_zelAnime * mpSound
Definition m_Do_ext.h:372
void getTransform(u16, J3DTransformInfo *)
Definition m_Do_ext.cpp:1262
u32 play(Vec *, u32, s8)
Definition m_Do_ext.cpp:1231
bool field_0x51
Definition m_Do_ext.h:374
bool field_0x50
Definition m_Do_ext.h:373
Definition m_Do_ext.h:196
J3DAnmCluster * mpAnm
Definition m_Do_ext.h:208
J3DAnmCluster * getBlkAnm()
Definition m_Do_ext.h:205
mDoExt_blkAnm()
Definition m_Do_ext.h:198
Definition m_Do_ext.h:114
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:126
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:122
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:132
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
Definition m_Do_ext.cpp:125
J3DAnmColor * mpAnm
Definition m_Do_ext.h:136
J3DAnmColor * getBpkAnm()
Definition m_Do_ext.h:133
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:121
mDoExt_bpkAnm()
Definition m_Do_ext.h:116
Definition m_Do_ext.h:571
csXyz mAngle
Definition m_Do_ext.h:585
cXyz mSize
Definition m_Do_ext.h:584
cXyz mPosition
Definition m_Do_ext.h:583
GXColor mColor
Definition m_Do_ext.h:586
virtual ~mDoExt_cubePacket()
Definition m_Do_ext.h:581
virtual void draw()
Definition m_Do_ext.cpp:2454
mDoExt_cubePacket(cXyz &i_position, cXyz &i_size, csXyz &i_angle, const GXColor &i_color)
Definition m_Do_ext.h:573
Definition m_Do_ext.h:589
f32 mHeight
Definition m_Do_ext.h:605
cXyz mPosition
Definition m_Do_ext.h:603
virtual void draw()
Definition m_Do_ext.cpp:2468
u8 field_0x28
Definition m_Do_ext.h:607
virtual ~mDoExt_cylinderPacket()
Definition m_Do_ext.h:601
f32 mRadius
Definition m_Do_ext.h:604
GXColor mColor
Definition m_Do_ext.h:606
mDoExt_cylinderPacket(cXyz &i_position, f32 i_radius, f32 i_height, const GXColor &i_color, u8 param_4)
Definition m_Do_ext.h:591
Definition m_Do_ext.h:231
virtual ~mDoExt_invJntPacket()
Definition m_Do_ext.h:236
u8 field_0x16
Definition m_Do_ext.h:247
void setJoint(J3DModel *i_model, u16 param_1, u8 param_2)
Definition m_Do_ext.h:238
mDoExt_invJntPacket()
Definition m_Do_ext.h:233
u16 field_0x14
Definition m_Do_ext.h:246
J3DModel * field_0x10
Definition m_Do_ext.h:245
virtual void draw()
Definition m_Do_ext.cpp:1973
Definition m_Do_ext.h:44
void * getBas()
Definition m_Do_ext.h:49
void * mBas
Definition m_Do_ext.h:52
mDoExt_transAnmBas(void *bas)
Definition m_Do_ext.h:46
virtual ~mDoExt_transAnmBas()
Definition m_Do_ext.h:47
Definition m_Do_ext.h:260
void * field_0x48
Definition m_Do_ext.h:262
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:611
JKRExpHeap * mDoExt_getArchiveHeap()
Definition m_Do_ext.cpp:639
JKRExpHeap * archiveHeap
Definition m_Do_ext.cpp:629
void mDoExt_setupStageTexture(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:511
void mDoExt_restoreCurrentHeap()
Definition m_Do_ext.cpp:808
void mDoExt_removeSubFont()
Definition m_Do_ext.cpp:2632
JKRSolidHeap * mDoExt_createSolidHeapToCurrent(JKRHeap **o_heap, u32 i_size, JKRHeap *i_parent, u32 i_alignment)
Definition m_Do_ext.cpp:710
JKRExpHeap * mDoExt_createCommandHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:619
JKRExpHeap * mDoExt_getJ2dHeap()
Definition m_Do_ext.cpp:660
JKRExpHeap * mDoExt_createGameHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:591
J3DModel * mDoExt_J3DModel__create(J3DModelData *i_modelData, u32 i_modelFlag, u32 i_differedDlistFlag)
Definition m_Do_ext.cpp:2650
OSThread * mDoExt_GetCurrentRunningThread()
Definition m_Do_ext.cpp:2693
JUTFont * mDoExt_getSubFont()
Definition m_Do_ext.cpp:2622
JKRHeap * mDoExt_setCurrentHeap(JKRHeap *i_heap)
Definition m_Do_ext.cpp:798
void mDoExt_bckAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.h:610
JKRSolidHeap * mDoExt_createSolidHeapFromGame(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:699
JKRExpHeap * mDoExt_createDbPrintHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:577
JKRExpHeap * gameHeap
Definition m_Do_ext.cpp:587
JKRHeap * mDoExt_getCurrentHeap()
Definition m_Do_ext.cpp:803
STATIC_ASSERT(sizeof(mDoExt_btkAnm)==0x18)
void mDoExt_setAraCacheSize(u32 size)
Definition m_Do_ext.cpp:2687
JKRExpHeap * zeldaHeap
Definition m_Do_ext.cpp:603
JKRExpHeap * commandHeap
Definition m_Do_ext.cpp:616
JKRSolidHeap * mDoExt_createSolidHeapFromGameToCurrent(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:742
JUTFont * mDoExt_getMesgFont()
Definition m_Do_ext.cpp:2553
JKRExpHeap * mDoExt_getHostIOHeap()
Definition m_Do_ext.cpp:668
JKRExpHeap * mDoExt_getDbPrintHeap()
Definition m_Do_ext.cpp:582
JKRExpHeap * mDoExt_getGameHeap()
Definition m_Do_ext.cpp:598
JKRExpHeap * mDoExt_getArchiveHeapPtr()
Definition m_Do_ext.cpp:644
void mDoExt_brkAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:381
JKRAssertHeap * mDoExt_getAssertHeap()
Definition m_Do_ext.cpp:569
void mDoExt_destroyExpHeap(JKRExpHeap *i_heap)
Definition m_Do_ext.cpp:792
JKRExpHeap * mDoExt_createArchiveHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:632
void mDoExt_btkAnmRemove(J3DModelData *i_modelData)
Definition m_Do_ext.cpp:368
u32 mDoExt_adjustSolidHeapToSystem(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:779
void mDoExt_destroySolidHeap(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:787
void mDoExt_removeMesgFont()
Definition m_Do_ext.cpp:2563
void mDoExt_modelEntryDL(J3DModel *i_model)
Definition m_Do_ext.cpp:351
int mDoExt_resIDToIndex(JKRArchive *p_archive, u16 id)
Definition m_Do_ext.cpp:814
void mDoExt_modelUpdate(J3DModel *i_model)
Definition m_Do_ext.cpp:315
JKRExpHeap * mDoExt_getCommandHeap()
Definition m_Do_ext.cpp:624
JKRAssertHeap * mDoExt_createAssertHeap(JKRHeap *i_heap)
Definition m_Do_ext.cpp:564
JKRExpHeap * mDoExt_createJ2dHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:653
void mDoExt_setupShareTexture(J3DModelData *i_modelData, J3DModelData *i_shareModelData)
Definition m_Do_ext.cpp:450
JUTFont * mDoExt_getRubyFont()
Definition m_Do_ext.cpp:2596
JKRSolidHeap * mDoExt_createSolidHeapFromSystem(u32 i_size, u32 i_alignment)
Definition m_Do_ext.cpp:704
void mDoExt_modelUpdateDL(J3DModel *i_model)
Definition m_Do_ext.cpp:332
JKRExpHeap * mDoExt_createZeldaHeap(u32 heapSize, JKRHeap *i_heap)
Definition m_Do_ext.cpp:606
u32 mDoExt_adjustSolidHeap(JKRSolidHeap *i_heap)
Definition m_Do_ext.cpp:748
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:923
void setFrame(f32 frame)
Definition J3DAnimation.h:927
u8 getAttribute() const
Definition J3DAnimation.h:911
BOOL checkPass(f32)
Definition J3DAnimation.cpp:24
void setStart(s16 start)
Definition J3DAnimation.h:916
f32 getFrame() const
Definition J3DAnimation.h:926
bool checkState(u8 state) const
Definition J3DAnimation.h:914
s16 getStart() const
Definition J3DAnimation.h:915
s16 getEnd() const
Definition J3DAnimation.h:920
void setAttribute(u8 attr)
Definition J3DAnimation.h:912
void setRate(f32 rate)
Definition J3DAnimation.h:925
s32 getLoop()
Definition J3DAnimation.h:922
void setEnd(s16 end)
Definition J3DAnimation.h:921
void reset()
Definition J3DAnimation.h:928
f32 getRate() const
Definition J3DAnimation.h:924
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:222
void setAnmTransform(J3DAnmTransform *anm)
Definition m_Do_ext.h:224
~mDoExt_AnmRatioPack()
Definition m_Do_ext.h:215
J3DAnmTransform * mAnmTransform
Definition m_Do_ext.h:228
f32 mRatio
Definition m_Do_ext.h:227
mDoExt_AnmRatioPack()
Definition m_Do_ext.h:216
void setRatio(f32 ratio)
Definition m_Do_ext.h:221
J3DAnmTransform * getAnmTransform()
Definition m_Do_ext.h:223
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:341
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:334
int create(J3DModelData *, mDoExt_McaMorfCallBack1_c *, mDoExt_McaMorfCallBack2_c *, J3DAnmTransform *, int, f32, int, int, Z2Creature *, u32, u32)
Definition m_Do_ext.cpp:1299
bool mMorfNone
Definition m_Do_ext.h:347
Quaternion * getOldQuaternion()
Definition m_Do_ext.h:338
bool mTranslate
Definition m_Do_ext.h:346
Z2Creature * mpSound
Definition m_Do_ext.h:344
void updateDL()
Definition m_Do_ext.cpp:1529
int play(u32, s8)
J3DTransformInfo * getOldTransInfo()
Definition m_Do_ext.h:337
void offMorfNone()
Definition m_Do_ext.h:335
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:342
void getTransform(u16, J3DTransformInfo *)
Definition m_Do_ext.cpp:1564
void * mpBas
Definition m_Do_ext.h:345
cXyz mTranslateScale
Definition m_Do_ext.h:343
virtual void calc()
Definition m_Do_ext.cpp:1380
void onMorfNone()
Definition m_Do_ext.h:336
virtual ~mDoExt_McaMorfSO()
Definition m_Do_ext.cpp:1292
Definition m_Do_ext.h:471
virtual void calc()
Definition m_Do_ext.cpp:867
mDoExt_MtxCalcOldFrame * mOldFrame
Definition m_Do_ext.h:480
mDoExt_MtxCalcAnmBlendTblOld(mDoExt_MtxCalcOldFrame *oldFrame, int num, mDoExt_AnmRatioPack *anmRatio)
Definition m_Do_ext.h:472
virtual ~mDoExt_MtxCalcAnmBlendTblOld()
Definition m_Do_ext.h:477
Definition m_Do_ext.h:448
virtual void calc()
Definition m_Do_ext.cpp:826
f32 getRatio(int i)
Definition m_Do_ext.h:460
virtual ~mDoExt_MtxCalcAnmBlendTbl()
Definition m_Do_ext.h:462
int mNum
Definition m_Do_ext.h:465
mDoExt_MtxCalcAnmBlendTbl(int num, mDoExt_AnmRatioPack *anmRatio)
Definition m_Do_ext.h:449
J3DAnmTransform * getAnm(int i)
Definition m_Do_ext.h:459
mDoExt_AnmRatioPack * mAnmRatio
Definition m_Do_ext.h:466
Definition d_a_hozelda.cpp:65
Quaternion * mOldFrameQuaternion
Definition m_Do_ext.h:444
f32 field_0x14
Definition m_Do_ext.h:440
f32 getOldFrameRate()
Definition m_Do_ext.h:427
f32 getOldFrameMorfCounter()
Definition m_Do_ext.h:432
Quaternion * getOldFrameQuaternion(int i_no)
Definition m_Do_ext.h:431
u16 mOldFrameEndJoint
Definition m_Do_ext.h:442
void onOldFrameFlg()
Definition m_Do_ext.h:425
f32 mOldFrameRate
Definition m_Do_ext.h:438
J3DTransformInfo * getOldFrameTransInfo(int i)
Definition m_Do_ext.h:428
bool getOldFrameFlg()
Definition m_Do_ext.h:424
J3DTransformInfo * mOldFrameTransInfo
Definition m_Do_ext.h:443
void decOldFrameMorfCounter()
Definition m_Do_ext.cpp:948
u16 getOldFrameStartJoint()
Definition m_Do_ext.h:429
bool mOldFrameFlg
Definition m_Do_ext.h:435
u16 mOldFrameStartJoint
Definition m_Do_ext.h:441
f32 mOldFrameMorfCounter
Definition m_Do_ext.h:436
void offOldFrameFlg()
Definition m_Do_ext.h:426
u16 getOldFrameEndJoint()
Definition m_Do_ext.h:430
mDoExt_MtxCalcOldFrame(J3DTransformInfo *i_transinf, Quaternion *i_quat)
Definition m_Do_ext.h:411
void initOldFrameMorf(f32, u16, u16)
f32 field_0x8
Definition m_Do_ext.h:437
f32 field_0x10
Definition m_Do_ext.h:439
Definition d_a_hozelda.cpp:61
J3DFrameCtrl mFrameCtrl
Definition m_Do_ext.h:41
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:72
void setEndFrame(f32 frame)
Definition m_Do_ext.h:31
bool isLoop()
Definition m_Do_ext.h:36
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:38
f32 getEndFrame()
Definition m_Do_ext.h:29
f32 getStartFrame()
Definition m_Do_ext.h:30
void reset()
Definition m_Do_ext.h:37
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:152
void entryJoint(J3DModelData *i_modelData, u16 i_jntNo, f32 i_frame)
Definition m_Do_ext.cpp:251
void entry(J3DModelData *i_modelData, f32 i_frame)
J3DMtxCalc * mpMtxCalc
Definition m_Do_ext.h:165
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:237
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:150
J3DAnmTransform * mAnm
Definition m_Do_ext.h:164
J3DAnmTransform * getBckAnm()
Definition m_Do_ext.h:156
void removeJoint(J3DModelData *i_modelData, u16 i_idx)
Definition m_Do_ext.h:158
mDoExt_bckAnm()
Definition m_Do_ext.h:143
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:96
mDoExt_brkAnm()
Definition m_Do_ext.h:86
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:92
void entryFrame(f32 frame)
Definition m_Do_ext.h:104
J3DAnmTevRegKey * mpAnm
Definition m_Do_ext.h:109
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:91
void entryFrame()
Definition m_Do_ext.h:103
void entry(J3DMaterialTable *, f32)
Definition m_Do_ext.cpp:209
J3DAnmTevRegKey * getBrkAnm() const
Definition m_Do_ext.h:106
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:102
Definition d_a_hozelda.cpp:47
mDoExt_btkAnm()
Definition m_Do_ext.h:57
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:62
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:72
void entry(J3DMaterialTable *i_matTable, f32 i_frame)
void entryFrame()
Definition m_Do_ext.h:73
void entryFrame(f32 frame)
Definition m_Do_ext.h:74
void entry(J3DMaterialTable *, f32)
Definition m_Do_ext.cpp:181
void entry(J3DModelData *i_modelData, f32 i_frame)
Definition m_Do_ext.h:63
J3DAnmTextureSRTKey * getBtkAnm() const
Definition m_Do_ext.h:76
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:66
J3DAnmTextureSRTKey * mpAnm
Definition m_Do_ext.h:79
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:182
void entry(J3DModelData *i_modelData, s16 i_frame)
Definition m_Do_ext.h:178
int remove(J3DModelData *i_modelData)
Definition m_Do_ext.h:188
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:153
mDoExt_btpAnm()
Definition m_Do_ext.h:172
void entry(J3DMaterialTable *i_matTable, s16 i_frame)
J3DAnmTexPattern * getBtpAnm() const
Definition m_Do_ext.h:190
J3DAnmTexPattern * mpAnm
Definition m_Do_ext.h:193
void entry(J3DModelData *i_modelData)
Definition m_Do_ext.h:177
Definition d_a_obj_sekizoa.cpp:38
mDoExt_invJntPacket * mpPackets
Definition m_Do_ext.h:257
J3DModel * mModel
Definition m_Do_ext.h:256
void entryJoint(cXyz *)
Definition m_Do_ext.cpp:417
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:301
Quaternion * mpQuat
Definition m_Do_ext.h:308
f32 getPlaySpeed()
Definition m_Do_ext.h:296
void changeAnm(J3DAnmTransform *anm)
Definition m_Do_ext.h:285
f32 getFrame()
Definition m_Do_ext.h:298
void setPlaySpeed(f32 speed)
Definition m_Do_ext.h:297
void setLoopFrame(f32 frame)
Definition m_Do_ext.h:295
f32 field_0x34
Definition m_Do_ext.h:312
void setFrame(f32 frame)
Definition m_Do_ext.h:299
void setPlayMode(int mode)
Definition m_Do_ext.h:287
virtual ~mDoExt_morf_c()
Definition m_Do_ext.cpp:978
f32 getLoopFrame()
Definition m_Do_ext.h:294
BOOL isStop()
Definition m_Do_ext.h:288
J3DAnmTransform * getAnm()
Definition m_Do_ext.h:284
J3DModel * mpModel
Definition m_Do_ext.h:304
J3DAnmTransform * mpAnm
Definition m_Do_ext.h:305
f32 mPrevMorf
Definition m_Do_ext.h:310
f32 getMorfRatio()
Definition m_Do_ext.h:302
f32 getStartFrame()
Definition m_Do_ext.h:290
void frameUpdate()
Definition m_Do_ext.cpp:996
mDoExt_morf_c()
Definition m_Do_ext.cpp:970
J3DTransformInfo * mpTransformInfo
Definition m_Do_ext.h:307
u8 getPlayMode()
Definition m_Do_ext.h:286
f32 mMorfStep
Definition m_Do_ext.h:311
void setFrameF(f32 frame)
Definition m_Do_ext.h:300
void setStartFrame(f32 frame)
Definition m_Do_ext.h:291
f32 getEndFrame()
Definition m_Do_ext.h:292
void setEndFrame(f32 frame)
Definition m_Do_ext.h:293
J3DFrameCtrl mFrameCtrl
Definition m_Do_ext.h:306
void setMorf(f32 i_morf)
bool isLoop()
Definition m_Do_ext.h:289
f32 mCurMorf
Definition m_Do_ext.h:309
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