Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J2DMatBlock.h
Go to the documentation of this file.
1#ifndef J2DMATBLOCK_H
2#define J2DMATBLOCK_H
3
6
7class JUTFont;
8class JUTPalette;
9class JUTResFont;
10class JUTTexture;
11struct ResFONT;
12struct ResTIMG;
13struct ResTLUT;
14
19struct J2DGXColorS10 : public GXColorS10 {
20 /* 802F1B90 */ J2DGXColorS10() {}
22 r = other.r;
23 g = other.g;
24 b = other.b;
25 a = other.a;
26 }
28 r = other.r;
29 g = other.g;
30 b = other.b;
31 a = other.a;
32 }
33
35 r = other.r;
36 g = other.g;
37 b = other.b;
38 a = other.a;
39 return *this;
40 }
41};
42
44
50public:
51 /* 802F2A40 */ virtual void initialize() {}
52 /* 802EB1D0 */ virtual void setGX() {}
53 /* 802F2A44 */ virtual void loadTexture(_GXTexMapID, u32) {}
54 virtual u32 getType() = 0;
55 virtual u8 getMaxStage() = 0;
56 /* 802EB1DC */ virtual void setTexNo(u32, u16) {}
57 /* 802EA170 */ virtual u32 getTexNo(u32) const { return 0xFFFF; }
58 /* 802F2A48 */ virtual void setFontNo(u16) {}
59 /* 802EA164 */ virtual u16 getFontNo() const { return 0xFFFF; }
60 /* 802F2A4C */ virtual void setTevOrder(u32, J2DTevOrder) {}
61 /* 802EA144 */ virtual J2DTevOrder* getTevOrder(u32) { return NULL; }
62 /* 802EB1D8 */ virtual void setTevColor(u32, J2DGXColorS10) {}
63 /* 802EA13C */ virtual J2DGXColorS10* getTevColor(u32) { return NULL; }
64 /* 802EB1D4 */ virtual void setTevKColor(u32, JUtility::TColor) {}
65 /* 802EA15C */ virtual JUtility::TColor* getTevKColor(u32) { return NULL; }
66 /* 802F2A50 */ virtual void setTevKColorSel(u32, u8) {}
67 /* 802EA154 */ virtual u8 getTevKColorSel(u32) { return 0; }
68 /* 802F2A54 */ virtual void setTevKAlphaSel(u32, u8) {}
69 /* 802EA14C */ virtual u8 getTevKAlphaSel(u32) { return 0; }
70 /* 802F2A58 */ virtual void setTevStageNum(u8) {}
71 /* 802EA17C */ virtual u8 getTevStageNum() const { return 1; }
72 /* 802F2A5C */ virtual void setTevStage(u32, J2DTevStage) {}
73 /* 802EA134 */ virtual J2DTevStage* getTevStage(u32) { return NULL; }
74 /* 802F2A60 */ virtual void setTevSwapModeInfo(u32, J2DTevSwapModeInfo) {}
75 /* 802F2A64 */ virtual void setTevSwapModeTable(u32, J2DTevSwapModeTable) {}
76 /* 802EA12C */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32) { return NULL; }
77 /* 802F2A68 */ virtual void setIndTevStage(u32, J2DIndTevStage) {}
78 /* 802EA184 */ virtual J2DIndTevStage* getIndTevStage(u32) { return NULL; }
79 /* 802F2A7C */ virtual bool insertTexture(u32, ResTIMG const*) { return false; }
80 /* 802F2A74 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*) { return false; }
81 /* 802F2A6C */ virtual bool insertTexture(u32, JUTTexture*) { return false; }
82 /* 802F2A8C */ virtual bool setTexture(u32, ResTIMG const*) { return false; }
83 /* 802F2A84 */ virtual bool setTexture(u32, JUTTexture*) { return false; }
84 /* 802F2A94 */ virtual bool removeTexture(u32) { return false; }
85 /* 802F2AA4 */ virtual bool setFont(ResFONT*) { return false; }
86 /* 802F2A9C */ virtual bool setFont(JUTFont*) { return false; }
87 /* 802F2AAC */ virtual bool setPalette(u32, ResTLUT const*) { return false; }
88 /* 802F2AB4 */ virtual bool prepareTexture(u8) { return false; }
89 /* 802EB87C */ virtual JUTTexture* getTexture(u32);
90 /* 802EB884 */ virtual JUTPalette* getPalette(u32);
91 /* 802F2ABC */ virtual JUTFont* getFont() { return NULL; }
92 /* 802F2AC4 */ virtual void shiftDeleteFlag(u8, bool) {}
93 /* 802F2AC8 */ virtual void setUndeleteFlag(u8) {}
94 /* 802F2ACC */ virtual void setFontUndeleteFlag() {}
95 /* 802EB184 */ virtual ~J2DTevBlock() {}
96};
97
102class J2DTevBlock1 : public J2DTevBlock {
103public:
104 /* 802EB88C */ J2DTevBlock1();
105
106 /* 802EBA50 */ virtual void initialize();
107 /* 802EC328 */ virtual void setGX();
108 /* 802EC570 */ virtual void loadTexture(_GXTexMapID, u32);
109 /* 802F27A0 */ virtual u32 getType() { return 'TVB1'; }
110 /* 802F27AC */ virtual u8 getMaxStage() { return 1; }
111 /* 802F27B4 */ virtual void setTexNo(u32 index, u16 texNo) { mTexNo[index] = texNo; }
112 /* 802F27C4 */ virtual u32 getTexNo(u32 index) const { return mTexNo[index]; }
113 /* 802F27D4 */ virtual void setFontNo(u16 fontNo) { mFontNo = fontNo; }
114 /* 802F27DC */ virtual u16 getFontNo() const { return mFontNo; }
115 /* 802F27E4 */ virtual void setTevOrder(u32 index, J2DTevOrder order) {
116 mTevOrder[index] = order;
117 }
118 /* 802F2808 */ virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; }
119 /* 802F281C */ virtual void setTevColor(u32 index, J2DGXColorS10 color) {
120 mTevColor[index] = color;
121 }
122 /* 802F2848 */ virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; }
123 /* 802F285C */ virtual void setTevKColor(u32 index, JUtility::TColor color) {
124 mTevKColor[index] = color;
125 }
126 /* 802F2888 */ virtual JUtility::TColor* getTevKColor(u32 index) { return &mTevKColor[index]; }
127 /* 802F289C */ virtual void setTevKColorSel(u32 index, u8 sel) { mTevKColorSel[index] = sel; }
128 /* 802F28A8 */ virtual u8 getTevKColorSel(u32 index) { return mTevKColorSel[index]; }
129 /* 802F28B4 */ virtual void setTevKAlphaSel(u32 index, u8 sel) { mTevKAlphaSel[index] = sel; }
130 /* 802F28C0 */ virtual u8 getTevKAlphaSel(u32 index) { return mTevKAlphaSel[index]; }
131 /* 802F28CC */ virtual void setTevStageNum(u8 num) {}
132 /* 802F28D0 */ virtual u8 getTevStageNum() const { return 1; }
133 /* 802F28D8 */ virtual void setTevStage(u32 index, J2DTevStage stage) {
134 mTevStage[index] = stage;
135 }
136 /* 802F2914 */ virtual J2DTevStage* getTevStage(u32 index) { return &mTevStage[index]; }
137 /* 802F2928 */ virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
138 mTevStage[index].setTevSwapModeInfo(info);
139 }
140 /* 802F2960 */ virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
141 mTevSwapModeTable[index] = table;
142 }
143 /* 802F2970 */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32 index) {
144 return &mTevSwapModeTable[index];
145 }
146 /* 802F2980 */ virtual void setIndTevStage(u32 index, J2DIndTevStage stage) {
147 mIndTevStage[index] = stage;
148 }
149 /* 802F2994 */ virtual J2DIndTevStage* getIndTevStage(u32 index) {
150 return &mIndTevStage[index];
151 }
152 /* 802F29A8 */ virtual bool insertTexture(u32 index, ResTIMG const* p_timg) {
153 return insertTexture(index, p_timg, NULL);
154 }
155 /* 802EBCC0 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*);
156 /* 802EBDE4 */ virtual bool insertTexture(u32, JUTTexture*);
157 /* 802EBE8C */ virtual bool setTexture(u32, ResTIMG const*);
158 /* 802EC01C */ virtual bool setTexture(u32, JUTTexture*);
159 /* 802EC0A8 */ virtual bool removeTexture(u32);
160 /* 802EC124 */ virtual bool setFont(ResFONT*);
161 /* 802EC1D8 */ virtual bool setFont(JUTFont*);
162 /* 802EC258 */ virtual bool setPalette(u32, ResTLUT const*);
163 /* 802EBC0C */ virtual bool prepareTexture(u8);
164 /* 802F29D8 */ virtual JUTTexture* getTexture(u32 index) {
165 return index >= 1 ? NULL : mTexture[index];
166 }
167 /* 802F29F8 */ virtual JUTPalette* getPalette(u32 index) {
168 return index >= 1 ? NULL : mPalette[index];
169 }
170 /* 802F2A18 */ virtual JUTFont* getFont() { return mFont; }
171 /* 802EC318 */ virtual void shiftDeleteFlag(u8, bool);
172 /* 802F2A20 */ virtual void setUndeleteFlag(u8 flag) { mUndeleteFlag &= flag; }
173 /* 802F2A30 */ virtual void setFontUndeleteFlag() { mUndeleteFlag &= 0x7F; }
174 /* 802EB998 */ virtual ~J2DTevBlock1();
175
176private:
177 /* 0x004 */ u16 mTexNo[1];
178 /* 0x006 */ u16 mFontNo;
179 /* 0x008 */ J2DTevOrder mTevOrder[1];
180 /* 0x00C */ J2DGXColorS10 mTevColor[4];
181 /* 0x02C */ J2DTevStage mTevStage[1];
183 /* 0x044 */ u8 mTevKColorSel[1];
184 /* 0x045 */ u8 mTevKAlphaSel[1];
187 /* 0x050 */ JUTTexture* mTexture[1];
188 /* 0x054 */ JUTPalette* mPalette[1];
189 /* 0x058 */ JUTFont* mFont;
190 /* 0x05C */ u8 mUndeleteFlag;
191}; // Size: 0x60
192
197class J2DTevBlock2 : public J2DTevBlock {
198public:
199 /* 802EC5B8 */ J2DTevBlock2();
200
201 /* 802EC7A0 */ virtual void initialize();
202 /* 802ED584 */ virtual void setGX();
203 /* 802ED874 */ virtual void loadTexture(_GXTexMapID, u32);
204 /* 802F24FC */ virtual u32 getType() { return 'TVB2'; }
205 /* 802F2508 */ virtual u8 getMaxStage() { return 2; }
206 /* 802F2510 */ virtual void setTexNo(u32 index, u16 texNo) { mTexNo[index] = texNo; }
207 /* 802F2520 */ virtual u32 getTexNo(u32 index) const { return mTexNo[index]; }
208 /* 802F2530 */ virtual void setFontNo(u16 fontNo) { mFontNo = fontNo; }
209 /* 802F2538 */ virtual u16 getFontNo() const { return mFontNo; }
210 /* 802F2540 */ virtual void setTevOrder(u32 index, J2DTevOrder order) {
211 mTevOrder[index] = order;
212 }
213 /* 802F2564 */ virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; }
214 /* 802F2578 */ virtual void setTevColor(u32 index, J2DGXColorS10 color) {
215 mTevColor[index] = color;
216 }
217 /* 802F25A4 */ virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; }
218 /* 802F25B8 */ virtual void setTevKColor(u32 index, JUtility::TColor color) {
219 mTevKColor[index] = color;
220 }
221 /* 802F25E4 */ virtual JUtility::TColor* getTevKColor(u32 index) { return &mTevKColor[index]; }
222 /* 802F25F8 */ virtual void setTevKColorSel(u32 index, u8 sel) { mTevKColorSel[index] = sel; }
223 /* 802F2604 */ virtual u8 getTevKColorSel(u32 index) { return mTevKColorSel[index]; }
224 /* 802F2610 */ virtual void setTevKAlphaSel(u32 index, u8 sel) { mTevKAlphaSel[index] = sel; }
225 /* 802F261C */ virtual u8 getTevKAlphaSel(u32 index) { return mTevKAlphaSel[index]; }
226 /* 802F2628 */ virtual void setTevStageNum(u8 num) { mTevStageNum = num; }
227 /* 802F2630 */ virtual u8 getTevStageNum() const { return mTevStageNum; }
228 /* 802F2638 */ virtual void setTevStage(u32 index, J2DTevStage stage) {
229 mTevStage[index] = stage;
230 }
231 /* 802F2674 */ virtual J2DTevStage* getTevStage(u32 index) { return &mTevStage[index]; }
232 /* 802F2688 */ virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
233 mTevStage[index].setTevSwapModeInfo(info);
234 }
235 /* 802F26C0 */ virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
236 mTevSwapModeTable[index] = table;
237 }
238 /* 802F26D0 */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32 index) {
239 return &mTevSwapModeTable[index];
240 }
241 /* 802F26E0 */ virtual void setIndTevStage(u32 index, J2DIndTevStage stage) {
242 mIndTevStage[index] = stage;
243 }
244 /* 802F26F4 */ virtual J2DIndTevStage* getIndTevStage(u32 index) {
245 return &mIndTevStage[index];
246 }
247 /* 802F2708 */ virtual bool insertTexture(u32 index, ResTIMG const* p_timg) {
248 return insertTexture(index, p_timg, NULL);
249 }
250 /* 802ECAE8 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*);
251 /* 802ECDE8 */ virtual bool insertTexture(u32, JUTTexture*);
252 /* 802ECF48 */ virtual bool setTexture(u32, ResTIMG const*);
253 /* 802ED16C */ virtual bool setTexture(u32, JUTTexture*);
254 /* 802ED21C */ virtual bool removeTexture(u32);
255 /* 802ED2F0 */ virtual bool setFont(ResFONT*);
256 /* 802ED3A4 */ virtual bool setFont(JUTFont*);
257 /* 802ED424 */ virtual bool setPalette(u32, ResTLUT const*);
258 /* 802ECA18 */ virtual bool prepareTexture(u8);
259 /* 802F2738 */ virtual JUTTexture* getTexture(u32 index) {
260 return index >= 2 ? NULL : mTexture[index];
261 }
262 /* 802F2758 */ virtual JUTPalette* getPalette(u32 index) {
263 return index >= 2 ? NULL : mPalette[index];
264 }
265 /* 802F2778 */ virtual JUTFont* getFont() { return mFont; }
266 /* 802ED4FC */ virtual void shiftDeleteFlag(u8, bool);
267 /* 802F2780 */ virtual void setUndeleteFlag(u8 flag) { mUndeleteFlag &= flag; }
268 /* 802F2790 */ virtual void setFontUndeleteFlag() { mUndeleteFlag &= 0x7F; }
269 /* 802EC6C8 */ virtual ~J2DTevBlock2();
270
271private:
272 /* 0x004 */ u16 mTexNo[2];
273 /* 0x008 */ u16 mFontNo;
274 /* 0x00A */ J2DTevOrder mTevOrder[2];
275 /* 0x012 */ J2DGXColorS10 mTevColor[4];
276 /* 0x032 */ u8 mTevStageNum;
277 /* 0x033 */ J2DTevStage mTevStage[2];
278 /* 0x043 */ u8 field_0x43;
280 /* 0x054 */ u8 mTevKColorSel[2];
281 /* 0x056 */ u8 mTevKAlphaSel[2];
284 /* 0x064 */ JUTTexture* mTexture[2];
285 /* 0x06C */ JUTPalette* mPalette[2];
286 /* 0x074 */ JUTFont* mFont;
287 /* 0x078 */ u8 mUndeleteFlag;
288}; // Size: 0x7C
289
294class J2DTevBlock4 : public J2DTevBlock {
295public:
296 /* 802ED8BC */ J2DTevBlock4();
297
298 /* 802EDAC4 */ virtual void initialize();
299 /* 802EEA2C */ virtual void setGX();
300 /* 802EED1C */ virtual void loadTexture(_GXTexMapID, u32);
301 /* 802F2258 */ virtual u32 getType() { return 'TVB4'; }
302 /* 802F2264 */ virtual u8 getMaxStage() { return 4; }
303 /* 802F226C */ virtual void setTexNo(u32 index, u16 texNo) { mTexNo[index] = texNo; }
304 /* 802F227C */ virtual u32 getTexNo(u32 index) const { return mTexNo[index]; }
305 /* 802F228C */ virtual void setFontNo(u16 fontNo) { mFontNo = fontNo; }
306 /* 802F2294 */ virtual u16 getFontNo() const { return mFontNo; }
307 /* 802F229C */ virtual void setTevOrder(u32 index, J2DTevOrder order) {
308 mTevOrder[index] = order;
309 }
310 /* 802F22C0 */ virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; }
311 /* 802F22D4 */ virtual void setTevColor(u32 index, J2DGXColorS10 color) {
312 mTevColor[index] = color;
313 }
314 /* 802F2300 */ virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; }
315 /* 802F2314 */ virtual void setTevKColor(u32 index, JUtility::TColor color) {
316 mTevKColor[index] = color;
317 }
318 /* 802F2340 */ virtual JUtility::TColor* getTevKColor(u32 index) { return &mTevKColor[index]; }
319 /* 802F2354 */ virtual void setTevKColorSel(u32 index, u8 sel) { mTevKColorSel[index] = sel; }
320 /* 802F2360 */ virtual u8 getTevKColorSel(u32 index) { return mTevKColorSel[index]; }
321 /* 802F236C */ virtual void setTevKAlphaSel(u32 index, u8 sel) { mTevKAlphaSel[index] = sel; }
322 /* 802F2378 */ virtual u8 getTevKAlphaSel(u32 index) { return mTevKAlphaSel[index]; }
323 /* 802F2384 */ virtual void setTevStageNum(u8 num) { mTevStageNum = num; }
324 /* 802F238C */ virtual u8 getTevStageNum() const { return mTevStageNum; }
325 /* 802F2394 */ virtual void setTevStage(u32 index, J2DTevStage stage) {
326 mTevStage[index] = stage;
327 }
328 /* 802F23D0 */ virtual J2DTevStage* getTevStage(u32 index) { return &mTevStage[index]; }
329 /* 802F23E4 */ virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
330 mTevStage[index].setTevSwapModeInfo(info);
331 }
332 /* 802F241C */ virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
333 mTevSwapModeTable[index] = table;
334 }
335 /* 802F242C */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32 index) {
336 return &mTevSwapModeTable[index];
337 }
338 /* 802F243C */ virtual void setIndTevStage(u32 index, J2DIndTevStage stage) {
339 mIndTevStage[index] = stage;
340 }
341 /* 802F2450 */ virtual J2DIndTevStage* getIndTevStage(u32 index) {
342 return &mIndTevStage[index];
343 }
344 /* 802F2464 */ virtual bool insertTexture(u32 index, ResTIMG const* p_timg) {
345 return insertTexture(index, p_timg, NULL);
346 }
347 /* 802EDE04 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*);
348 /* 802EE1D4 */ virtual bool insertTexture(u32, JUTTexture*);
349 /* 802EE364 */ virtual bool setTexture(u32, ResTIMG const*);
350 /* 802EE5F0 */ virtual bool setTexture(u32, JUTTexture*);
351 /* 802EE6A0 */ virtual bool removeTexture(u32);
352 /* 802EE798 */ virtual bool setFont(ResFONT*);
353 /* 802EE84C */ virtual bool setFont(JUTFont*);
354 /* 802EE8CC */ virtual bool setPalette(u32, ResTLUT const*);
355 /* 802EDD34 */ virtual bool prepareTexture(u8);
356 /* 802F2494 */ virtual JUTTexture* getTexture(u32 index) {
357 return index >= 4 ? NULL : mTexture[index];
358 }
359 /* 802F24B4 */ virtual JUTPalette* getPalette(u32 index) {
360 return index >= 4 ? NULL : mPalette[index];
361 }
362 /* 802F24D4 */ virtual JUTFont* getFont() { return mFont; }
363 /* 802EE9A4 */ virtual void shiftDeleteFlag(u8, bool);
364 /* 802F24DC */ virtual void setUndeleteFlag(u8 flag) { mUndeleteFlag &= flag; }
365 /* 802F24EC */ virtual void setFontUndeleteFlag() { mUndeleteFlag &= 0x7F; }
366 /* 802ED9E4 */ virtual ~J2DTevBlock4();
367
368private:
369 /* 0x004 */ u16 mTexNo[4];
370 /* 0x00C */ u16 mFontNo;
371 /* 0x00E */ J2DTevOrder mTevOrder[4];
372 /* 0x01E */ J2DGXColorS10 mTevColor[4];
373 /* 0x03E */ u8 mTevStageNum;
374 /* 0x03F */ J2DTevStage mTevStage[4];
375 /* 0x05F */ u8 field_0x5f;
377 /* 0x070 */ u8 mTevKColorSel[4];
378 /* 0x074 */ u8 mTevKAlphaSel[4];
381 /* 0x08C */ JUTTexture* mTexture[4];
382 /* 0x09C */ JUTPalette* mPalette[4];
383 /* 0x0AC */ JUTFont* mFont;
384 /* 0x0B0 */ u8 mUndeleteFlag;
385}; // Size: 0xB4
386
391class J2DTevBlock8 : public J2DTevBlock {
392public:
393 /* 802EED64 */ J2DTevBlock8();
394
395 /* 802EEF6C */ virtual void initialize();
396 /* 802EFEAC */ virtual void setGX();
397 /* 802F019C */ virtual void loadTexture(_GXTexMapID, u32);
398 /* 802F1FB8 */ virtual u32 getType() { return 'TVB8'; }
399 /* 802F1FC4 */ virtual u8 getMaxStage() { return 8; }
400 /* 802F1FCC */ virtual void setTexNo(u32 index, u16 texNo) { mTexNo[index] = texNo; }
401 /* 802F1FDC */ virtual u32 getTexNo(u32 index) const { return mTexNo[index]; }
402 /* 802F1FEC */ virtual void setFontNo(u16 fontNo) { mFontNo = fontNo; }
403 /* 802F1FF4 */ virtual u16 getFontNo() const { return mFontNo; }
404 /* 802F1FFC */ virtual void setTevOrder(u32 index, J2DTevOrder order) {
405 mTevOrder[index] = order;
406 }
407 /* 802F2020 */ virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; }
408 /* 802F2034 */ virtual void setTevColor(u32 index, J2DGXColorS10 color) {
409 mTevColor[index] = color;
410 }
411 /* 802F2060 */ virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; }
412 /* 802F2074 */ virtual void setTevKColor(u32 index, JUtility::TColor color) {
413 mTevKColor[index] = color;
414 }
415 /* 802F20A0 */ virtual JUtility::TColor* getTevKColor(u32 index) { return &mTevKColor[index]; }
416 /* 802F20B4 */ virtual void setTevKColorSel(u32 index, u8 sel) { mTevKColorSel[index] = sel; }
417 /* 802F20C0 */ virtual u8 getTevKColorSel(u32 index) { return mTevKColorSel[index]; }
418 /* 802F20CC */ virtual void setTevKAlphaSel(u32 index, u8 sel) { mTevKAlphaSel[index] = sel; }
419 /* 802F20D8 */ virtual u8 getTevKAlphaSel(u32 index) { return mTevKAlphaSel[index]; }
420 /* 802F20E4 */ virtual void setTevStageNum(u8 num) { mTevStageNum = num; }
421 /* 802F20EC */ virtual u8 getTevStageNum() const { return mTevStageNum; }
422 /* 802F20F4 */ virtual void setTevStage(u32 index, J2DTevStage stage) {
423 mTevStage[index] = stage;
424 }
425 /* 802F2130 */ virtual J2DTevStage* getTevStage(u32 index) { return &mTevStage[index]; }
426 /* 802F2144 */ virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
427 mTevStage[index].setTevSwapModeInfo(info);
428 }
429 /* 802F217C */ virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
430 mTevSwapModeTable[index] = table;
431 }
432 /* 802F218C */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32 index) {
433 return &mTevSwapModeTable[index];
434 }
435 /* 802F219C */ virtual void setIndTevStage(u32 index, J2DIndTevStage stage) {
436 mIndTevStage[index] = stage;
437 }
438 /* 802F21B0 */ virtual J2DIndTevStage* getIndTevStage(u32 index) {
439 return &mIndTevStage[index];
440 }
441 /* 802F21C4 */ virtual bool insertTexture(u32 index, ResTIMG const* p_timg) {
442 return insertTexture(index, p_timg, NULL);
443 }
444 /* 802EF2B0 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*);
445 /* 802EF67C */ virtual bool insertTexture(u32, JUTTexture*);
446 /* 802EF80C */ virtual bool setTexture(u32, ResTIMG const*);
447 /* 802EFA98 */ virtual bool setTexture(u32, JUTTexture*);
448 /* 802EFB48 */ virtual bool removeTexture(u32);
449 /* 802EFC40 */ virtual bool setFont(ResFONT*);
450 /* 802EFCEC */ virtual bool setFont(JUTFont*);
451 /* 802EFD68 */ virtual bool setPalette(u32, ResTLUT const*);
452 /* 802EF1E0 */ virtual bool prepareTexture(u8);
453 /* 802F21F4 */ virtual JUTTexture* getTexture(u32 index) {
454 return index >= 8 ? NULL : mTexture[index];
455 }
456 /* 802F2214 */ virtual JUTPalette* getPalette(u32 index) {
457 return index >= 8 ? NULL : mPalette[index];
458 }
459 /* 802F2234 */ virtual JUTFont* getFont() { return mFont; }
460 /* 802EFE40 */ virtual void shiftDeleteFlag(u8, bool);
461 /* 802F223C */ virtual void setUndeleteFlag(u8 flag) { mUndeleteFlag &= flag; }
462 /* 802F224C */ virtual void setFontUndeleteFlag() { mFontUndeleteFlag = false; }
463 /* 802EEE8C */ virtual ~J2DTevBlock8();
464
465private:
466 /* 0x004 */ u16 mTexNo[8];
467 /* 0x014 */ u16 mFontNo;
468 /* 0x016 */ J2DTevOrder mTevOrder[8];
469 /* 0x036 */ J2DGXColorS10 mTevColor[4];
470 /* 0x056 */ u8 mTevStageNum;
471 /* 0x057 */ J2DTevStage mTevStage[8];
472 /* 0x097 */ u8 field_0x97;
474 /* 0x0A8 */ u8 mTevKColorSel[8];
475 /* 0x0B0 */ u8 mTevKAlphaSel[8];
478 /* 0x0DC */ JUTTexture* mTexture[8];
479 /* 0x0FC */ JUTPalette* mPalette[8];
480 /* 0x11C */ JUTFont* mFont;
481 /* 0x120 */ u8 mUndeleteFlag;
482 /* 0x121 */ bool mFontUndeleteFlag;
483};
484
490public:
491 /* 802F01E4 */ J2DTevBlock16();
492
493 /* 802F03EC */ virtual void initialize();
494 /* 802F132C */ virtual void setGX();
495 /* 802F161C */ virtual void loadTexture(_GXTexMapID, u32);
496 /* 802F1D18 */ virtual u32 getType() { return 'TV16'; }
497 /* 802F1D24 */ virtual u8 getMaxStage() { return 16; }
498 /* 802F1D2C */ virtual void setTexNo(u32 index, u16 texNo) { mTexNo[index] = texNo; }
499 /* 802F1D3C */ virtual u32 getTexNo(u32 index) const { return mTexNo[index]; }
500 /* 802F1D4C */ virtual void setFontNo(u16 fontNo) { mFontNo = fontNo; }
501 /* 802F1D54 */ virtual u16 getFontNo() const { return mFontNo; }
502 /* 802F1D5C */ virtual void setTevOrder(u32 index, J2DTevOrder order) {
503 mTevOrder[index] = order;
504 }
505 /* 802F1D80 */ virtual J2DTevOrder* getTevOrder(u32 index) { return &mTevOrder[index]; }
506 /* 802F1D94 */ virtual void setTevColor(u32 index, J2DGXColorS10 color) {
507 mTevColor[index] = color;
508 }
509 /* 802F1DC0 */ virtual J2DGXColorS10* getTevColor(u32 index) { return &mTevColor[index]; }
510 /* 802F1DD4 */ virtual void setTevKColor(u32 index, JUtility::TColor color) {
511 mTevKColor[index] = color;
512 }
513 /* 802F1E00 */ virtual JUtility::TColor* getTevKColor(u32 index) { return &mTevKColor[index]; }
514 /* 802F1E14 */ virtual void setTevKColorSel(u32 index, u8 sel) { mTevKColorSel[index] = sel; }
515 /* 802F1E20 */ virtual u8 getTevKColorSel(u32 index) { return mTevKColorSel[index]; }
516 /* 802F1E2C */ virtual void setTevKAlphaSel(u32 index, u8 sel) { mTevKAlphaSel[index] = sel; }
517 /* 802F1E38 */ virtual u8 getTevKAlphaSel(u32 index) { return mTevKAlphaSel[index]; }
518 /* 802F1E44 */ virtual void setTevStageNum(u8 num) { mTevStageNum = num; }
519 /* 802F1E4C */ virtual u8 getTevStageNum() const { return mTevStageNum; }
520 /* 802F1E54 */ virtual void setTevStage(u32 index, J2DTevStage stage) {
521 mTevStage[index] = stage;
522 }
523 /* 802F1E90 */ virtual J2DTevStage* getTevStage(u32 index) { return &mTevStage[index]; }
524 /* 802F1EA4 */ virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info) {
525 mTevStage[index].setTevSwapModeInfo(info);
526 }
527 /* 802F1EDC */ virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table) {
528 mTevSwapModeTable[index] = table;
529 }
530 /* 802F1EEC */ virtual J2DTevSwapModeTable* getTevSwapModeTable(u32 index) {
531 return &mTevSwapModeTable[index];
532 }
533 /* 802F1EFC */ virtual void setIndTevStage(u32 index, J2DIndTevStage stage) {
534 mIndTevStage[index] = stage;
535 }
536 /* 802F1F10 */ virtual J2DIndTevStage* getIndTevStage(u32 index) {
537 return &mIndTevStage[index];
538 }
539 /* 802F1F24 */ virtual bool insertTexture(u32 index, ResTIMG const* p_timg) {
540 return insertTexture(index, p_timg, NULL);
541 }
542 /* 802F0730 */ virtual bool insertTexture(u32, ResTIMG const*, JUTPalette*);
543 /* 802F0AFC */ virtual bool insertTexture(u32, JUTTexture*);
544 /* 802F0C8C */ virtual bool setTexture(u32, ResTIMG const*);
545 /* 802F0F18 */ virtual bool setTexture(u32, JUTTexture*);
546 /* 802F0FC8 */ virtual bool removeTexture(u32);
547 /* 802F10C0 */ virtual bool setFont(ResFONT*);
548 /* 802F116C */ virtual bool setFont(JUTFont*);
549 /* 802F11E8 */ virtual bool setPalette(u32, ResTLUT const*);
550 /* 802F0660 */ virtual bool prepareTexture(u8);
551 /* 802F1F54 */ virtual JUTTexture* getTexture(u32 index) {
552 return index >= 8 ? NULL : mTexture[index];
553 }
554 /* 802F1F74 */ virtual JUTPalette* getPalette(u32 index) {
555 return index >= 8 ? NULL : mPalette[index];
556 }
557 /* 802F1F94 */ virtual JUTFont* getFont() { return mFont; }
558 /* 802F12C0 */ virtual void shiftDeleteFlag(u8, bool);
559 /* 802F1F9C */ virtual void setUndeleteFlag(u8 flag) { mUndeleteFlag &= flag; }
560 /* 802F1FAC */ virtual void setFontUndeleteFlag() { mFontUndeleteFlag = false; }
561 /* 802F030C */ virtual ~J2DTevBlock16();
562
563public:
564 /* 0x004 */ u16 mTexNo[8];
565 /* 0x014 */ u16 mFontNo;
566 /* 0x016 */ J2DTevOrder mTevOrder[16];
567 /* 0x056 */ J2DGXColorS10 mTevColor[4];
568 /* 0x076 */ u8 mTevStageNum;
569 /* 0x077 */ J2DTevStage mTevStage[16];
570 /* 0x0F7 */ u8 field_0xf7;
572 /* 0x108 */ u8 mTevKColorSel[16];
573 /* 0x118 */ u8 mTevKAlphaSel[16];
576 /* 0x16C */ JUTTexture* mTexture[8];
577 /* 0x18C */ JUTPalette* mPalette[8];
578 /* 0x1AC */ JUTFont* mFont;
579 /* 0x1B0 */ u8 mUndeleteFlag;
580 /* 0x1B1 */ bool mFontUndeleteFlag;
581}; // Size: 0x1B4
582
588 /* 0x0 */ u8 field_0x0;
589 /* 0x1 */ u8 field_0x1;
590 /* 0x2 */ u8 mRef0;
591 /* 0x3 */ u8 mRef1;
592 /* 0x4 */ u8 field_0x4;
593 /* 0x5 */ u8 field_0x5;
594 /* 0x6 */ u8 field_0x6;
595 /* 0x7 */ u8 field_0x7;
596};
597
599 return ((param_1) << 5) | ((param_2 & 0xff) << 3) | (param_3 & 0xff);
600}
601
609 mRef0 = 0;
610 mRef1 = 0;
611 }
613 mAlphaCmp = J2DCalcAlphaCmp(info.field_0x0, info.mRef0, info.mRef1);
614 mRef0 = info.field_0x1;
615 mRef1 = info.field_0x4;
616 }
617 u8 getComp0() { return mAlphaCmp >> 5 & 7; }
618 u8 getRef0() { return mRef0; }
619 u8 getOp() { return mAlphaCmp >> 3 & 3; }
620 u8 getComp1() { return mAlphaCmp & 7; }
621 u8 getRef1() { return mRef1; }
622
623 /* 0x0 */ u16 mAlphaCmp;
624 /* 0x2 */ u8 mRef0;
625 /* 0x3 */ u8 mRef1;
626};
627
634 mType = other.mType;
635 mSrcFactor = other.mSrcFactor;
636 mDstFactor = other.mDstFactor;
637 mOp = other.mOp;
638 }
639
640 /* 0x0 */ u8 mType;
641 /* 0x1 */ u8 mSrcFactor;
642 /* 0x2 */ u8 mDstFactor;
643 /* 0x3 */ u8 mOp;
644};
645
647
663
669public:
671
672 /* 802F17FC */ void initialize();
673 /* 802F1840 */ void setGX();
677
678private:
680 /* 0x4 */ J2DBlend mBlend;
681 /* 0x8 */ u8 mDither;
682};
683
689public:
690 /* 802EB24C */ virtual void initialize() {}
691 /* 802EB1CC */ virtual void setGX() {}
692 virtual u32 getType() = 0;
693 /* 802EB250 */ virtual void setIndTexStageNum(u8) {}
694 /* 802EA1A4 */ virtual u8 getIndTexStageNum() const { return 0; }
695 /* 802EB254 */ virtual void setIndTexOrder(u32, J2DIndTexOrder) {}
696 /* 802EA19C */ virtual J2DIndTexOrder* getIndTexOrder(u32) { return NULL; }
697 /* 802EB258 */ virtual void setIndTexMtx(u32, J2DIndTexMtx) {}
698 /* 802EA194 */ virtual J2DIndTexMtx* getIndTexMtx(u32) { return NULL; }
699 /* 802EB25C */ virtual void setIndTexCoordScale(u32, J2DIndTexCoordScale) {}
700 /* 802EA18C */ virtual J2DIndTexCoordScale* getIndTexCoordScale(u32) { return NULL; }
701 /* 802EB13C */ virtual ~J2DIndBlock() {}
702};
703
709public:
711
712 /* 802F1664 */ virtual void initialize();
713 /* 802F1730 */ virtual void setGX();
714 /* 802F1B94 */ virtual u32 getType() { return 'IBLF'; }
715 /* 802F1BA0 */ virtual void setIndTexStageNum(u8 num) { mIndTexStageNum = num; }
716 /* 802F1BA8 */ virtual u8 getIndTexStageNum() const { return mIndTexStageNum; }
717 /* 802F1BB0 */ virtual void setIndTexOrder(u32 index, J2DIndTexOrder order) {
718 mIndTexOrder[index] = order;
719 }
720 /* 802F1BCC */ virtual J2DIndTexOrder* getIndTexOrder(u32 index) {
721 return &mIndTexOrder[index];
722 }
723 /* 802F1BE0 */ virtual void setIndTexMtx(u32 index, J2DIndTexMtx mtx) {
724 mIndTexMtx[index] = mtx;
725 }
726 /* 802F1C38 */ virtual J2DIndTexMtx* getIndTexMtx(u32 index) { return &mIndTexMtx[index]; }
727 /* 802F1C4C */ virtual void setIndTexCoordScale(u32 index, J2DIndTexCoordScale scale) {
728 mTexCoordScale[index] = scale;
729 }
730 /* 802F1C68 */ virtual J2DIndTexCoordScale* getIndTexCoordScale(u32 index) {
731 return &mTexCoordScale[index];
732 }
733 /* 802F1C7C */ virtual ~J2DIndBlockFull() {}
734
735private:
736 /* 0x04 */ u8 mIndTexStageNum;
740};
741
747public:
749
750 /* 802EB1E0 */ virtual void setGX() {}
751 /* 802EB1E4 */ virtual u32 getType() { return 'IBLN'; }
752 /* 802EB1F0 */ virtual ~J2DIndBlockNull() {}
753};
754
760private:
761 /* 0x00 */ u32 mTexGenNum;
763 /* 0x24 */ J2DTexMtx* mTexMtx[8];
764
765public:
767
768 /* 802EB510 */ void initialize();
769 /* 802EB570 */ void setGX();
770 /* 802EB6A4 */ void setTexMtx(u32, J2DTexMtx&);
771 /* 802EB7E0 */ void getTexMtx(u32, J2DTexMtx&);
772
773 u32 getTexGenNum() const { return mTexGenNum; }
774 void setTexGenNum(u32 num) { mTexGenNum = num; }
778
779 /* 802EB620 */ virtual ~J2DTexGenBlock();
780}; // Size: 0x48
781
787 /* 0x0 */ u8 field_0x0;
788 /* 0x0 */ u8 field_0x1;
789 /* 0x0 */ u8 field_0x2;
790 /* 0x0 */ u8 field_0x3;
791};
792
793inline u8 J2DCalcColorChanID(const J2DColorChanInfo& info) { return info.field_0x1; }
795
801public:
808
811 }
812
813 u16 getMatSrc() const { return mColorChan & 1; }
814
815private:
816 /* 0x0 */ u16 mColorChan;
817};
818
824private:
826 /* 0x08 */ u8 mColorChanNum;
828 /* 0x12 */ u8 mCullMode;
829
830public:
832
833 /* 802EB394 */ void initialize();
834 /* 802EB424 */ void setGX();
835
836 /* 802EB0F4 */ virtual ~J2DColorBlock() {}
837
840 void setCullMode(u8 mode) { mCullMode = mode; }
841 void setColorChanNum(u8 num) { mColorChanNum = num; }
844};
845
846#endif /* J2DMATBLOCK_H */
_GXTexMapID
Definition GXEnum.h:30
u8 J2DCalcColorChanID(const J2DColorChanInfo &info)
Definition J2DMatBlock.h:793
const J2DBlendInfo j2dDefaultBlendInfo
u16 J2DCalcAlphaCmp(s32 param_1, u32 param_2, u32 param_3)
Definition J2DMatBlock.h:598
const J2DColorChanInfo j2dDefaultColorChanInfo
const u16 j2dDefaultAlphaCmp
static Mtx mtx[10]
Definition c_lib.cpp:347
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition J2DMatBlock.h:823
JUtility::TColor * getMatColor(u32 i)
Definition J2DMatBlock.h:838
JUtility::TColor mMatColor[2]
Definition J2DMatBlock.h:825
J2DColorChan mColorChan[4]
Definition J2DMatBlock.h:827
virtual ~J2DColorBlock()
Definition J2DMatBlock.h:836
void setGX()
Definition J2DMatBlock.cpp:26
u8 mColorChanNum
Definition J2DMatBlock.h:826
J2DColorBlock()
Definition J2DMatBlock.h:831
void initialize()
Definition J2DMatBlock.cpp:14
J2DColorChan * getColorChan(u32 i)
Definition J2DMatBlock.h:839
u8 mCullMode
Definition J2DMatBlock.h:828
void setCullMode(u8 mode)
Definition J2DMatBlock.h:840
void setColorChan(u32 i, const J2DColorChan &color)
Definition J2DMatBlock.h:843
void setMatColor(u32 i, JUtility::TColor color)
Definition J2DMatBlock.h:842
void setColorChanNum(u8 num)
Definition J2DMatBlock.h:841
Definition J2DMatBlock.h:800
void setColorChanInfo(const J2DColorChanInfo &info)
Definition J2DMatBlock.h:809
u16 mColorChan
Definition J2DMatBlock.h:816
J2DColorChan()
Definition J2DMatBlock.h:802
J2DColorChan(const J2DColorChanInfo &info)
Definition J2DMatBlock.h:805
u16 getMatSrc() const
Definition J2DMatBlock.h:813
Definition J2DMatBlock.h:708
virtual void setIndTexOrder(u32 index, J2DIndTexOrder order)
Definition J2DMatBlock.h:717
virtual void setIndTexMtx(u32 index, J2DIndTexMtx mtx)
Definition J2DMatBlock.h:723
virtual void setGX()
Definition J2DMatBlock.cpp:2210
J2DIndTexOrder mIndTexOrder[4]
Definition J2DMatBlock.h:737
virtual u8 getIndTexStageNum() const
Definition J2DMatBlock.h:716
virtual void initialize()
Definition J2DMatBlock.cpp:2196
u8 mIndTexStageNum
Definition J2DMatBlock.h:736
virtual J2DIndTexMtx * getIndTexMtx(u32 index)
Definition J2DMatBlock.h:726
virtual J2DIndTexOrder * getIndTexOrder(u32 index)
Definition J2DMatBlock.h:720
virtual ~J2DIndBlockFull()
Definition J2DMatBlock.h:733
J2DIndTexMtx mIndTexMtx[3]
Definition J2DMatBlock.h:738
J2DIndBlockFull()
Definition J2DMatBlock.h:710
virtual void setIndTexStageNum(u8 num)
Definition J2DMatBlock.h:715
J2DIndTexCoordScale mTexCoordScale[4]
Definition J2DMatBlock.h:739
virtual u32 getType()
Definition J2DMatBlock.h:714
virtual void setIndTexCoordScale(u32 index, J2DIndTexCoordScale scale)
Definition J2DMatBlock.h:727
virtual J2DIndTexCoordScale * getIndTexCoordScale(u32 index)
Definition J2DMatBlock.h:730
Definition J2DMatBlock.h:746
J2DIndBlockNull()
Definition J2DMatBlock.h:748
virtual u32 getType()
Definition J2DMatBlock.h:751
virtual ~J2DIndBlockNull()
Definition J2DMatBlock.h:752
virtual void setGX()
Definition J2DMatBlock.h:750
Definition J2DMatBlock.h:688
virtual void setGX()
Definition J2DMatBlock.h:691
virtual J2DIndTexMtx * getIndTexMtx(u32)
Definition J2DMatBlock.h:698
virtual void setIndTexMtx(u32, J2DIndTexMtx)
Definition J2DMatBlock.h:697
virtual u8 getIndTexStageNum() const
Definition J2DMatBlock.h:694
virtual void setIndTexStageNum(u8)
Definition J2DMatBlock.h:693
virtual J2DIndTexOrder * getIndTexOrder(u32)
Definition J2DMatBlock.h:696
virtual void setIndTexCoordScale(u32, J2DIndTexCoordScale)
Definition J2DMatBlock.h:699
virtual void initialize()
Definition J2DMatBlock.h:690
virtual void setIndTexOrder(u32, J2DIndTexOrder)
Definition J2DMatBlock.h:695
virtual J2DIndTexCoordScale * getIndTexCoordScale(u32)
Definition J2DMatBlock.h:700
virtual u32 getType()=0
virtual ~J2DIndBlock()
Definition J2DMatBlock.h:701
Definition J2DTevs.h:228
Definition J2DTevs.h:179
Definition J2DTevs.h:135
Definition J2DTevs.h:92
Definition J2DMatBlock.h:668
void setBlend(J2DBlend blend)
Definition J2DMatBlock.h:675
J2DPEBlock()
Definition J2DMatBlock.h:670
J2DAlphaComp mAlphaComp
Definition J2DMatBlock.h:679
void setDither(u8 dither)
Definition J2DMatBlock.h:676
void setGX()
Definition J2DMatBlock.cpp:2231
J2DBlend mBlend
Definition J2DMatBlock.h:680
void initialize()
Definition J2DMatBlock.cpp:2224
void setAlphaComp(J2DAlphaComp comp)
Definition J2DMatBlock.h:674
u8 mDither
Definition J2DMatBlock.h:681
Definition J2DMatBlock.h:489
bool mFontUndeleteFlag
Definition J2DMatBlock.h:580
virtual void setTevKColorSel(u32 index, u8 sel)
Definition J2DMatBlock.h:514
J2DTevBlock16()
Definition J2DMatBlock.cpp:1765
u8 field_0xf7
Definition J2DMatBlock.h:570
virtual bool prepareTexture(u8)
Definition J2DMatBlock.cpp:1795
JUTTexture * mTexture[8]
Definition J2DMatBlock.h:576
JUTFont * mFont
Definition J2DMatBlock.h:578
virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info)
Definition J2DMatBlock.h:524
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.cpp:2068
virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table)
Definition J2DMatBlock.h:527
virtual void setTevKColor(u32 index, JUtility::TColor color)
Definition J2DMatBlock.h:510
virtual J2DTevOrder * getTevOrder(u32 index)
Definition J2DMatBlock.h:505
virtual JUTTexture * getTexture(u32 index)
Definition J2DMatBlock.h:551
virtual void setTevStage(u32 index, J2DTevStage stage)
Definition J2DMatBlock.h:520
u8 mUndeleteFlag
Definition J2DMatBlock.h:579
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32 index)
Definition J2DMatBlock.h:530
virtual u16 getFontNo() const
Definition J2DMatBlock.h:501
virtual void setFontNo(u16 fontNo)
Definition J2DMatBlock.h:500
virtual u8 getTevKColorSel(u32 index)
Definition J2DMatBlock.h:515
virtual u32 getType()
Definition J2DMatBlock.h:496
virtual ~J2DTevBlock16()
Definition J2DMatBlock.cpp:1775
u8 mTevKColorSel[16]
Definition J2DMatBlock.h:572
u16 mFontNo
Definition J2DMatBlock.h:565
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:519
virtual void initialize()
Definition J2DMatBlock.cpp:1789
J2DTevSwapModeTable mTevSwapModeTable[4]
Definition J2DMatBlock.h:574
virtual void setTevStageNum(u8 num)
Definition J2DMatBlock.h:518
J2DTevOrder mTevOrder[16]
Definition J2DMatBlock.h:566
virtual void setTevOrder(u32 index, J2DTevOrder order)
Definition J2DMatBlock.h:502
virtual JUtility::TColor * getTevKColor(u32 index)
Definition J2DMatBlock.h:513
virtual JUTPalette * getPalette(u32 index)
Definition J2DMatBlock.h:554
J2DTevStage mTevStage[16]
Definition J2DMatBlock.h:569
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.cpp:1951
virtual void setUndeleteFlag(u8 flag)
Definition J2DMatBlock.h:559
virtual void setGX()
Definition J2DMatBlock.cpp:2141
virtual u32 getTexNo(u32 index) const
Definition J2DMatBlock.h:499
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.cpp:2132
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.cpp:2189
virtual JUTFont * getFont()
Definition J2DMatBlock.h:557
u8 mTevStageNum
Definition J2DMatBlock.h:568
virtual void setTexNo(u32 index, u16 texNo)
Definition J2DMatBlock.h:498
virtual J2DIndTevStage * getIndTevStage(u32 index)
Definition J2DMatBlock.h:536
virtual void setTevKAlphaSel(u32 index, u8 sel)
Definition J2DMatBlock.h:516
J2DGXColorS10 mTevColor[4]
Definition J2DMatBlock.h:567
u16 mTexNo[8]
Definition J2DMatBlock.h:564
JUTPalette * mPalette[8]
Definition J2DMatBlock.h:577
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:560
virtual void setTevColor(u32 index, J2DGXColorS10 color)
Definition J2DMatBlock.h:506
JUtility::TColor mTevKColor[4]
Definition J2DMatBlock.h:571
J2DIndTevStage mIndTevStage[16]
Definition J2DMatBlock.h:575
virtual u8 getMaxStage()
Definition J2DMatBlock.h:497
virtual J2DTevStage * getTevStage(u32 index)
Definition J2DMatBlock.h:523
virtual bool removeTexture(u32)
Definition J2DMatBlock.cpp:2043
virtual J2DGXColorS10 * getTevColor(u32 index)
Definition J2DMatBlock.h:509
virtual void setIndTevStage(u32 index, J2DIndTevStage stage)
Definition J2DMatBlock.h:533
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.cpp:2104
virtual bool insertTexture(u32 index, ResTIMG const *p_timg)
Definition J2DMatBlock.h:539
u8 mTevKAlphaSel[16]
Definition J2DMatBlock.h:573
virtual u8 getTevKAlphaSel(u32 index)
Definition J2DMatBlock.h:517
Definition J2DMatBlock.h:102
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.cpp:218
u8 mTevKColorSel[1]
Definition J2DMatBlock.h:183
J2DTevSwapModeTable mTevSwapModeTable[4]
Definition J2DMatBlock.h:185
virtual J2DTevStage * getTevStage(u32 index)
Definition J2DMatBlock.h:136
virtual bool prepareTexture(u8)
Definition J2DMatBlock.cpp:145
virtual void setTevKAlphaSel(u32 index, u8 sel)
Definition J2DMatBlock.h:129
virtual ~J2DTevBlock1()
Definition J2DMatBlock.cpp:109
virtual void setTevOrder(u32 index, J2DTevOrder order)
Definition J2DMatBlock.h:115
virtual u32 getType()
Definition J2DMatBlock.h:109
virtual void setTevColor(u32 index, J2DGXColorS10 color)
Definition J2DMatBlock.h:119
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:173
virtual void setTevKColor(u32 index, JUtility::TColor color)
Definition J2DMatBlock.h:123
virtual u16 getFontNo() const
Definition J2DMatBlock.h:114
virtual void initialize()
Definition J2DMatBlock.cpp:122
virtual void setIndTevStage(u32 index, J2DIndTevStage stage)
Definition J2DMatBlock.h:146
virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info)
Definition J2DMatBlock.h:137
virtual u32 getTexNo(u32 index) const
Definition J2DMatBlock.h:112
virtual JUTFont * getFont()
Definition J2DMatBlock.h:170
u16 mFontNo
Definition J2DMatBlock.h:178
u16 mTexNo[1]
Definition J2DMatBlock.h:177
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32 index)
Definition J2DMatBlock.h:143
J2DIndTevStage mIndTevStage[1]
Definition J2DMatBlock.h:186
virtual JUTTexture * getTexture(u32 index)
Definition J2DMatBlock.h:164
virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table)
Definition J2DMatBlock.h:140
virtual J2DTevOrder * getTevOrder(u32 index)
Definition J2DMatBlock.h:118
JUTFont * mFont
Definition J2DMatBlock.h:189
J2DTevOrder mTevOrder[1]
Definition J2DMatBlock.h:179
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:132
virtual void setTexNo(u32 index, u16 texNo)
Definition J2DMatBlock.h:111
J2DTevStage mTevStage[1]
Definition J2DMatBlock.h:181
virtual u8 getTevKColorSel(u32 index)
Definition J2DMatBlock.h:128
virtual void setGX()
Definition J2DMatBlock.cpp:371
J2DTevBlock1()
Definition J2DMatBlock.cpp:102
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.cpp:301
JUTTexture * mTexture[1]
Definition J2DMatBlock.h:187
virtual J2DIndTevStage * getIndTevStage(u32 index)
Definition J2DMatBlock.h:149
JUtility::TColor mTevKColor[4]
Definition J2DMatBlock.h:182
virtual void setTevStage(u32 index, J2DTevStage stage)
Definition J2DMatBlock.h:133
virtual JUtility::TColor * getTevKColor(u32 index)
Definition J2DMatBlock.h:126
virtual bool removeTexture(u32)
Definition J2DMatBlock.cpp:283
JUTPalette * mPalette[1]
Definition J2DMatBlock.h:188
virtual JUTPalette * getPalette(u32 index)
Definition J2DMatBlock.h:167
virtual u8 getMaxStage()
Definition J2DMatBlock.h:110
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.cpp:366
u8 mUndeleteFlag
Definition J2DMatBlock.h:190
virtual void setTevStageNum(u8 num)
Definition J2DMatBlock.h:131
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.cpp:337
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.cpp:411
virtual bool insertTexture(u32 index, ResTIMG const *p_timg)
Definition J2DMatBlock.h:152
J2DGXColorS10 mTevColor[4]
Definition J2DMatBlock.h:180
virtual void setFontNo(u16 fontNo)
Definition J2DMatBlock.h:113
u8 mTevKAlphaSel[1]
Definition J2DMatBlock.h:184
virtual void setTevKColorSel(u32 index, u8 sel)
Definition J2DMatBlock.h:127
virtual J2DGXColorS10 * getTevColor(u32 index)
Definition J2DMatBlock.h:122
virtual void setUndeleteFlag(u8 flag)
Definition J2DMatBlock.h:172
virtual u8 getTevKAlphaSel(u32 index)
Definition J2DMatBlock.h:130
Definition J2DMatBlock.h:197
u16 mTexNo[2]
Definition J2DMatBlock.h:272
virtual void setTevStage(u32 index, J2DTevStage stage)
Definition J2DMatBlock.h:228
JUTPalette * mPalette[2]
Definition J2DMatBlock.h:285
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32 index)
Definition J2DMatBlock.h:238
virtual void setTevStageNum(u8 num)
Definition J2DMatBlock.h:226
virtual void setGX()
Definition J2DMatBlock.cpp:812
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.cpp:733
virtual JUTTexture * getTexture(u32 index)
Definition J2DMatBlock.h:259
JUTTexture * mTexture[2]
Definition J2DMatBlock.h:284
J2DGXColorS10 mTevColor[4]
Definition J2DMatBlock.h:275
J2DTevOrder mTevOrder[2]
Definition J2DMatBlock.h:274
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.cpp:628
u8 field_0x43
Definition J2DMatBlock.h:278
virtual void setTevOrder(u32 index, J2DTevOrder order)
Definition J2DMatBlock.h:210
virtual bool removeTexture(u32)
Definition J2DMatBlock.cpp:708
virtual u8 getTevKColorSel(u32 index)
Definition J2DMatBlock.h:223
virtual void initialize()
Definition J2DMatBlock.cpp:444
virtual void setTevColor(u32 index, J2DGXColorS10 color)
Definition J2DMatBlock.h:214
virtual u8 getMaxStage()
Definition J2DMatBlock.h:205
virtual J2DTevStage * getTevStage(u32 index)
Definition J2DMatBlock.h:231
virtual u16 getFontNo() const
Definition J2DMatBlock.h:209
virtual JUTFont * getFont()
Definition J2DMatBlock.h:265
virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table)
Definition J2DMatBlock.h:235
u8 mTevStageNum
Definition J2DMatBlock.h:276
virtual void setUndeleteFlag(u8 flag)
Definition J2DMatBlock.h:267
virtual u8 getTevKAlphaSel(u32 index)
Definition J2DMatBlock.h:225
virtual void setIndTevStage(u32 index, J2DIndTevStage stage)
Definition J2DMatBlock.h:241
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:268
virtual bool prepareTexture(u8)
Definition J2DMatBlock.cpp:475
u8 mUndeleteFlag
Definition J2DMatBlock.h:287
J2DTevSwapModeTable mTevSwapModeTable[4]
Definition J2DMatBlock.h:282
JUtility::TColor mTevKColor[4]
Definition J2DMatBlock.h:279
u16 mFontNo
Definition J2DMatBlock.h:273
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.cpp:798
virtual JUTPalette * getPalette(u32 index)
Definition J2DMatBlock.h:262
J2DTevBlock2()
Definition J2DMatBlock.cpp:418
virtual void setTexNo(u32 index, u16 texNo)
Definition J2DMatBlock.h:206
u8 mTevKAlphaSel[2]
Definition J2DMatBlock.h:281
virtual u32 getType()
Definition J2DMatBlock.h:204
virtual J2DTevOrder * getTevOrder(u32 index)
Definition J2DMatBlock.h:213
virtual void setFontNo(u16 fontNo)
Definition J2DMatBlock.h:208
J2DTevStage mTevStage[2]
Definition J2DMatBlock.h:277
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.cpp:860
virtual J2DGXColorS10 * getTevColor(u32 index)
Definition J2DMatBlock.h:217
virtual u32 getTexNo(u32 index) const
Definition J2DMatBlock.h:207
virtual void setTevKColor(u32 index, JUtility::TColor color)
Definition J2DMatBlock.h:218
virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info)
Definition J2DMatBlock.h:232
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:227
JUTFont * mFont
Definition J2DMatBlock.h:286
u8 mTevKColorSel[2]
Definition J2DMatBlock.h:280
virtual ~J2DTevBlock2()
Definition J2DMatBlock.cpp:426
virtual bool insertTexture(u32 index, ResTIMG const *p_timg)
Definition J2DMatBlock.h:247
virtual void setTevKAlphaSel(u32 index, u8 sel)
Definition J2DMatBlock.h:224
virtual JUtility::TColor * getTevKColor(u32 index)
Definition J2DMatBlock.h:221
J2DIndTevStage mIndTevStage[2]
Definition J2DMatBlock.h:283
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.cpp:769
virtual void setTevKColorSel(u32 index, u8 sel)
Definition J2DMatBlock.h:222
virtual J2DIndTevStage * getIndTevStage(u32 index)
Definition J2DMatBlock.h:244
Definition J2DMatBlock.h:294
virtual u8 getMaxStage()
Definition J2DMatBlock.h:302
virtual bool prepareTexture(u8)
Definition J2DMatBlock.cpp:928
virtual bool insertTexture(u32 index, ResTIMG const *p_timg)
Definition J2DMatBlock.h:344
virtual void setTevStage(u32 index, J2DTevStage stage)
Definition J2DMatBlock.h:325
virtual void setGX()
Definition J2DMatBlock.cpp:1279
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.cpp:1327
u8 mTevStageNum
Definition J2DMatBlock.h:373
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:365
virtual ~J2DTevBlock4()
Definition J2DMatBlock.cpp:877
virtual J2DTevOrder * getTevOrder(u32 index)
Definition J2DMatBlock.h:310
virtual void setTexNo(u32 index, u16 texNo)
Definition J2DMatBlock.h:303
J2DTevSwapModeTable mTevSwapModeTable[4]
Definition J2DMatBlock.h:379
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.cpp:1265
virtual void setTevStageNum(u8 num)
Definition J2DMatBlock.h:323
JUTPalette * mPalette[4]
Definition J2DMatBlock.h:382
J2DTevOrder mTevOrder[4]
Definition J2DMatBlock.h:371
J2DTevStage mTevStage[4]
Definition J2DMatBlock.h:374
u8 mTevKAlphaSel[4]
Definition J2DMatBlock.h:378
JUTTexture * mTexture[4]
Definition J2DMatBlock.h:381
J2DIndTevStage mIndTevStage[4]
Definition J2DMatBlock.h:380
virtual u8 getTevKColorSel(u32 index)
Definition J2DMatBlock.h:320
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32 index)
Definition J2DMatBlock.h:335
virtual JUtility::TColor * getTevKColor(u32 index)
Definition J2DMatBlock.h:318
virtual void setTevKColor(u32 index, JUtility::TColor color)
Definition J2DMatBlock.h:315
u16 mTexNo[4]
Definition J2DMatBlock.h:369
u8 mTevKColorSel[4]
Definition J2DMatBlock.h:377
virtual J2DIndTevStage * getIndTevStage(u32 index)
Definition J2DMatBlock.h:341
virtual u16 getFontNo() const
Definition J2DMatBlock.h:306
virtual void setIndTevStage(u32 index, J2DIndTevStage stage)
Definition J2DMatBlock.h:338
virtual u32 getTexNo(u32 index) const
Definition J2DMatBlock.h:304
u8 field_0x5f
Definition J2DMatBlock.h:375
virtual void setTevKColorSel(u32 index, u8 sel)
Definition J2DMatBlock.h:319
virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info)
Definition J2DMatBlock.h:329
virtual J2DGXColorS10 * getTevColor(u32 index)
Definition J2DMatBlock.h:314
JUtility::TColor mTevKColor[4]
Definition J2DMatBlock.h:376
virtual void setTevOrder(u32 index, J2DTevOrder order)
Definition J2DMatBlock.h:307
J2DGXColorS10 mTevColor[4]
Definition J2DMatBlock.h:372
virtual JUTTexture * getTexture(u32 index)
Definition J2DMatBlock.h:356
virtual JUTFont * getFont()
Definition J2DMatBlock.h:362
virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table)
Definition J2DMatBlock.h:332
u8 mUndeleteFlag
Definition J2DMatBlock.h:384
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.cpp:1236
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.cpp:1084
virtual u8 getTevKAlphaSel(u32 index)
Definition J2DMatBlock.h:322
virtual bool removeTexture(u32)
Definition J2DMatBlock.cpp:1175
virtual void setUndeleteFlag(u8 flag)
Definition J2DMatBlock.h:364
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:324
virtual void setTevKAlphaSel(u32 index, u8 sel)
Definition J2DMatBlock.h:321
virtual JUTPalette * getPalette(u32 index)
Definition J2DMatBlock.h:359
u16 mFontNo
Definition J2DMatBlock.h:370
virtual u32 getType()
Definition J2DMatBlock.h:301
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.cpp:1200
virtual void setFontNo(u16 fontNo)
Definition J2DMatBlock.h:305
virtual void initialize()
Definition J2DMatBlock.cpp:892
J2DTevBlock4()
Definition J2DMatBlock.cpp:867
virtual J2DTevStage * getTevStage(u32 index)
Definition J2DMatBlock.h:328
JUTFont * mFont
Definition J2DMatBlock.h:383
virtual void setTevColor(u32 index, J2DGXColorS10 color)
Definition J2DMatBlock.h:311
Definition J2DMatBlock.h:391
virtual u8 getTevKAlphaSel(u32 index)
Definition J2DMatBlock.h:419
virtual u32 getTexNo(u32 index) const
Definition J2DMatBlock.h:401
J2DGXColorS10 mTevColor[4]
Definition J2DMatBlock.h:469
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.cpp:1672
u8 mUndeleteFlag
Definition J2DMatBlock.h:481
u16 mFontNo
Definition J2DMatBlock.h:467
u8 field_0x97
Definition J2DMatBlock.h:472
virtual void setIndTevStage(u32 index, J2DIndTevStage stage)
Definition J2DMatBlock.h:435
virtual void setTevOrder(u32 index, J2DTevOrder order)
Definition J2DMatBlock.h:404
u8 mTevKAlphaSel[8]
Definition J2DMatBlock.h:475
virtual void setTevSwapModeInfo(u32 index, J2DTevSwapModeInfo info)
Definition J2DMatBlock.h:426
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32 index)
Definition J2DMatBlock.h:432
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:462
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.cpp:1701
virtual bool prepareTexture(u8)
Definition J2DMatBlock.cpp:1364
virtual void setUndeleteFlag(u8 flag)
Definition J2DMatBlock.h:461
virtual JUTPalette * getPalette(u32 index)
Definition J2DMatBlock.h:456
virtual u16 getFontNo() const
Definition J2DMatBlock.h:403
virtual void setTevStage(u32 index, J2DTevStage stage)
Definition J2DMatBlock.h:422
JUtility::TColor mTevKColor[4]
Definition J2DMatBlock.h:473
virtual void setTevColor(u32 index, J2DGXColorS10 color)
Definition J2DMatBlock.h:408
u8 mTevKColorSel[8]
Definition J2DMatBlock.h:474
JUTFont * mFont
Definition J2DMatBlock.h:480
virtual u32 getType()
Definition J2DMatBlock.h:398
virtual JUTFont * getFont()
Definition J2DMatBlock.h:459
virtual J2DTevStage * getTevStage(u32 index)
Definition J2DMatBlock.h:425
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.cpp:1636
virtual JUTTexture * getTexture(u32 index)
Definition J2DMatBlock.h:453
virtual void setTevSwapModeTable(u32 index, J2DTevSwapModeTable table)
Definition J2DMatBlock.h:429
virtual J2DIndTevStage * getIndTevStage(u32 index)
Definition J2DMatBlock.h:438
J2DIndTevStage mIndTevStage[8]
Definition J2DMatBlock.h:477
virtual void setTexNo(u32 index, u16 texNo)
Definition J2DMatBlock.h:400
J2DTevStage mTevStage[8]
Definition J2DMatBlock.h:471
J2DTevOrder mTevOrder[8]
Definition J2DMatBlock.h:468
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.cpp:1520
virtual ~J2DTevBlock8()
Definition J2DMatBlock.cpp:1344
virtual void setTevKColorSel(u32 index, u8 sel)
Definition J2DMatBlock.h:416
virtual J2DTevOrder * getTevOrder(u32 index)
Definition J2DMatBlock.h:407
virtual bool removeTexture(u32)
Definition J2DMatBlock.cpp:1611
u16 mTexNo[8]
Definition J2DMatBlock.h:466
virtual JUtility::TColor * getTevKColor(u32 index)
Definition J2DMatBlock.h:415
virtual void setTevKAlphaSel(u32 index, u8 sel)
Definition J2DMatBlock.h:418
u8 mTevStageNum
Definition J2DMatBlock.h:470
virtual void initialize()
Definition J2DMatBlock.cpp:1358
virtual u8 getTevKColorSel(u32 index)
Definition J2DMatBlock.h:417
virtual u8 getMaxStage()
Definition J2DMatBlock.h:399
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:421
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.cpp:1758
JUTTexture * mTexture[8]
Definition J2DMatBlock.h:478
J2DTevBlock8()
Definition J2DMatBlock.cpp:1334
virtual bool insertTexture(u32 index, ResTIMG const *p_timg)
Definition J2DMatBlock.h:441
bool mFontUndeleteFlag
Definition J2DMatBlock.h:482
virtual void setTevStageNum(u8 num)
Definition J2DMatBlock.h:420
virtual void setGX()
Definition J2DMatBlock.cpp:1710
JUTPalette * mPalette[8]
Definition J2DMatBlock.h:479
virtual J2DGXColorS10 * getTevColor(u32 index)
Definition J2DMatBlock.h:411
virtual void setTevKColor(u32 index, JUtility::TColor color)
Definition J2DMatBlock.h:412
virtual void setFontNo(u16 fontNo)
Definition J2DMatBlock.h:402
J2DTevSwapModeTable mTevSwapModeTable[4]
Definition J2DMatBlock.h:476
Definition J2DMatBlock.h:49
virtual ~J2DTevBlock()
Definition J2DMatBlock.h:95
virtual u32 getTexNo(u32) const
Definition J2DMatBlock.h:57
virtual JUtility::TColor * getTevKColor(u32)
Definition J2DMatBlock.h:65
virtual u8 getTevKAlphaSel(u32)
Definition J2DMatBlock.h:69
virtual u8 getMaxStage()=0
virtual void setTevSwapModeTable(u32, J2DTevSwapModeTable)
Definition J2DMatBlock.h:75
virtual bool insertTexture(u32, JUTTexture *)
Definition J2DMatBlock.h:81
virtual J2DTevOrder * getTevOrder(u32)
Definition J2DMatBlock.h:61
virtual bool setTexture(u32, JUTTexture *)
Definition J2DMatBlock.h:83
virtual bool setFont(JUTFont *)
Definition J2DMatBlock.h:86
virtual u16 getFontNo() const
Definition J2DMatBlock.h:59
virtual void setTevStage(u32, J2DTevStage)
Definition J2DMatBlock.h:72
virtual J2DGXColorS10 * getTevColor(u32)
Definition J2DMatBlock.h:63
virtual void setFontUndeleteFlag()
Definition J2DMatBlock.h:94
virtual J2DIndTevStage * getIndTevStage(u32)
Definition J2DMatBlock.h:78
virtual void setTevKAlphaSel(u32, u8)
Definition J2DMatBlock.h:68
virtual void setTevOrder(u32, J2DTevOrder)
Definition J2DMatBlock.h:60
virtual void setTevSwapModeInfo(u32, J2DTevSwapModeInfo)
Definition J2DMatBlock.h:74
virtual void setIndTevStage(u32, J2DIndTevStage)
Definition J2DMatBlock.h:77
virtual void loadTexture(_GXTexMapID, u32)
Definition J2DMatBlock.h:53
virtual bool setTexture(u32, ResTIMG const *)
Definition J2DMatBlock.h:82
virtual bool removeTexture(u32)
Definition J2DMatBlock.h:84
virtual bool insertTexture(u32, ResTIMG const *)
Definition J2DMatBlock.h:79
virtual bool setFont(ResFONT *)
Definition J2DMatBlock.h:85
virtual JUTPalette * getPalette(u32)
Definition J2DMatBlock.cpp:97
virtual bool insertTexture(u32, ResTIMG const *, JUTPalette *)
Definition J2DMatBlock.h:80
virtual JUTTexture * getTexture(u32)
Definition J2DMatBlock.cpp:92
virtual void setGX()
Definition J2DMatBlock.h:52
virtual u8 getTevKColorSel(u32)
Definition J2DMatBlock.h:67
virtual J2DTevSwapModeTable * getTevSwapModeTable(u32)
Definition J2DMatBlock.h:76
virtual u8 getTevStageNum() const
Definition J2DMatBlock.h:71
virtual void setTevStageNum(u8)
Definition J2DMatBlock.h:70
virtual void shiftDeleteFlag(u8, bool)
Definition J2DMatBlock.h:92
virtual void setTevKColor(u32, JUtility::TColor)
Definition J2DMatBlock.h:64
virtual void initialize()
Definition J2DMatBlock.h:51
virtual bool prepareTexture(u8)
Definition J2DMatBlock.h:88
virtual void setTevColor(u32, J2DGXColorS10)
Definition J2DMatBlock.h:62
virtual void setTevKColorSel(u32, u8)
Definition J2DMatBlock.h:66
virtual u32 getType()=0
virtual void setFontNo(u16)
Definition J2DMatBlock.h:58
virtual JUTFont * getFont()
Definition J2DMatBlock.h:91
virtual J2DTevStage * getTevStage(u32)
Definition J2DMatBlock.h:73
virtual bool setPalette(u32, ResTLUT const *)
Definition J2DMatBlock.h:87
virtual void setUndeleteFlag(u8)
Definition J2DMatBlock.h:93
virtual void setTexNo(u32, u16)
Definition J2DMatBlock.h:56
Definition J2DTevs.h:321
Definition J2DTevs.h:385
void setTevSwapModeInfo(const J2DTevSwapModeInfo &swapInfo)
Definition J2DTevs.h:396
Definition J2DTevs.h:536
Definition J2DTevs.h:278
Definition J2DMatBlock.h:759
void setTexMtx(u32, J2DTexMtx &)
Definition J2DMatBlock.cpp:72
J2DTexGenBlock()
Definition J2DMatBlock.h:766
J2DTexMtx * mTexMtx[8]
Definition J2DMatBlock.h:763
void getTexMtx(u32, J2DTexMtx &)
Definition J2DMatBlock.cpp:85
void setTexGenNum(u32 num)
Definition J2DMatBlock.h:774
void setTexMtx(u32 i, J2DTexMtx *mtx)
Definition J2DMatBlock.h:776
void setTexCoord(u32 i, J2DTexCoord coord)
Definition J2DMatBlock.h:775
virtual ~J2DTexGenBlock()
Definition J2DMatBlock.cpp:63
void initialize()
Definition J2DMatBlock.cpp:39
u32 getTexGenNum() const
Definition J2DMatBlock.h:773
void setGX()
Definition J2DMatBlock.cpp:50
J2DTexCoord & getTexCoord(u32 i)
Definition J2DMatBlock.h:777
J2DTexCoord mTexGenCoord[8]
Definition J2DMatBlock.h:762
u32 mTexGenNum
Definition J2DMatBlock.h:761
Definition J2DTevs.h:53
Definition JUTFont.h:69
Definition JUTPalette.h:22
Definition JUTResFont.h:24
Definition JUTTexture.h:46
static char * table[19]
Definition d_a_door_shutter.cpp:1599
static SECTION_DATA u8 color[4]
Definition d_a_obj_crope.cpp:225
static volatile BOOL flag
Definition dspproc.cpp:20
int i
Definition e_pow.c:165
Definition J2DMatBlock.h:587
u8 field_0x5
Definition J2DMatBlock.h:593
u8 mRef0
Definition J2DMatBlock.h:590
u8 field_0x1
Definition J2DMatBlock.h:589
u8 field_0x6
Definition J2DMatBlock.h:594
u8 field_0x4
Definition J2DMatBlock.h:592
u8 field_0x0
Definition J2DMatBlock.h:588
u8 field_0x7
Definition J2DMatBlock.h:595
u8 mRef1
Definition J2DMatBlock.h:591
Definition J2DMatBlock.h:606
u16 mAlphaCmp
Definition J2DMatBlock.h:623
u8 mRef0
Definition J2DMatBlock.h:624
u8 getComp1()
Definition J2DMatBlock.h:620
u8 getRef0()
Definition J2DMatBlock.h:618
u8 mRef1
Definition J2DMatBlock.h:625
u8 getComp0()
Definition J2DMatBlock.h:617
J2DAlphaComp()
Definition J2DMatBlock.h:607
u8 getRef1()
Definition J2DMatBlock.h:621
J2DAlphaComp(const J2DAlphaCompInfo &info)
Definition J2DMatBlock.h:612
u8 getOp()
Definition J2DMatBlock.h:619
Definition J2DMatBlock.h:632
u8 mType
Definition J2DMatBlock.h:640
u8 mDstFactor
Definition J2DMatBlock.h:642
u8 mOp
Definition J2DMatBlock.h:643
u8 mSrcFactor
Definition J2DMatBlock.h:641
void operator=(J2DBlendInfo const &other)
Definition J2DMatBlock.h:633
Definition J2DMatBlock.h:652
u8 getOp()
Definition J2DMatBlock.h:659
J2DBlend(const J2DBlendInfo &info)
Definition J2DMatBlock.h:654
J2DBlendInfo mBlendInfo
Definition J2DMatBlock.h:661
void setBlendInfo(const J2DBlendInfo &info)
Definition J2DMatBlock.h:655
u8 getDstFactor()
Definition J2DMatBlock.h:658
u8 getSrcFactor()
Definition J2DMatBlock.h:657
J2DBlend()
Definition J2DMatBlock.h:653
u8 getType()
Definition J2DMatBlock.h:656
Definition J2DMatBlock.h:786
u8 field_0x3
Definition J2DMatBlock.h:790
u8 field_0x2
Definition J2DMatBlock.h:789
u8 field_0x1
Definition J2DMatBlock.h:788
u8 field_0x0
Definition J2DMatBlock.h:787
Definition J2DMatBlock.h:19
J2DGXColorS10(const GXColorS10 &other)
Definition J2DMatBlock.h:27
J2DGXColorS10 & operator=(const GXColorS10 &other)
Definition J2DMatBlock.h:34
J2DGXColorS10()
Definition J2DMatBlock.h:20
J2DGXColorS10(const J2DGXColorS10 &other)
Definition J2DMatBlock.h:21
Definition J2DTevs.h:372
Definition TColor.h:12
Definition JUTFont.h:11
Image data header.
Definition d_menu_dmap_map.cpp:109
Definition JUTPalette.h:12
Definition d_a_obj_sekizoa.cpp:191
s16 g
Definition GXStruct.h:17
s16 a
Definition GXStruct.h:19
s16 r
Definition GXStruct.h:16
s16 b
Definition GXStruct.h:18
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8