Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DMaterial.h
Go to the documentation of this file.
1#ifndef J2DMATERIAL_H
2#define J2DMATERIAL_H
3
6
12public:
14 /* 802EA79C */ J2DMaterialAnmPointer();
15
20 /* 0x10 */ u16 mColorIds;
21 /* 0x12 */ u16 mSRTIds[8];
22 /* 0x22 */ u16 mPatternIds[8];
23 /* 0x32 */ u16 mTevCRegIds[4];
24 /* 0x3A */ u16 mTevKRegIds[4];
25 }; // Size: 0x44
26
27 /* 802EA1AC */ J2DMaterial();
28 /* 802EA38C */ void setGX();
29 /* 802EA410 */ static J2DTevBlock* createTevBlock(int, bool);
30 /* 802EA5C4 */ static J2DIndBlock* createIndBlock(int, bool);
31 /* 802EA84C */ void makeAnmPointer();
32 /* 802EA94C */ void setAnimation(J2DAnmTextureSRTKey*);
33 /* 802EAA2C */ void setAnimation(J2DAnmTexPattern*);
34 /* 802EAB0C */ void setAnimation(J2DAnmTevRegKey*);
35 /* 802EA89C */ void setAnimation(J2DAnmColor*);
36 /* 802EAC78 */ void animation();
37
38 /* 802EA2CC */ virtual ~J2DMaterial();
39
40 u16 getIndex() const { return mIndex; }
46 bool isVisible() const { return mVisible; }
48
49// private:
50 /* 0x04 */ void* field_0x4;
51 /* 0x08 */ int field_0x8;
52 /* 0x0C */ u16 mIndex;
53 /* 0x0E */ bool mVisible;
59 /* 0x78 */ J2DPEBlock mPEBlock;
61};
62
63#endif /* J2DMATERIAL_H */
Definition J2DAnimation.h:381
Definition J2DAnimation.h:311
Definition J2DAnimation.h:269
Definition J2DAnimation.h:203
Definition J2DMatBlock.h:823
Definition J2DMatBlock.h:688
Definition J2DMaterial.h:11
J2DMaterial()
Definition J2DMaterial.cpp:14
J2DIndBlock * getIndBlock()
Definition J2DMaterial.h:45
static J2DIndBlock * createIndBlock(int, bool)
Definition J2DMaterial.cpp:82
virtual ~J2DMaterial()
Definition J2DMaterial.cpp:24
J2DColorBlock * getColorBlock()
Definition J2DMaterial.h:41
void animation()
Definition J2DMaterial.cpp:259
J2DTevBlock * mTevBlock
Definition J2DMaterial.h:57
static J2DTevBlock * createTevBlock(int, bool)
Definition J2DMaterial.cpp:49
J2DPEBlock mPEBlock
Definition J2DMaterial.h:59
u16 mIndex
Definition J2DMaterial.h:52
u8 mMaterialAlphaCalc
Definition J2DMaterial.h:54
J2DIndBlock * mIndBlock
Definition J2DMaterial.h:58
J2DTevBlock * getTevBlock()
Definition J2DMaterial.h:44
J2DTexGenBlock mTexGenBlock
Definition J2DMaterial.h:56
int getMaterialAlphaCalc() const
Definition J2DMaterial.h:47
J2DTexGenBlock * getTexGenBlock()
Definition J2DMaterial.h:42
void makeAnmPointer()
Definition J2DMaterial.cpp:129
void setGX()
Definition J2DMaterial.cpp:31
bool mVisible
Definition J2DMaterial.h:53
u16 getIndex() const
Definition J2DMaterial.h:40
bool isVisible() const
Definition J2DMaterial.h:46
void * field_0x4
Definition J2DMaterial.h:50
int field_0x8
Definition J2DMaterial.h:51
J2DMaterialAnmPointer * mAnmPointer
Definition J2DMaterial.h:60
J2DColorBlock mColorBlock
Definition J2DMaterial.h:55
J2DPEBlock * getPEBlock()
Definition J2DMaterial.h:43
void setAnimation(J2DAnmTextureSRTKey *)
Definition J2DMaterial.cpp:161
Definition J2DMatBlock.h:668
Definition J2DMatBlock.h:49
Definition J2DMatBlock.h:759
Definition J2DMaterial.h:13
u16 mPatternIds[8]
Definition J2DMaterial.h:22
u16 mSRTIds[8]
Definition J2DMaterial.h:21
J2DAnmColor * mColorAnm
Definition J2DMaterial.h:16
J2DAnmTexPattern * mPatternAnm
Definition J2DMaterial.h:18
u16 mTevCRegIds[4]
Definition J2DMaterial.h:23
u16 mColorIds
Definition J2DMaterial.h:20
J2DAnmTextureSRTKey * mSRTAnm
Definition J2DMaterial.h:17
u16 mTevKRegIds[4]
Definition J2DMaterial.h:24
J2DAnmTevRegKey * mTevAnm
Definition J2DMaterial.h:19
J2DMaterialAnmPointer()
Definition J2DMaterial.cpp:104
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8