Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DMaterialAnm.h
Go to the documentation of this file.
1#ifndef J3DMATERIALANM_H
2#define J3DMATERIALANM_H
3
5
6typedef struct _GXColor GXColor;
7typedef struct _GXColorS10 GXColorS10;
8
13class J3DMatColorAnm {
14public:
15 /* 8003B2B8 */ ~J3DMatColorAnm() {};
16 /* 8003B2F4 */ J3DMatColorAnm() : field_0x0(0), mAnmFlag(1), mAnmColor(NULL) {};
22
24 mAnmColor = other.mAnmColor;
25 field_0x0 = other.field_0x0;
26 mAnmFlag = other.mAnmFlag;
27 }
28
29 void setAnmFlag(bool flag) { mAnmFlag = flag; }
30 bool getAnmFlag() const { return mAnmFlag; }
32
33private:
34 /* 0x0 */ u16 field_0x0;
35 /* 0x2 */ u16 mAnmFlag;
37}; // Size: 0x8
38
43class J3DTexNoAnm {
44public:
45 /* 8003B1F8 */ ~J3DTexNoAnm() {};
46 /* 8003B240 */ J3DTexNoAnm() : field_0x4(0), mAnmFlag(1), mAnmTexPattern(NULL) {};
52 /* 8003C82C */ virtual void calc(u16* param_0) const { mAnmTexPattern->getTexNo(field_0x4, param_0); }
53
55 mAnmTexPattern = other.mAnmTexPattern;
56 field_0x4 = other.field_0x4;
57 mAnmFlag = other.mAnmFlag;
58 }
59
60 void setAnmFlag(bool flag) { mAnmFlag = flag; }
61 bool getAnmFlag() const { return mAnmFlag; }
63
64private:
65 /* 0x4 */ u16 field_0x4;
66 /* 0x6 */ u16 mAnmFlag;
68}; // Size: 0xC
69
74class J3DTexMtxAnm {
75public:
76 /* 8003B264 */ ~J3DTexMtxAnm() {};
77 /* 8003B2A0 */ J3DTexMtxAnm() : field_0x0(0), mAnmFlag(1), mAnmTransform(NULL) {};
83
85 mAnmTransform = other.mAnmTransform;
86 field_0x0 = other.field_0x0;
87 mAnmFlag = other.mAnmFlag;
88 }
89
90 void setAnmFlag(bool flag) { mAnmFlag = flag; }
94 bool getAnmFlag() const { return mAnmFlag; }
95
96private:
97 /* 0x0 */ u16 field_0x0;
98 /* 0x2 */ u16 mAnmFlag;
100}; // Size: 0x8
101
106class J3DTevKColorAnm {
107public:
108 /* 8003B150 */ ~J3DTevKColorAnm() {}
109 /* 8003B18C */ J3DTevKColorAnm() : field_0x0(0), mAnmFlag(1), mAnmTevReg(NULL) {}
115
117 mAnmTevReg = other.mAnmTevReg;
118 field_0x0 = other.field_0x0;
119 mAnmFlag = other.mAnmFlag;
120 }
121
122 void setAnmFlag(bool flag) { mAnmFlag = flag; }
123 bool getAnmFlag() const { return mAnmFlag; }
125
126private:
127 /* 0x0 */ u16 field_0x0;
128 /* 0x2 */ u16 mAnmFlag;
130}; // Size: 0x8
131
136class J3DTevColorAnm {
137public:
138 /* 8003B1A4 */ ~J3DTevColorAnm() {}
139 /* 8003B1E0 */ J3DTevColorAnm() : field_0x0(0), mAnmFlag(1), mAnmTevReg(NULL) {}
145
147 mAnmTevReg = other.mAnmTevReg;
148 field_0x0 = other.field_0x0;
149 mAnmFlag = other.mAnmFlag;
150 }
151
152 void setAnmFlag(bool flag) { mAnmFlag = flag; }
153 bool getAnmFlag() const { return mAnmFlag; }
155
156private:
157 /* 0x0 */ u16 field_0x0;
158 /* 0x2 */ u16 mAnmFlag;
160}; // Size: 0x8
161
166class J3DMaterialAnm {
167public:
169
170 /* 8032C320 */ void initialize();
171 /* 8032C5A4 */ void setMatColorAnm(int, J3DMatColorAnm*);
172 /* 8032C5E4 */ void setTexMtxAnm(int, J3DTexMtxAnm*);
173 /* 8032C624 */ void setTexNoAnm(int, J3DTexNoAnm*);
174 /* 8032C664 */ void setTevColorAnm(int, J3DTevColorAnm*);
175 /* 8032C6A4 */ void setTevKColorAnm(int, J3DTevKColorAnm*);
176
177 /* 800A4820 */ virtual ~J3DMaterialAnm() {};
178 /* 8032C3C4 */ virtual void calc(J3DMaterial*) const;
179
180 const J3DTexMtxAnm& getTexMtxAnm(int i) const { return mTexMtxAnm[i]; }
181
182private:
185 /* 0x54 */ J3DTexNoAnm mTexNoAnm[8];
188}; // Size: 0xF4
189
190#endif /* J3DMATERIALANM_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J3DAnimation.h:693
virtual void getColor(u16, GXColor *) const
Definition J3DAnimation.h:700
static volatile BOOL flag
Definition dspproc.cpp:20
int i
Definition e_pow.c:165
Definition d_a_obj_sekizoa.cpp:45
void getTevColorReg(u16, _GXColorS10 *) const
Definition J3DAnimation.cpp:1168
void getTevKonstReg(u16, _GXColor *) const
Definition J3DAnimation.cpp:1247
Definition d_a_hozelda.cpp:36
void getTexNo(u16, u16 *) const
Definition J3DAnimation.cpp:1109
Definition d_a_hozelda.cpp:45
void getTransform(u16 param_0, J3DTextureSRTInfo *pSRTInfo) const
Definition J3DAnimation.h:569
Definition d_a_hozelda.cpp:234
~J3DMatColorAnm()
Definition J3DMaterialAnm.h:15
J3DMatColorAnm(u16 param_1, J3DAnmColor *param_2)
Definition J3DMaterialAnm.h:17
J3DAnmColor * mAnmColor
Definition J3DMaterialAnm.h:36
u16 field_0x0
Definition J3DMaterialAnm.h:34
J3DMatColorAnm()
Definition J3DMaterialAnm.h:16
bool getAnmFlag() const
Definition J3DMaterialAnm.h:30
void calc(_GXColor *pColor) const
Definition J3DMaterialAnm.h:31
void setAnmFlag(bool flag)
Definition J3DMaterialAnm.h:29
void operator=(J3DMatColorAnm const &other)
Definition J3DMaterialAnm.h:23
u16 mAnmFlag
Definition J3DMaterialAnm.h:35
Definition d_a_hozelda.cpp:229
J3DMaterialAnm()
Definition J3DMaterialAnm.h:168
void initialize()
Definition J3DMaterialAnm.cpp:21
void setTevKColorAnm(int, J3DTevKColorAnm *)
Definition J3DMaterialAnm.cpp:113
virtual ~J3DMaterialAnm()
Definition J3DMaterialAnm.h:177
void setTevColorAnm(int, J3DTevColorAnm *)
Definition J3DMaterialAnm.cpp:105
J3DTexNoAnm mTexNoAnm[8]
Definition J3DMaterialAnm.h:185
J3DTexMtxAnm mTexMtxAnm[8]
Definition J3DMaterialAnm.h:184
virtual void calc(J3DMaterial *) const
void setTexMtxAnm(int, J3DTexMtxAnm *)
Definition J3DMaterialAnm.cpp:89
J3DTevKColorAnm mTevKColorAnm[4]
Definition J3DMaterialAnm.h:187
void setMatColorAnm(int, J3DMatColorAnm *)
Definition J3DMaterialAnm.cpp:81
J3DMatColorAnm mMatColorAnm[2]
Definition J3DMaterialAnm.h:183
const J3DTexMtxAnm & getTexMtxAnm(int i) const
Definition J3DMaterialAnm.h:180
void setTexNoAnm(int, J3DTexNoAnm *)
Definition J3DMaterialAnm.cpp:97
J3DTevColorAnm mTevColorAnm[4]
Definition J3DMaterialAnm.h:186
Definition d_a_hozelda.cpp:93
Definition d_a_hozelda.cpp:187
J3DTevColorAnm(u16 param_1, J3DAnmTevRegKey *param_2)
Definition J3DMaterialAnm.h:140
void calc(_GXColorS10 *pColor) const
Definition J3DMaterialAnm.h:154
bool getAnmFlag() const
Definition J3DMaterialAnm.h:153
J3DAnmTevRegKey * mAnmTevReg
Definition J3DMaterialAnm.h:159
void operator=(J3DTevColorAnm const &other)
Definition J3DMaterialAnm.h:146
u16 mAnmFlag
Definition J3DMaterialAnm.h:158
~J3DTevColorAnm()
Definition J3DMaterialAnm.h:138
u16 field_0x0
Definition J3DMaterialAnm.h:157
J3DTevColorAnm()
Definition J3DMaterialAnm.h:139
void setAnmFlag(bool flag)
Definition J3DMaterialAnm.h:152
Definition d_a_hozelda.cpp:182
J3DTevKColorAnm()
Definition J3DMaterialAnm.h:109
void operator=(J3DTevKColorAnm const &other)
Definition J3DMaterialAnm.h:116
u16 field_0x0
Definition J3DMaterialAnm.h:127
void setAnmFlag(bool flag)
Definition J3DMaterialAnm.h:122
~J3DTevKColorAnm()
Definition J3DMaterialAnm.h:108
u16 mAnmFlag
Definition J3DMaterialAnm.h:128
J3DAnmTevRegKey * mAnmTevReg
Definition J3DMaterialAnm.h:129
J3DTevKColorAnm(u16 param_1, J3DAnmTevRegKey *param_2)
Definition J3DMaterialAnm.h:110
bool getAnmFlag() const
Definition J3DMaterialAnm.h:123
void calc(_GXColor *pColor) const
Definition J3DMaterialAnm.h:124
Definition d_a_hozelda.cpp:177
void operator=(J3DTexMtxAnm const &other)
Definition J3DMaterialAnm.h:84
J3DTexMtxAnm()
Definition J3DMaterialAnm.h:77
J3DTexMtxAnm(u16 param_1, J3DAnmTextureSRTKey *param_2)
Definition J3DMaterialAnm.h:78
J3DAnmTextureSRTKey * mAnmTransform
Definition J3DMaterialAnm.h:99
void setAnmFlag(bool flag)
Definition J3DMaterialAnm.h:90
bool getAnmFlag() const
Definition J3DMaterialAnm.h:94
void calc(J3DTextureSRTInfo *pSRTInfo) const
Definition J3DMaterialAnm.h:91
~J3DTexMtxAnm()
Definition J3DMaterialAnm.h:76
u16 mAnmFlag
Definition J3DMaterialAnm.h:98
u16 field_0x0
Definition J3DMaterialAnm.h:97
Definition d_a_hozelda.cpp:171
u16 mAnmFlag
Definition J3DMaterialAnm.h:66
~J3DTexNoAnm()
Definition J3DMaterialAnm.h:45
J3DTexNoAnm(u16 param_1, J3DAnmTexPattern *param_2)
Definition J3DMaterialAnm.h:47
u16 field_0x4
Definition J3DMaterialAnm.h:65
J3DTexNoAnm()
Definition J3DMaterialAnm.h:46
bool getAnmFlag() const
Definition J3DMaterialAnm.h:61
virtual void calc(u16 *param_0) const
Definition J3DMaterialAnm.h:52
J3DAnmTexPattern * mAnmTexPattern
Definition J3DMaterialAnm.h:67
void operator=(J3DTexNoAnm const &other)
Definition J3DMaterialAnm.h:54
void setAnmFlag(bool flag)
Definition J3DMaterialAnm.h:60
J3DAnmTexPattern * getAnmTexPattern()
Definition J3DMaterialAnm.h:62
Definition J3DStruct.h:48
Definition d_a_obj_sekizoa.cpp:191
Definition d_a_ep.cpp:68
unsigned short u16
Definition types.h:9