Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DAnimation.h
Go to the documentation of this file.
1#ifndef J3DANIMATION_H
2#define J3DANIMATION_H
3
6
8 /* 0x0 */ u32 mType;
9 /* 0x4 */ u32 mSize;
10
11 const JUTDataBlockHeader* getNext() const { // fake inline
12 return reinterpret_cast<const JUTDataBlockHeader*>(reinterpret_cast<const u8*>(this) +
13 mSize);
14 }
15};
16
17struct JUTDataFileHeader { // actual struct name unknown
18 /* 0x00 */ u32 mMagic;
19 /* 0x04 */ u32 mType;
20 /* 0x08 */ u32 mFileSize;
21 /* 0x0C */ u32 mBlockNum;
22 /* 0x10 */ u8 _10[0x1C - 0x10];
23 /* 0x1C */ u32 mSeAnmOffset; // Only exists for some BCKs
25};
26
27// unknown name. refers to ANK1 chunk of BCK files
29 /* 0x00 */ u32 magic;
30 /* 0x04 */ u32 size;
31 /* 0x08 */ u8 attribute;
32 /* 0x09 */ u8 rotation_frac;
33 /* 0x0A */ s16 duration;
34 /* 0x0C */ s16 keyframe_num;
35 /* 0x0E */ s16 scale_entries;
38 /* 0x14 */ u32 anm_data_offset;
42};
43
44typedef struct _GXColor GXColor;
45typedef struct _GXColorS10 GXColorS10;
46
52 /* 0x00 */ u16 mMaxFrame;
53 /* 0x02 */ u16 mOffset;
54 /* 0x04 */ u16 mType;
55}; // Size = 0x6
56
67
73 /* 0x00 */ u16 mNum;
74 /* 0x04 */ void* mpData;
75};
76
82 /* 0x00 */ u16 mRMaxFrame;
83 /* 0x02 */ u16 mROffset;
84 /* 0x04 */ u16 mGMaxFrame;
85 /* 0x06 */ u16 mGOffset;
86 /* 0x08 */ u16 mBMaxFrame;
87 /* 0x0A */ u16 mBOffset;
88 /* 0x0C */ u16 mAMaxFrame;
89 /* 0x0E */ u16 mAOffset;
90}; // Size = 0x10
91
99}; // Size = 0x4
100
110
116 /* 0x00 */ u16 mScaleMaxFrame;
117 /* 0x02 */ u16 mScaleOffset;
122}; // Size = 0xC
123
129 /* 0x00 */ u16 mMaxFrame;
130 /* 0x02 */ u16 mOffset;
131 /* 0x04 */ u8 mTexNo;
132 /* 0x06 */ u16 _6;
133}; // Size = 0x8
134
147
160
165struct J3DAnmDataBlockHeader { // actual name unknown
166 /* 0x0 */ u32 mType;
167 /* 0x4 */ u32 mNextOffset;
168}; // Size = 0x8
169
174struct J3DAnmDataHeader { // actual name unknown
175 /* 0x00 */ u32 mMagic;
176 /* 0x04 */ u32 mType;
177 /* 0x08 */ u8 _8[4];
178 /* 0x0C */ u32 mCount;
179 /* 0x10 */ u8 _10[0x20 - 0x10];
181};
182
189 /* 0x08 */ u8 field_0x8;
190 /* 0x09 */ u8 field_0x9; // padding?
191 /* 0x0A */ s16 mFrameMax;
192 /* 0x0C */ u16 mAnmTableNum[2];
193 /* 0x10 */ u8 field_0x10[0x18 - 0x10];
194 /* 0x18 */ void* mTableOffsets[2];
195 /* 0x20 */ void* mVtxColorIndexDataOffsets[2];
196 /* 0x28 */ void* mVtxColorIndexPointerOffsets[2];
197 /* 0x30 */ void* mRValuesOffset;
198 /* 0x34 */ void* mGValuesOffset;
199 /* 0x38 */ void* mBValuesOffset;
200 /* 0x3C */ void* mAValuesOffset;
201}; // Size = 0x40
202
204
211 /* 0x08 */ u8 field_0x8;
212 /* 0x09 */ u8 field_0x9; // padding?
213 /* 0x0A */ s16 mFrameMax;
214 /* 0x0C */ u16 field_0xc;
215 /* 0x0E */ u16 field_0xe;
216 /* 0x10 */ void* mTableOffset;
217 /* 0x14 */ void* mValuesOffset;
218}; // Size = 0x18
219
221
228 /* 0x08 */ u8 field_0x8;
229 /* 0x09 */ u8 field_0x9;
230 /* 0x0A */ s16 mFrameMax;
231 /* 0x0C */ u16 field_0xc;
232 /* 0x0E */ u8 field_0xe[0x14 - 0xe];
233 /* 0x14 */ void* mTableOffset;
234 /* 0x18 */ void* mScaleValOffset;
235 /* 0x1C */ void* mRotValOffset;
236 /* 0x20 */ void* mTransValOffset;
237}; // Size = 0x24
238
240
247 /* 0x08 */ u8 field_0x8;
248 /* 0x09 */ u8 field_0x9[3];
249 /* 0x0C */ s16 mFrameMax;
251 /* 0x10 */ u16 field_0x10;
252 /* 0x12 */ u16 field_0x12;
253 /* 0x14 */ u16 field_0x14;
254 /* 0x16 */ u16 field_0x16;
255 /* 0x18 */ void* mTableOffset;
256 /* 0x1C */ void* mUpdateMaterialIDOffset;
257 /* 0x20 */ void* mNameTabOffset;
258 /* 0x24 */ void* mRValOffset;
259 /* 0x28 */ void* mGValOffset;
260 /* 0x2C */ void* mBValOffset;
261 /* 0x30 */ void* mAValOffset;
262}; // Size = 0x34
263
265
272 /* 0x08 */ u8 field_0x8;
273 /* 0x09 */ u8 field_0x9;
274 /* 0x0A */ s16 field_0xa;
275 /* 0x0C */ u16 field_0xc;
276 /* 0x0E */ u16 field_0xe;
277 /* 0x10 */ u16 field_0x10;
278 /* 0x12 */ u16 field_0x12;
279 /* 0x14 */ void* mTableOffset;
280 /* 0x18 */ void* mUpdateMatIDOffset;
281 /* 0x1C */ void* mNameTab1Offset;
282 /* 0x20 */ void* mUpdateTexMtxIDOffset;
283 /* 0x24 */ void* unkOffset;
284 /* 0x28 */ void* mScaleValOffset;
285 /* 0x2C */ void* mRotValOffset;
286 /* 0x30 */ void* mTransValOffset;
287 /* 0x34 */ u16 field_0x34;
288 /* 0x36 */ u16 field_0x36;
289 /* 0x38 */ u16 field_0x38;
290 /* 0x3A */ u16 field_0x3a;
291 /* 0x3C */ void* mInfoTable2Offset;
292 /* 0x40 */ void* field_0x40;
293 /* 0x44 */ void* mNameTab2Offset;
294 /* 0x48 */ void* field_0x48;
295 /* 0x4C */ void* field_0x4c;
296 /* 0x50 */ void* field_0x50;
297 /* 0x54 */ void* field_0x54;
298 /* 0x58 */ void* field_0x58;
299 /* 0x5C */ s32 field_0x5c;
300}; // Size = 0x60
301
303
310 /* 0x08 */ u8 field_0x8;
311 /* 0x09 */ u8 field_0x9;
312 /* 0x0A */ s16 mFrameMax;
313 /* 0x0C */ u16 mAnmTableNum[2];
314 /* 0x10 */ u8 field_0x10[0x18 - 0x10];
315 /* 0x18 */ void* mTableOffsets[2];
316 /* 0x20 */ void* mVtxColoIndexDataOffset[2];
317 /* 0x28 */ void* mVtxColoIndexPointerOffset[2];
318 /* 0x30 */ void* mRValOffset;
319 /* 0x34 */ void* mGValOffset;
320 /* 0x38 */ void* mBValOffset;
321 /* 0x3C */ void* mAValOffset;
322}; // Size = 0x40
323
325
332 /* 0x08 */ u8 field_0x8;
333 /* 0x09 */ u8 field_0x9;
334 /* 0x0A */ s16 mFrameMax;
335 /* 0x0C */ u16 field_0xc;
336 /* 0x0E */ u16 field_0xe;
337 /* 0x10 */ void* mTableOffset;
338 /* 0x14 */ void* mValuesOffset;
339 /* 0x18 */ void* mUpdateMaterialIDOffset;
340 /* 0x1C */ void* mNameTabOffset;
341}; // Size = 0x20
342
344
351 /* 0x08 */ u8 field_0x8;
352 /* 0x09 */ u8 field_0x9; // maybe padding
353 /* 0x0A */ s16 mFrameMax;
356 /* 0x10 */ u16 field_0x10;
357 /* 0x12 */ u16 field_0x12;
358 /* 0x14 */ u16 field_0x14;
359 /* 0x16 */ u16 field_0x16;
360 /* 0x18 */ u16 field_0x18;
361 /* 0x1A */ u16 field_0x1a;
362 /* 0x1C */ u16 field_0x1c;
363 /* 0x1E */ u16 field_0x1e;
364 /* 0x20 */ void* mCRegTableOffset;
365 /* 0x24 */ void* mKRegTableOffset;
368 /* 0x30 */ void* mCRegNameTabOffset;
369 /* 0x34 */ void* mKRegNameTabOffset;
370 /* 0x38 */ void* mCRValuesOffset;
371 /* 0x3C */ void* mCGValuesOffset;
372 /* 0x40 */ void* mCBValuesOffset;
373 /* 0x44 */ void* mCAValuesOffset;
374 /* 0x48 */ void* mKRValuesOffset;
375 /* 0x4C */ void* mKGValuesOffset;
376 /* 0x50 */ void* mKBValuesOffset;
377 /* 0x54 */ void* mKAValuesOffset;
378}; // Size = 0x58
379
381
386struct J3DAnmColorFullData { /* PlaceHolder Structure */
388 /* 0x08 */ u8 field_0x8;
389 /* 0x09 */ u8 field_0x9[3];
390 /* 0x0C */ s16 mFrameMax;
392 /* 0x10 */ u8 field_0x10[0x18 - 0x10];
393 /* 0x18 */ void* mTableOffset;
394 /* 0x1C */ void* mUpdateMaterialIDOffset;
395 /* 0x20 */ void* mNameTabOffset;
396 /* 0x24 */ void* mRValuesOffset;
397 /* 0x28 */ void* mGValuesOffset;
398 /* 0x2C */ void* mBValuesOffset;
399 /* 0x30 */ void* mAValuesOffset;
400}; // Size = 0x34
401
403
411
418 /* 0x08 */ u8 field_0x8;
419 /* 0x09 */ u8 field_0x9;
420 /* 0x0A */ s16 mFrameMax;
421 /* 0x0C */ u16 field_0xc;
422 /* 0x10 */ int field_0x10;
423 /* 0x14 */ void* mTableOffset;
424 /* 0x18 */ void* field_0x18;
425 /* 0x1c */ void* field_0x1c;
426 /* 0x20 */ void* field_0x20;
427};
428
435 /* 0x08 */ u8 field_0x8;
436 /* 0x0A */ s16 mFrameMax;
437 /* 0x0C */ s32 field_0xc;
438 /* 0x10 */ void* mTableOffset;
439 /* 0x14 */ void* mWeightOffset;
440};
441
448 /* 0x08 */ u8 field_0x8;
449 /* 0x0A */ s16 mFrameMax;
450 /* 0x0C */ s32 field_0xc;
451 /* 0x10 */ void* mTableOffset;
452 /* 0x14 */ void* mWeightOffset;
453};
454
463
469public:
471 mAttribute = 0;
472 field_0x5 = 0;
473 mFrameMax = 0;
474 mFrame = 0.0f;
475 }
476
478 mAttribute = 0;
479 field_0x5 = 0;
481 mFrame = 0.0f;
482 }
483
484 virtual ~J3DAnmBase() {}
485 virtual s32 getKind() const = 0;
486
487 u8 getAttribute() const { return mAttribute; }
488 s16 getFrameMax() const { return mFrameMax; }
489 f32 getFrame() const { return mFrame; }
491
492 /* 0x4 */ u8 mAttribute;
493 /* 0x5 */ u8 field_0x5;
494 /* 0x6 */ s16 mFrameMax;
495 /* 0x8 */ f32 mFrame;
496}; // Size: 0xC
497
502class J3DAnmTransform : public J3DAnmBase {
503public:
504 /* 80328E40 */ J3DAnmTransform(s16, f32*, s16*, f32*);
505
506 /* 8003B93C */ virtual ~J3DAnmTransform() {}
507 /* 8003C77C */ virtual s32 getKind() const { return 0; }
508 virtual void getTransform(u16, J3DTransformInfo*) const = 0;
509
510 /* 0x0C */ f32* mScaleData;
511 /* 0x10 */ s16* mRotData;
512 /* 0x14 */ f32* mTransData;
513 /* 0x18 */ s16 field_0x18;
514 /* 0x1A */ s16 field_0x1a;
515 /* 0x1C */ u16 field_0x1c;
516 /* 0x1E */ s16 field_0x1e;
517}; // Size: 0x20
518
523class J3DAnmTransformKey : public J3DAnmTransform {
524public:
529
530 /* 80329A34 */ void calcTransform(f32, u16, J3DTransformInfo*) const;
531
532 /* 8003B8D0 */ virtual ~J3DAnmTransformKey() {}
533 /* 8003C800 */ virtual s32 getKind() const { return 8; }
534 /* 8003C808 */ virtual void getTransform(u16 param_0, J3DTransformInfo* param_1) const {
536 }
537
538 /* 0x20 */ int mDecShift;
540}; // Size: 0x28
541
547public:
549
550 /* 8032C2AC */ virtual ~J3DAnmTransformFull() {}
551 /* 8032C318 */ virtual s32 getKind() const { return 9; }
552 /* 80328E90 */ virtual void getTransform(u16, J3DTransformInfo*) const;
553
555}; // Size: 0x24
556
562public:
563 /* 8032C228 */ virtual ~J3DAnmTransformFullWithLerp() {}
564 /* 8032C2A4 */ virtual s32 getKind() const { return 16; }
565 /* 803291F0 */ virtual void getTransform(u16, J3DTransformInfo*) const;
566}; // Size: 0x24
567
568struct J3DTextureSRTInfo;
569class J3DModelData;
570class J3DMaterialTable;
571
576class J3DAnmTextureSRTKey : public J3DAnmBase {
577public:
578 /* 80329E5C */ J3DAnmTextureSRTKey();
579 /* 80329F14 */ void calcTransform(f32, u16, J3DTextureSRTInfo*) const;
580 /* 8032B0C0 */ void searchUpdateMaterialID(J3DMaterialTable*);
581 /* 8032B1D4 */ void searchUpdateMaterialID(J3DModelData*);
582
583 /* 8032C198 */ virtual ~J3DAnmTextureSRTKey() {}
584 /* 8032C220 */ virtual s32 getKind() const { return 4; }
585
589
590 u16 getUpdateMaterialID(u16 idx) const { return mUpdateMaterialID[idx]; }
591 u16 getUpdateMaterialNum() const { return mTrackNum / 3; }
592
593 int getUpdateTexMtxID(u16 idx) { return mUpdateTexMtxID[idx]; }
594 bool isValidUpdateMaterialID(u16 idx) const { return mUpdateMaterialID[idx] != 0xffff; }
596 Vec* getSRTCenter(u16 idx) { return &mSRTCenter[idx]; }
597
598 /* 0x0C */ int mDecShift;
600 /* 0x14 */ u16 mTrackNum;
601 /* 0x16 */ u16 mScaleNum;
602 /* 0x18 */ u16 mRotNum;
603 /* 0x1A */ u16 mTransNum;
604 /* 0x1C */ f32* mScaleData;
605 /* 0x20 */ s16* mRotData;
606 /* 0x24 */ f32* mTransData;
607 /* 0x28 */ u8* mUpdateTexMtxID;
610 /* 0x40 */ Vec* mSRTCenter;
611 /* 0x44 */ u16 field_0x44;
612 /* 0x46 */ u16 field_0x46;
613 /* 0x48 */ u16 field_0x48;
614 /* 0x4A */ u16 field_0x4a;
615 /* 0x4C */ void* field_0x4c;
616 /* 0x50 */ void* field_0x50;
617 /* 0x54 */ void* field_0x54;
618 /* 0x58 */ void* field_0x58;
622 /* 0x74 */ Vec* mPostSRTCenter;
624}; // Size: 0x7C
625
630class J3DAnmTexPattern : public J3DAnmBase {
631public:
632 /* 8032AED8 */ J3DAnmTexPattern();
633 /* 8032AF50 */ void getTexNo(u16, u16*) const;
634 /* 8032B004 */ void searchUpdateMaterialID(J3DMaterialTable*);
635 /* 8032B09C */ void searchUpdateMaterialID(J3DModelData*);
636
637 /* 8032BD20 */ virtual ~J3DAnmTexPattern() {}
638 /* 8032BD94 */ virtual s32 getKind() const { return 2; }
639
640 u16 getUpdateMaterialID(u16 idx) const { return mUpdateMaterialID[idx]; }
642 bool isValidUpdateMaterialID(u16 id) const { return mUpdateMaterialID[id] != 0xFFFF; }
644
645 /* 0x0C */ u16* mTextureIndex;
647 /* 0x14 */ u16 field_0x14;
651}; // Size: 0x2C
652
657class J3DAnmTevRegKey : public J3DAnmBase {
658public:
659 /* 8032AE18 */ J3DAnmTevRegKey();
660 /* 8032B1F8 */ void getTevColorReg(u16, _GXColorS10*) const;
661 /* 8032B4BC */ void getTevKonstReg(u16, _GXColor*) const;
662 /* 8032B780 */ void searchUpdateMaterialID(J3DMaterialTable*);
663 /* 8032B87C */ void searchUpdateMaterialID(J3DModelData*);
664
665 /* 8032BD9C */ virtual ~J3DAnmTevRegKey() {}
666 /* 8032BE24 */ virtual s32 getKind() const { return 5; }
667
670
673
676
677 bool isValidCRegUpdateMaterialID(u16 idx) { return mCRegUpdateMaterialID[idx] != 0xffff; }
678 bool isValidKRegUpdateMaterialID(u16 idx) { return mKRegUpdateMaterialID[idx] != 0xffff; }
679
696 /* 0x50 */ s16* mAnmCRegDataR;
697 /* 0x54 */ s16* mAnmCRegDataG;
698 /* 0x58 */ s16* mAnmCRegDataB;
699 /* 0x5C */ s16* mAnmCRegDataA;
700 /* 0x60 */ s16* mAnmKRegDataR;
701 /* 0x64 */ s16* mAnmKRegDataG;
702 /* 0x68 */ s16* mAnmKRegDataB;
703 /* 0x6C */ s16* mAnmKRegDataA;
704}; // Size: 0x70
705
710class J3DAnmColor : public J3DAnmBase {
711public:
712 /* 8032A828 */ J3DAnmColor();
713 /* 8032A8A4 */ void searchUpdateMaterialID(J3DMaterialTable*);
714
715 /* 8032BCAC */ virtual ~J3DAnmColor() {}
716 /* 8032BF44 */ virtual s32 getKind() const { return 1; }
717 /* 8032BF4C */ virtual void getColor(u16, GXColor*) const {}
718
720 bool isValidUpdateMaterialID(u16 id) const { return mUpdateMaterialID[id] != 0xFFFF; }
721 u16 getUpdateMaterialID(u16 idx) const { return mUpdateMaterialID[idx]; }
722
723 /* 0x0C */ u16 field_0xc;
724 /* 0x0E */ u16 field_0xe;
725 /* 0x10 */ u16 field_0x10;
726 /* 0x12 */ u16 field_0x12;
730}; // Size: 0x2C
731
737public:
738 /* 8032AB00 */ J3DAnmColorKey();
739
740 /* 8032BE2C */ virtual ~J3DAnmColorKey() {}
741 /* 8032BEB0 */ virtual s32 getKind() const { return 11; }
742 /* 8032AB54 */ virtual void getColor(u16, GXColor*) const;
743
744 /* 0x2C */ s16* mColorR;
745 /* 0x30 */ s16* mColorG;
746 /* 0x34 */ s16* mColorB;
747 /* 0x38 */ s16* mColorA;
749};
750
756public:
757 /* 8032AB00 */ J3DAnmColorFull();
758
759 /* 8032BE2C */ virtual ~J3DAnmColorFull() {}
760 /* 8032BEB0 */ virtual s32 getKind() const { return 10; }
761 /* 8032AB54 */ virtual void getColor(u16, GXColor*) const;
762
763 /* 0x2C */ u8* mColorR;
764 /* 0x30 */ u8* mColorG;
765 /* 0x34 */ u8* mColorB;
766 /* 0x38 */ u8* mColorA;
768};
769
775public:
777
778 virtual ~J3DAnmVtxColor() {}
779 virtual s32 getKind() const { return 7; }
780 virtual void getColor(u8, u16, GXColor*) const {}
781
782 /* 0x0C */ u16 mAnmTableNum[2];
784}; // Size: 0x18
785
791public:
792 /* 8032A4E0 */ J3DAnmVtxColorKey();
793
794 /* 8032BF50 */ virtual ~J3DAnmVtxColorKey() {}
795 /* 8032BFBC */ virtual s32 getKind() const { return 15; }
796 /* 8032A53C */ virtual void getColor(u8, u16, GXColor*) const;
797
799 /* 0x20 */ s16* mColorR;
800 /* 0x24 */ s16* mColorG;
801 /* 0x28 */ s16* mColorB;
802 /* 0x2C */ s16* mColorA;
803};
804
810public:
811 /* 8032A30C */ J3DAnmVtxColorFull();
812
813 /* 8032BFC4 */ virtual ~J3DAnmVtxColorFull() {}
814 /* 8032C030 */ virtual s32 getKind() const { return 14; }
815 /* 8032A368 */ virtual void getColor(u8, u16, GXColor*) const;
816
818 /* 0x20 */ u8* mColorR;
819 /* 0x24 */ u8* mColorG;
820 /* 0x28 */ u8* mColorB;
821 /* 0x2C */ u8* mColorA;
822};
823
828class J3DAnmCluster : public J3DAnmBase {
829public:
831
832 /* 8032BCAC */ virtual ~J3DAnmCluster() {}
833 /* 8032BF44 */ virtual s32 getKind() const { return 3; }
834 /* 8032BF4C */ virtual f32 getWeight(u16) const { return 1.0f; }
835
836 /* 0x0C */ f32* mWeight;
837}; // Size: 0x10
838
844public:
846
847 /* 8032BCAC */ virtual ~J3DAnmClusterFull() {}
848 /* 8032BF44 */ virtual s32 getKind() const { return 12; }
849 /* 8032BF4C */ virtual f32 getWeight(u16) const;
850
852};
853
859public:
861
862 /* 8032C044 */ virtual ~J3DAnmClusterKey() {}
863 /* 8032C0B0 */ virtual s32 getKind() const { return 13; }
864 /* 8032A218 */ virtual f32 getWeight(u16) const;
865
867};
868
874public:
881
882 /* 8033979C */ virtual ~J3DAnmVisibilityFull() {}
883 /* 803397F8 */ virtual s32 getKind() const { return 6; }
884
886 /* 0x0E */ u16 field_0xe;
888 /* 0x14 */ u8* mVisibility;
889};
890
895class J3DFrameCtrl {
896public:
904
905 J3DFrameCtrl() { this->init(0); }
906 void init(s16);
908 void update();
909 virtual ~J3DFrameCtrl() {}
910
911 u8 getAttribute() const { return mAttribute; }
913 u8 getState() const { return mState; }
914 bool checkState(u8 state) const { return mState & state ? true : false; }
915 s16 getStart() const { return mStart; }
917 mStart = start;
918 mFrame = start;
919 }
920 s16 getEnd() const { return mEnd; }
921 void setEnd(s16 end) { mEnd = end; }
922 s32 getLoop() { return mLoop; }
923 void setLoop(s16 loop) { mLoop = loop; }
924 f32 getRate() const { return mRate; }
925 void setRate(f32 rate) { mRate = rate; }
926 f32 getFrame() const { return mFrame; }
928 void reset() {
929 mFrame = mStart;
930 mRate = 1.0f;
931 mState = 0;
932 }
933
934 /* 0x04 */ u8 mAttribute;
935 /* 0x05 */ u8 mState;
936 /* 0x06 */ s16 mStart;
937 /* 0x08 */ s16 mEnd;
938 /* 0x0A */ s16 mLoop;
939 /* 0x0C */ f32 mRate;
940 /* 0x10 */ f32 mFrame;
941}; // Size: 0x14
942
951
956
957template <typename A0>
973
974template <typename A0, typename B0>
987
988#endif /* J3DANIMATION_H */
STATIC_ASSERT(sizeof(J3DAnmVtxColorFullData)==0x40)
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition J3DAnimation.h:468
f32 getFrame() const
Definition J3DAnimation.h:489
u8 field_0x5
Definition J3DAnimation.h:493
s16 getFrameMax() const
Definition J3DAnimation.h:488
f32 mFrame
Definition J3DAnimation.h:495
u8 mAttribute
Definition J3DAnimation.h:492
void setFrame(f32 frame)
Definition J3DAnimation.h:490
J3DAnmBase(s16 i_frameMax)
Definition J3DAnimation.h:477
J3DAnmBase()
Definition J3DAnimation.h:470
virtual ~J3DAnmBase()
Definition J3DAnimation.h:484
u8 getAttribute() const
Definition J3DAnimation.h:487
s16 mFrameMax
Definition J3DAnimation.h:494
virtual s32 getKind() const =0
Definition J3DAnimation.h:843
J3DAnmClusterFull()
Definition J3DAnimation.h:845
virtual s32 getKind() const
Definition J3DAnimation.h:848
J3DAnmClusterFullTable * mAnmTable
Definition J3DAnimation.h:851
virtual ~J3DAnmClusterFull()
Definition J3DAnimation.h:847
virtual f32 getWeight(u16) const
Definition J3DAnimation.cpp:768
Definition J3DAnimation.h:858
J3DAnmClusterKey()
Definition J3DAnimation.h:860
virtual s32 getKind() const
Definition J3DAnimation.h:863
virtual ~J3DAnmClusterKey()
Definition J3DAnimation.h:862
J3DAnmClusterKeyTable * mAnmTable
Definition J3DAnimation.h:866
virtual f32 getWeight(u16) const
Definition J3DAnimation.cpp:782
Definition J3DAnimation.h:828
virtual s32 getKind() const
Definition J3DAnimation.h:833
virtual f32 getWeight(u16) const
Definition J3DAnimation.h:834
J3DAnmCluster(s16 param_1, f32 *param_2)
Definition J3DAnimation.h:830
f32 * mWeight
Definition J3DAnimation.h:836
virtual ~J3DAnmCluster()
Definition J3DAnimation.h:832
Definition J3DAnimation.h:755
u8 * mColorA
Definition J3DAnimation.h:766
u8 * mColorG
Definition J3DAnimation.h:764
u8 * mColorR
Definition J3DAnimation.h:763
u8 * mColorB
Definition J3DAnimation.h:765
J3DAnmColorFullTable * mAnmTable
Definition J3DAnimation.h:767
virtual ~J3DAnmColorFull()
Definition J3DAnimation.h:759
J3DAnmColorFull()
Definition J3DAnimation.cpp:951
virtual s32 getKind() const
Definition J3DAnimation.h:760
virtual void getColor(u16, GXColor *) const
Definition J3DAnimation.cpp:960
Definition J3DAnimation.h:736
J3DAnmColorKey()
Definition J3DAnimation.cpp:993
s16 * mColorG
Definition J3DAnimation.h:745
J3DAnmColorKeyTable * mAnmTable
Definition J3DAnimation.h:748
virtual ~J3DAnmColorKey()
Definition J3DAnimation.h:740
virtual s32 getKind() const
Definition J3DAnimation.h:741
s16 * mColorR
Definition J3DAnimation.h:744
s16 * mColorB
Definition J3DAnimation.h:746
s16 * mColorA
Definition J3DAnimation.h:747
virtual void getColor(u16, GXColor *) const
Definition J3DAnimation.cpp:1002
Definition J3DAnimation.h:710
bool isValidUpdateMaterialID(u16 id) const
Definition J3DAnimation.h:720
virtual ~J3DAnmColor()
Definition J3DAnimation.h:715
u16 * mUpdateMaterialID
Definition J3DAnimation.h:728
u16 field_0x10
Definition J3DAnimation.h:725
virtual void getColor(u16, GXColor *) const
Definition J3DAnimation.h:717
virtual s32 getKind() const
Definition J3DAnimation.h:716
u16 field_0xe
Definition J3DAnimation.h:724
u16 field_0xc
Definition J3DAnimation.h:723
void searchUpdateMaterialID(J3DMaterialTable *)
Definition J3DAnimation.cpp:939
u16 mUpdateMaterialNum
Definition J3DAnimation.h:727
u16 getUpdateMaterialNum() const
Definition J3DAnimation.h:719
u16 getUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:721
u16 field_0x12
Definition J3DAnimation.h:726
J3DAnmColor()
Definition J3DAnimation.cpp:933
JUTNameTab mUpdateMaterialName
Definition J3DAnimation.h:729
Definition J3DAnimation.h:561
virtual s32 getKind() const
Definition J3DAnimation.h:564
virtual void getTransform(u16, J3DTransformInfo *) const
Definition J3DAnimation.cpp:301
virtual ~J3DAnmTransformFullWithLerp()
Definition J3DAnimation.h:563
Definition J3DAnimation.h:546
J3DAnmTransformFullTable * mAnmTable
Definition J3DAnimation.h:554
J3DAnmTransformFull()
Definition J3DAnimation.h:548
virtual void getTransform(u16, J3DTransformInfo *) const
Definition J3DAnimation.cpp:228
virtual s32 getKind() const
Definition J3DAnimation.h:551
virtual ~J3DAnmTransformFull()
Definition J3DAnimation.h:550
Definition J3DAnimation.h:873
u8 * mVisibility
Definition J3DAnimation.h:888
virtual ~J3DAnmVisibilityFull()
Definition J3DAnimation.h:882
J3DAnmVisibilityFull()
Definition J3DAnimation.h:875
J3DAnmVisibilityFullTable * mAnmTable
Definition J3DAnimation.h:887
virtual s32 getKind() const
Definition J3DAnimation.h:883
u16 mUpdateMaterialNum
Definition J3DAnimation.h:885
u16 field_0xe
Definition J3DAnimation.h:886
Definition J3DAnimation.h:809
J3DAnmColorFullTable * mpTable[2]
Definition J3DAnimation.h:817
u8 * mColorR
Definition J3DAnimation.h:818
u8 * mColorA
Definition J3DAnimation.h:821
virtual void getColor(u8, u16, GXColor *) const
Definition J3DAnimation.cpp:814
virtual ~J3DAnmVtxColorFull()
Definition J3DAnimation.h:813
u8 * mColorG
Definition J3DAnimation.h:819
u8 * mColorB
Definition J3DAnimation.h:820
J3DAnmVtxColorFull()
Definition J3DAnimation.cpp:806
virtual s32 getKind() const
Definition J3DAnimation.h:814
Definition J3DAnimation.h:790
virtual ~J3DAnmVtxColorKey()
Definition J3DAnimation.h:794
virtual s32 getKind() const
Definition J3DAnimation.h:795
virtual void getColor(u8, u16, GXColor *) const
Definition J3DAnimation.cpp:855
s16 * mColorB
Definition J3DAnimation.h:801
s16 * mColorR
Definition J3DAnimation.h:799
J3DAnmVtxColorKey()
Definition J3DAnimation.cpp:847
J3DAnmColorKeyTable * mpTable[2]
Definition J3DAnimation.h:798
s16 * mColorG
Definition J3DAnimation.h:800
s16 * mColorA
Definition J3DAnimation.h:802
Definition J3DAnimation.h:774
virtual ~J3DAnmVtxColor()
Definition J3DAnimation.h:778
J3DAnmVtxColorIndexData * mAnmVtxColorIndexData[2]
Definition J3DAnimation.h:783
virtual s32 getKind() const
Definition J3DAnimation.h:779
u16 mAnmTableNum[2]
Definition J3DAnimation.h:782
virtual void getColor(u8, u16, GXColor *) const
Definition J3DAnimation.h:780
J3DAnmVtxColor()
Definition J3DAnimation.cpp:795
Definition JUTNameTab.h:27
static void end(b_oh_class *i_this)
Definition d_a_b_oh.cpp:527
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
static const Attr & attr()
Definition d_a_obj_ladder.cpp:135
static initFunc init[]
Definition d_menu_collect.cpp:42
f32 Mtx[3][4]
Definition mtx.h:15
@ start
Definition strtoul.c:8
Definition J3DAnimation.h:139
J3DAnmKeyTableBase mBTable
Definition J3DAnimation.h:142
J3DAnmKeyTableBase mRTable
Definition J3DAnimation.h:140
J3DAnmKeyTableBase mATable
Definition J3DAnimation.h:143
u8 padding[3]
Definition J3DAnimation.h:145
J3DAnmKeyTableBase mGTable
Definition J3DAnimation.h:141
u8 mColorId
Definition J3DAnimation.h:144
Definition J3DAnimation.h:446
s16 mFrameMax
Definition J3DAnimation.h:449
u8 field_0x8
Definition J3DAnimation.h:448
JUTDataBlockHeader mHeader
Definition J3DAnimation.h:447
void * mTableOffset
Definition J3DAnimation.h:451
void * mWeightOffset
Definition J3DAnimation.h:452
s32 field_0xc
Definition J3DAnimation.h:450
Definition J3DAnimation.h:459
u16 mMaxFrame
Definition J3DAnimation.h:460
u16 mOffset
Definition J3DAnimation.h:461
Definition J3DAnimation.h:433
s32 field_0xc
Definition J3DAnimation.h:437
u8 field_0x8
Definition J3DAnimation.h:435
void * mTableOffset
Definition J3DAnimation.h:438
s16 mFrameMax
Definition J3DAnimation.h:436
void * mWeightOffset
Definition J3DAnimation.h:439
JUTDataBlockHeader mHeader
Definition J3DAnimation.h:434
Definition J3DAnimation.h:408
J3DAnmKeyTableBase mWeightTable
Definition J3DAnimation.h:409
Definition J3DAnimation.h:386
void * mNameTabOffset
Definition J3DAnimation.h:395
u16 mUpdateMaterialNum
Definition J3DAnimation.h:391
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:387
u8 field_0x10[0x18 - 0x10]
Definition J3DAnimation.h:392
void * mTableOffset
Definition J3DAnimation.h:393
s16 mFrameMax
Definition J3DAnimation.h:390
void * mGValuesOffset
Definition J3DAnimation.h:397
void * mUpdateMaterialIDOffset
Definition J3DAnimation.h:394
void * mBValuesOffset
Definition J3DAnimation.h:398
void * mRValuesOffset
Definition J3DAnimation.h:396
void * mAValuesOffset
Definition J3DAnimation.h:399
u8 field_0x9[3]
Definition J3DAnimation.h:389
u8 field_0x8
Definition J3DAnimation.h:388
Definition J3DAnimation.h:81
u16 mGMaxFrame
Definition J3DAnimation.h:84
u16 mBOffset
Definition J3DAnimation.h:87
u16 mAOffset
Definition J3DAnimation.h:89
u16 mGOffset
Definition J3DAnimation.h:85
u16 mAMaxFrame
Definition J3DAnimation.h:88
u16 mBMaxFrame
Definition J3DAnimation.h:86
u16 mRMaxFrame
Definition J3DAnimation.h:82
u16 mROffset
Definition J3DAnimation.h:83
Definition J3DAnimation.h:245
u16 field_0x10
Definition J3DAnimation.h:251
u8 field_0x8
Definition J3DAnimation.h:247
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:246
s16 mFrameMax
Definition J3DAnimation.h:249
u16 mUpdateMaterialNum
Definition J3DAnimation.h:250
u16 field_0x14
Definition J3DAnimation.h:253
void * mTableOffset
Definition J3DAnimation.h:255
void * mGValOffset
Definition J3DAnimation.h:259
void * mUpdateMaterialIDOffset
Definition J3DAnimation.h:256
u16 field_0x16
Definition J3DAnimation.h:254
void * mRValOffset
Definition J3DAnimation.h:258
void * mBValOffset
Definition J3DAnimation.h:260
void * mNameTabOffset
Definition J3DAnimation.h:257
u8 field_0x9[3]
Definition J3DAnimation.h:248
u16 field_0x12
Definition J3DAnimation.h:252
void * mAValOffset
Definition J3DAnimation.h:261
Definition J3DAnimation.h:61
J3DAnmKeyTableBase mGInfo
Definition J3DAnimation.h:63
J3DAnmKeyTableBase mRInfo
Definition J3DAnimation.h:62
J3DAnmKeyTableBase mAInfo
Definition J3DAnimation.h:65
J3DAnmKeyTableBase mBInfo
Definition J3DAnimation.h:64
Definition J3DAnimation.h:165
u32 mType
Definition J3DAnimation.h:166
u32 mNextOffset
Definition J3DAnimation.h:167
Definition J3DAnimation.h:174
J3DAnmDataBlockHeader mFirst
Definition J3DAnimation.h:180
u32 mCount
Definition J3DAnimation.h:178
u8 _10[0x20 - 0x10]
Definition J3DAnimation.h:179
u8 _8[4]
Definition J3DAnimation.h:177
u32 mMagic
Definition J3DAnimation.h:175
u32 mType
Definition J3DAnimation.h:176
Definition J3DAnimation.h:152
J3DAnmKeyTableBase mRTable
Definition J3DAnimation.h:153
u8 mColorId
Definition J3DAnimation.h:157
J3DAnmKeyTableBase mATable
Definition J3DAnimation.h:156
J3DAnmKeyTableBase mBTable
Definition J3DAnimation.h:155
J3DAnmKeyTableBase mGTable
Definition J3DAnimation.h:154
u8 padding[3]
Definition J3DAnimation.h:158
Definition J3DAnimation.h:51
u16 mType
Definition J3DAnimation.h:54
u16 mOffset
Definition J3DAnimation.h:53
u16 mMaxFrame
Definition J3DAnimation.h:52
Definition J3DAnimation.h:349
void * mKRValuesOffset
Definition J3DAnimation.h:374
u16 field_0x14
Definition J3DAnimation.h:358
u16 field_0x16
Definition J3DAnimation.h:359
void * mCRValuesOffset
Definition J3DAnimation.h:370
void * mKAValuesOffset
Definition J3DAnimation.h:377
u16 mCRegUpdateMaterialNum
Definition J3DAnimation.h:354
void * mCBValuesOffset
Definition J3DAnimation.h:372
void * mKRegNameTabOffset
Definition J3DAnimation.h:369
void * mKRegUpdateMaterialIDOffset
Definition J3DAnimation.h:367
void * mKBValuesOffset
Definition J3DAnimation.h:376
u16 field_0x18
Definition J3DAnimation.h:360
u16 mKRegUpdateMaterialNum
Definition J3DAnimation.h:355
void * mKGValuesOffset
Definition J3DAnimation.h:375
u16 field_0x1e
Definition J3DAnimation.h:363
void * mCRegTableOffset
Definition J3DAnimation.h:364
u16 field_0x1a
Definition J3DAnimation.h:361
void * mCGValuesOffset
Definition J3DAnimation.h:371
void * mCAValuesOffset
Definition J3DAnimation.h:373
u16 field_0x10
Definition J3DAnimation.h:356
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:350
u8 field_0x9
Definition J3DAnimation.h:352
u8 field_0x8
Definition J3DAnimation.h:351
void * mKRegTableOffset
Definition J3DAnimation.h:365
u16 field_0x1c
Definition J3DAnimation.h:362
void * mCRegNameTabOffset
Definition J3DAnimation.h:368
u16 field_0x12
Definition J3DAnimation.h:357
s16 mFrameMax
Definition J3DAnimation.h:353
void * mCRegUpdateMaterialIDOffset
Definition J3DAnimation.h:366
Definition d_a_obj_sekizoa.cpp:45
u16 mCRegDataCountG
Definition J3DAnimation.h:683
s16 * mAnmCRegDataA
Definition J3DAnimation.h:699
void searchUpdateMaterialID(J3DMaterialTable *)
Definition J3DAnimation.cpp:1326
u16 getCRegUpdateMaterialNum() const
Definition J3DAnimation.h:668
JUTNameTab mKRegUpdateMaterialName
Definition J3DAnimation.h:693
s16 * mAnmCRegDataR
Definition J3DAnimation.h:696
JUTNameTab mCRegUpdateMaterialName
Definition J3DAnimation.h:691
u16 mKRegDataCountA
Definition J3DAnimation.h:689
u16 * mCRegUpdateMaterialID
Definition J3DAnimation.h:690
s16 * mAnmKRegDataB
Definition J3DAnimation.h:702
J3DAnmKRegKeyTable * mAnmKRegKeyTable
Definition J3DAnimation.h:695
u16 mKRegDataCountB
Definition J3DAnimation.h:688
u16 mKRegDataCountR
Definition J3DAnimation.h:686
s16 * mAnmCRegDataG
Definition J3DAnimation.h:697
u16 mKRegUpdateMaterialNum
Definition J3DAnimation.h:681
s16 * mAnmCRegDataB
Definition J3DAnimation.h:698
virtual s32 getKind() const
Definition J3DAnimation.h:666
s16 * mAnmKRegDataG
Definition J3DAnimation.h:701
s16 * mAnmKRegDataA
Definition J3DAnimation.h:703
J3DAnmCRegKeyTable * mAnmCRegKeyTable
Definition J3DAnimation.h:694
u16 * mKRegUpdateMaterialID
Definition J3DAnimation.h:692
const J3DAnmKRegKeyTable * getAnmKRegKeyTable() const
Definition J3DAnimation.h:675
void getTevColorReg(u16, _GXColorS10 *) const
Definition J3DAnimation.cpp:1168
u16 mCRegUpdateMaterialNum
Definition J3DAnimation.h:680
u16 mCRegDataCountR
Definition J3DAnimation.h:682
s16 * mAnmKRegDataR
Definition J3DAnimation.h:700
virtual ~J3DAnmTevRegKey()
Definition J3DAnimation.h:665
u16 getKRegUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:672
u16 getKRegUpdateMaterialNum() const
Definition J3DAnimation.h:669
u16 mKRegDataCountG
Definition J3DAnimation.h:687
bool isValidCRegUpdateMaterialID(u16 idx)
Definition J3DAnimation.h:677
u16 getCRegUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:671
const J3DAnmCRegKeyTable * getAnmCRegKeyTable() const
Definition J3DAnimation.h:674
J3DAnmTevRegKey()
Definition J3DAnimation.cpp:1080
bool isValidKRegUpdateMaterialID(u16 idx)
Definition J3DAnimation.h:678
void getTevKonstReg(u16, _GXColor *) const
Definition J3DAnimation.cpp:1247
u16 mCRegDataCountB
Definition J3DAnimation.h:684
u16 mCRegDataCountA
Definition J3DAnimation.h:685
Definition J3DAnimation.h:330
void * mTableOffset
Definition J3DAnimation.h:337
u8 field_0x8
Definition J3DAnimation.h:332
u16 field_0xc
Definition J3DAnimation.h:335
void * mNameTabOffset
Definition J3DAnimation.h:340
s16 mFrameMax
Definition J3DAnimation.h:334
u16 field_0xe
Definition J3DAnimation.h:336
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:331
void * mUpdateMaterialIDOffset
Definition J3DAnimation.h:339
u8 field_0x9
Definition J3DAnimation.h:333
void * mValuesOffset
Definition J3DAnimation.h:338
Definition J3DAnimation.h:128
u16 _6
Definition J3DAnimation.h:132
u16 mOffset
Definition J3DAnimation.h:130
u8 mTexNo
Definition J3DAnimation.h:131
u16 mMaxFrame
Definition J3DAnimation.h:129
Definition d_a_hozelda.cpp:36
u16 * mTextureIndex
Definition J3DAnimation.h:645
bool isValidUpdateMaterialID(u16 id) const
Definition J3DAnimation.h:642
void getTexNo(u16, u16 *) const
u16 * mUpdateMaterialID
Definition J3DAnimation.h:649
J3DAnmTexPatternFullTable * mAnmTable
Definition J3DAnimation.h:646
virtual ~J3DAnmTexPattern()
Definition J3DAnimation.h:637
u16 getUpdateMaterialNum() const
Definition J3DAnimation.h:641
u16 getUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:640
void searchUpdateMaterialID(J3DMaterialTable *)
Definition J3DAnimation.cpp:1122
u16 field_0x14
Definition J3DAnimation.h:647
J3DAnmTexPattern()
Definition J3DAnimation.cpp:1105
JUTNameTab mUpdateMaterialName
Definition J3DAnimation.h:650
J3DAnmTexPatternFullTable * getAnmTable()
Definition J3DAnimation.h:643
u16 mUpdateMaterialNum
Definition J3DAnimation.h:648
virtual s32 getKind() const
Definition J3DAnimation.h:638
Definition J3DAnimation.h:270
void * mNameTab1Offset
Definition J3DAnimation.h:281
u16 field_0xe
Definition J3DAnimation.h:276
s32 field_0x5c
Definition J3DAnimation.h:299
void * mNameTab2Offset
Definition J3DAnimation.h:293
void * mInfoTable2Offset
Definition J3DAnimation.h:291
void * mUpdateTexMtxIDOffset
Definition J3DAnimation.h:282
u16 field_0xc
Definition J3DAnimation.h:275
void * mScaleValOffset
Definition J3DAnimation.h:284
void * unkOffset
Definition J3DAnimation.h:283
void * mRotValOffset
Definition J3DAnimation.h:285
void * field_0x54
Definition J3DAnimation.h:297
void * field_0x48
Definition J3DAnimation.h:294
u16 field_0x10
Definition J3DAnimation.h:277
u16 field_0x38
Definition J3DAnimation.h:289
s16 field_0xa
Definition J3DAnimation.h:274
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:271
u16 field_0x12
Definition J3DAnimation.h:278
void * mTransValOffset
Definition J3DAnimation.h:286
void * field_0x40
Definition J3DAnimation.h:292
u8 field_0x9
Definition J3DAnimation.h:273
void * field_0x58
Definition J3DAnimation.h:298
void * field_0x4c
Definition J3DAnimation.h:295
void * mUpdateMatIDOffset
Definition J3DAnimation.h:280
u16 field_0x36
Definition J3DAnimation.h:288
u16 field_0x3a
Definition J3DAnimation.h:290
void * field_0x50
Definition J3DAnimation.h:296
void * mTableOffset
Definition J3DAnimation.h:279
u16 field_0x34
Definition J3DAnimation.h:287
u8 field_0x8
Definition J3DAnimation.h:272
Definition d_a_hozelda.cpp:45
u16 getUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:590
J3DAnmTransformKeyTable * mAnmTable
Definition J3DAnimation.h:599
u16 * mUpdateMaterialID
Definition J3DAnimation.h:608
Vec * mSRTCenter
Definition J3DAnimation.h:610
void searchUpdateMaterialID(J3DMaterialTable *)
Definition J3DAnimation.cpp:1141
JUTNameTab mPostUpdateMaterialName
Definition J3DAnimation.h:621
int mDecShift
Definition J3DAnimation.h:598
u32 mTexMtxCalcType
Definition J3DAnimation.h:623
bool isValidUpdateMaterialID(u16 idx) const
Definition J3DAnimation.h:594
int getUpdateTexMtxID(u16 idx)
Definition J3DAnimation.h:593
void * field_0x50
Definition J3DAnimation.h:616
J3DAnmTextureSRTKey()
Definition J3DAnimation.cpp:679
u16 mRotNum
Definition J3DAnimation.h:602
u16 mScaleNum
Definition J3DAnimation.h:601
void calcTransform(f32, u16, J3DTextureSRTInfo *) const
Definition J3DAnimation.cpp:703
virtual s32 getKind() const
Definition J3DAnimation.h:584
u16 getUpdateMaterialNum() const
Definition J3DAnimation.h:591
u16 field_0x4a
Definition J3DAnimation.h:614
f32 * mScaleData
Definition J3DAnimation.h:604
u16 field_0x44
Definition J3DAnimation.h:611
u16 * mPostUpdateMaterialID
Definition J3DAnimation.h:620
Vec * mPostSRTCenter
Definition J3DAnimation.h:622
void getTransform(u16 param_0, J3DTextureSRTInfo *pSRTInfo) const
Definition J3DAnimation.h:586
void * field_0x4c
Definition J3DAnimation.h:615
Vec * getSRTCenter(u16 idx)
Definition J3DAnimation.h:596
u16 field_0x48
Definition J3DAnimation.h:613
virtual ~J3DAnmTextureSRTKey()
Definition J3DAnimation.h:583
u16 mTrackNum
Definition J3DAnimation.h:600
u8 * mPostUpdateTexMtxID
Definition J3DAnimation.h:619
f32 * mTransData
Definition J3DAnimation.h:606
JUTNameTab mUpdateMaterialName
Definition J3DAnimation.h:609
u32 getTexMtxCalcType() const
Definition J3DAnimation.h:595
u8 * mUpdateTexMtxID
Definition J3DAnimation.h:607
void * field_0x54
Definition J3DAnimation.h:617
s16 * mRotData
Definition J3DAnimation.h:605
u16 mTransNum
Definition J3DAnimation.h:603
u16 field_0x46
Definition J3DAnimation.h:612
void * field_0x58
Definition J3DAnimation.h:618
Definition J3DAnimation.h:226
u16 field_0xc
Definition J3DAnimation.h:231
u8 field_0xe[0x14 - 0xe]
Definition J3DAnimation.h:232
s16 mFrameMax
Definition J3DAnimation.h:230
void * mRotValOffset
Definition J3DAnimation.h:235
void * mTransValOffset
Definition J3DAnimation.h:236
u8 field_0x8
Definition J3DAnimation.h:228
void * mTableOffset
Definition J3DAnimation.h:233
void * mScaleValOffset
Definition J3DAnimation.h:234
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:227
u8 field_0x9
Definition J3DAnimation.h:229
Definition J3DAnimation.h:115
u16 mRotationMaxFrame
Definition J3DAnimation.h:118
u16 mRotationOffset
Definition J3DAnimation.h:119
u16 mScaleOffset
Definition J3DAnimation.h:117
u16 mTranslateOffset
Definition J3DAnimation.h:121
u16 mTranslateMaxFrame
Definition J3DAnimation.h:120
u16 mScaleMaxFrame
Definition J3DAnimation.h:116
Definition J3DAnimation.h:416
void * mTableOffset
Definition J3DAnimation.h:423
s16 mFrameMax
Definition J3DAnimation.h:420
void * field_0x20
Definition J3DAnimation.h:426
JUTDataBlockHeader mHeader
Definition J3DAnimation.h:417
void * field_0x18
Definition J3DAnimation.h:424
int field_0x10
Definition J3DAnimation.h:422
u8 field_0x9
Definition J3DAnimation.h:419
u8 field_0x8
Definition J3DAnimation.h:418
void * field_0x1c
Definition J3DAnimation.h:425
u16 field_0xc
Definition J3DAnimation.h:421
Definition J3DAnimation.h:105
J3DAnmKeyTableBase mScaleInfo
Definition J3DAnimation.h:106
J3DAnmKeyTableBase mTranslateInfo
Definition J3DAnimation.h:108
J3DAnmKeyTableBase mRotationInfo
Definition J3DAnimation.h:107
Definition d_a_npc_fguard.cpp:44
virtual s32 getKind() const
Definition J3DAnimation.h:533
J3DAnmTransformKeyTable * mAnmTable
Definition J3DAnimation.h:539
J3DAnmTransformKey()
Definition J3DAnimation.h:525
void calcTransform(f32, u16, J3DTransformInfo *) const
Definition J3DAnimation.cpp:571
virtual void getTransform(u16 param_0, J3DTransformInfo *param_1) const
Definition J3DAnimation.h:534
virtual ~J3DAnmTransformKey()
Definition J3DAnimation.h:532
int mDecShift
Definition J3DAnimation.h:538
Definition J3DAnimation.h:28
s16 rotation_entries
Definition J3DAnimation.h:36
s16 translation_entries
Definition J3DAnimation.h:37
u32 translation_data_offset
Definition J3DAnimation.h:41
u32 scale_data_offset
Definition J3DAnimation.h:39
s16 duration
Definition J3DAnimation.h:33
u32 magic
Definition J3DAnimation.h:29
u8 attribute
Definition J3DAnimation.h:31
s16 scale_entries
Definition J3DAnimation.h:35
u8 rotation_frac
Definition J3DAnimation.h:32
s16 keyframe_num
Definition J3DAnimation.h:34
u32 size
Definition J3DAnimation.h:30
u32 anm_data_offset
Definition J3DAnimation.h:38
u32 rotation_data_offset
Definition J3DAnimation.h:40
Definition d_a_hozelda.cpp:54
f32 * mTransData
Definition J3DAnimation.h:512
s16 * mRotData
Definition J3DAnimation.h:511
virtual ~J3DAnmTransform()
Definition J3DAnimation.h:506
virtual s32 getKind() const
Definition J3DAnimation.h:507
s16 field_0x1a
Definition J3DAnimation.h:514
virtual void getTransform(u16, J3DTransformInfo *) const =0
u16 field_0x1c
Definition J3DAnimation.h:515
s16 field_0x1e
Definition J3DAnimation.h:516
f32 * mScaleData
Definition J3DAnimation.h:510
s16 field_0x18
Definition J3DAnimation.h:513
Definition J3DAnimation.h:209
void * mValuesOffset
Definition J3DAnimation.h:217
u8 field_0x8
Definition J3DAnimation.h:211
s16 mFrameMax
Definition J3DAnimation.h:213
u16 field_0xc
Definition J3DAnimation.h:214
u16 field_0xe
Definition J3DAnimation.h:215
u8 field_0x9
Definition J3DAnimation.h:212
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:210
void * mTableOffset
Definition J3DAnimation.h:216
Definition J3DAnimation.h:96
u16 _2
Definition J3DAnimation.h:98
u16 _0
Definition J3DAnimation.h:97
Definition J3DAnimation.h:187
void * mVtxColorIndexDataOffsets[2]
Definition J3DAnimation.h:195
void * mRValuesOffset
Definition J3DAnimation.h:197
u8 field_0x10[0x18 - 0x10]
Definition J3DAnimation.h:193
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:188
void * mBValuesOffset
Definition J3DAnimation.h:199
void * mGValuesOffset
Definition J3DAnimation.h:198
u8 field_0x8
Definition J3DAnimation.h:189
void * mVtxColorIndexPointerOffsets[2]
Definition J3DAnimation.h:196
s16 mFrameMax
Definition J3DAnimation.h:191
void * mTableOffsets[2]
Definition J3DAnimation.h:194
u8 field_0x9
Definition J3DAnimation.h:190
u16 mAnmTableNum[2]
Definition J3DAnimation.h:192
void * mAValuesOffset
Definition J3DAnimation.h:200
Definition J3DAnimation.h:72
void * mpData
Definition J3DAnimation.h:74
u16 mNum
Definition J3DAnimation.h:73
Definition J3DAnimation.h:308
s16 mFrameMax
Definition J3DAnimation.h:312
u8 field_0x9
Definition J3DAnimation.h:311
void * mGValOffset
Definition J3DAnimation.h:319
void * mVtxColoIndexDataOffset[2]
Definition J3DAnimation.h:316
void * mVtxColoIndexPointerOffset[2]
Definition J3DAnimation.h:317
u8 field_0x10[0x18 - 0x10]
Definition J3DAnimation.h:314
u16 mAnmTableNum[2]
Definition J3DAnimation.h:313
void * mBValOffset
Definition J3DAnimation.h:320
void * mAValOffset
Definition J3DAnimation.h:321
void * mTableOffsets[2]
Definition J3DAnimation.h:315
void * mRValOffset
Definition J3DAnimation.h:318
J3DAnmDataBlockHeader mHeader
Definition J3DAnimation.h:309
u8 field_0x8
Definition J3DAnimation.h:310
Definition d_a_hozelda.cpp:241
virtual ~J3DFrameCtrl()
Definition J3DAnimation.h:909
s16 mLoop
Definition J3DAnimation.h:938
s16 mEnd
Definition J3DAnimation.h:937
void setLoop(s16 loop)
Definition J3DAnimation.h:923
u8 mAttribute
Definition J3DAnimation.h:934
Attribute_e
Definition J3DAnimation.h:897
@ LOOP_ONCE_e
Definition J3DAnimation.h:898
@ LOOP_MIRROR_REPEAT_e
Definition J3DAnimation.h:902
@ LOOP_MIRROR_ONCE_e
Definition J3DAnimation.h:901
@ LOOP_REPEAT_e
Definition J3DAnimation.h:900
@ LOOP_ONCE_RESET_e
Definition J3DAnimation.h:899
f32 mFrame
Definition J3DAnimation.h:940
J3DFrameCtrl()
Definition J3DAnimation.h:905
void setFrame(f32 frame)
Definition J3DAnimation.h:927
u8 getAttribute() const
Definition J3DAnimation.h:911
BOOL checkPass(f32)
Definition J3DAnimation.cpp:24
u8 getState() const
Definition J3DAnimation.h:913
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 init(s16)
void setAttribute(u8 attr)
Definition J3DAnimation.h:912
void setRate(f32 rate)
Definition J3DAnimation.h:925
u8 mState
Definition J3DAnimation.h:935
s32 getLoop()
Definition J3DAnimation.h:922
void setEnd(s16 end)
Definition J3DAnimation.h:921
f32 mRate
Definition J3DAnimation.h:939
s16 mStart
Definition J3DAnimation.h:936
void reset()
Definition J3DAnimation.h:928
f32 getRate() const
Definition J3DAnimation.h:924
void update()
Definition J3DAnimation.cpp:144
J3DTransformInfo & getTransformInfo()
Definition J3DJoint.h:57
u16 getJntNo() const
Definition J3DJoint.h:52
Definition d_a_hozelda.cpp:34
Definition d_a_ep.cpp:51
Definition J3DAnimation.h:952
J3DMtxCalcAnimationAdaptorBase()
Definition J3DAnimation.h:953
void change(J3DAnmTransform *)
Definition J3DAnimation.h:954
Definition J3DAnimation.h:958
void calc(J3DMtxCalcAnmBase *param_0)
Definition J3DAnimation.h:960
J3DMtxCalcAnimationAdaptorDefault(J3DAnmTransform *param_0)
Definition J3DAnimation.h:959
Definition J3DAnimation.h:975
J3DMtxCalcAnimation(J3DAnmTransform *param_0)
Definition J3DAnimation.h:976
void calc()
Definition J3DAnimation.h:983
void setAnmTransform(J3DAnmTransform *param_0)
Definition J3DAnimation.h:978
~J3DMtxCalcAnimation()
Definition J3DAnimation.h:977
void init(const Vec &param_0, const Mtx &param_1)
Definition J3DAnimation.h:982
A0 field_0x8
Definition J3DAnimation.h:985
Definition J3DAnimation.h:943
J3DAnmTransform * getAnmTransform()
Definition J3DAnimation.h:946
~J3DMtxCalcAnmBase()
Definition J3DAnimation.h:945
J3DMtxCalcAnmBase(J3DAnmTransform *param_0)
Definition J3DAnimation.h:944
J3DAnmTransform * mAnmTransform
Definition J3DAnimation.h:949
void setAnmTransform(J3DAnmTransform *param_0)
Definition J3DAnimation.h:947
Definition d_a_hozelda.cpp:217
static J3DJoint * getJoint()
Definition J3DJoint.h:31
Definition J3DStruct.h:48
Definition d_a_hozelda.cpp:169
Definition J3DAnimation.h:7
u32 mType
Definition J3DAnimation.h:8
const JUTDataBlockHeader * getNext() const
Definition J3DAnimation.h:11
u32 mSize
Definition J3DAnimation.h:9
Definition J3DAnimation.h:17
u32 mBlockNum
Definition J3DAnimation.h:21
u32 mType
Definition J3DAnimation.h:19
u32 mFileSize
Definition J3DAnimation.h:20
u32 mMagic
Definition J3DAnimation.h:18
u32 mSeAnmOffset
Definition J3DAnimation.h:23
JUTDataBlockHeader mFirstBlock
Definition J3DAnimation.h:24
u8 _10[0x1C - 0x10]
Definition J3DAnimation.h:22
Definition d_a_hozelda.cpp:18
Definition d_a_obj_sekizoa.cpp:191
Definition d_a_ep.cpp:68
int BOOL
Definition types.h:27
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