Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DMaterialAttach.h
Go to the documentation of this file.
1#ifndef J3DMATERIALATTACH_H
2#define J3DMATERIALATTACH_H
3
4#include "dolphin/types.h"
5
6class J3DMaterial;
7class J3DTexture;
8class J3DAnmColor;
11class J3DAnmTevRegKey;
12class JUTNameTab;
13
18class J3DMaterialTable {
19public:
20 /* 8032F5A8 */ void clear();
21 /* 8032F5D0 */ J3DMaterialTable();
22 /* 8032F64C */ int removeMatColorAnimator(J3DAnmColor*);
23 /* 8032F6F8 */ int removeTexNoAnimator(J3DAnmTexPattern*);
27 /* 8032FAF4 */ int entryMatColorAnimator(J3DAnmColor*);
28 /* 8032FBC8 */ int entryTexNoAnimator(J3DAnmTexPattern*);
29 /* 8032FCC4 */ int entryTexMtxAnimator(J3DAnmTextureSRTKey*);
30 /* 8032FE70 */ int entryTevRegAnimator(J3DAnmTevRegKey*);
31
32 /* 8032F604 */ virtual ~J3DMaterialTable();
33
35
36 J3DTexture* getTexture() const { return mTexture; }
38
40
41 u16 getMaterialNum() const { return mMaterialNum; }
42 bool isLocked() const { return field_0x1c == 1; }
43
44private:
45 friend class J3DModelLoader;
46 friend class J3DModelLoader_v26;
47 friend class J3DModelLoader_v21;
48
49 /* 0x04 */ u16 mMaterialNum;
50 /* 0x06 */ u16 mUniqueMatNum;
54 /* 0x14 */ J3DTexture* mTexture;
56 /* 0x1C */ u16 field_0x1c;
57}; // Size: 0x20
58
59#endif /* J3DMATERIALATTACH_H */
Definition J3DAnimation.h:693
Definition J3DModelLoader.h:302
Definition J3DModelLoader.h:313
Definition J3DModelLoader.h:246
Definition J3DTexture.h:12
Definition JUTNameTab.h:27
Definition d_a_obj_sekizoa.cpp:45
Definition d_a_hozelda.cpp:36
Definition d_a_hozelda.cpp:45
Definition d_a_hozelda.cpp:34
u16 mMaterialNum
Definition J3DMaterialAttach.h:49
int createTexMtxForAnimator(J3DAnmTextureSRTKey *)
Definition J3DMaterialAttach.cpp:138
J3DMaterial * getMaterialNodePointer(u16 idx) const
Definition J3DMaterialAttach.h:34
int removeTexMtxAnimator(J3DAnmTextureSRTKey *)
JUTNameTab * getMaterialName() const
Definition J3DMaterialAttach.h:39
u16 mUniqueMatNum
Definition J3DMaterialAttach.h:50
JUTNameTab * mMaterialName
Definition J3DMaterialAttach.h:52
int entryMatColorAnimator(J3DAnmColor *)
Definition J3DMaterialAttach.cpp:166
int entryTexMtxAnimator(J3DAnmTextureSRTKey *)
Definition J3DMaterialAttach.cpp:214
int removeTevRegAnimator(J3DAnmTevRegKey *)
JUTNameTab * mTextureName
Definition J3DMaterialAttach.h:55
J3DTexture * mTexture
Definition J3DMaterialAttach.h:54
JUTNameTab * getTextureName() const
Definition J3DMaterialAttach.h:37
void clear()
Definition J3DMaterialAttach.cpp:12
u16 getMaterialNum() const
Definition J3DMaterialAttach.h:41
u16 field_0x1c
Definition J3DMaterialAttach.h:56
virtual ~J3DMaterialTable()
Definition J3DMaterialAttach.cpp:36
J3DTexture * getTexture() const
Definition J3DMaterialAttach.h:36
int entryTexNoAnimator(J3DAnmTexPattern *)
Definition J3DMaterialAttach.cpp:189
bool isLocked() const
Definition J3DMaterialAttach.h:42
J3DMaterialTable()
Definition J3DMaterialAttach.cpp:24
J3DMaterial * field_0x10
Definition J3DMaterialAttach.h:53
int removeMatColorAnimator(J3DAnmColor *)
Definition J3DMaterialAttach.cpp:40
J3DMaterial ** mMaterialNodePointer
Definition J3DMaterialAttach.h:51
int removeTexNoAnimator(J3DAnmTexPattern *)
Definition J3DMaterialAttach.cpp:59
int entryTevRegAnimator(J3DAnmTevRegKey *)
Definition J3DMaterialAttach.cpp:255
Definition d_a_hozelda.cpp:93
unsigned short u16
Definition types.h:9