Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_drawlist.h
Go to the documentation of this file.
1#ifndef D_D_DRAWLIST_H
2#define D_D_DRAWLIST_H
3
6#include "f_op/f_op_view.h"
7#include "m_Do/m_Do_ext.h"
8#include "global.h"
9
10class J3DDrawBuffer;
11class J3DModel;
12class J3DPacket;
13class JUTFont;
14class dKy_tevstr_c;
15
16class cM_rnd_c {
17public:
18 cM_rnd_c() { init(100, 100, 100); }
19
20 /* 80053CDC */ void init(int, int, int);
21 /* 80053CEC */ f32 get();
22 /* 80053DE0 */ f32 getF(f32);
23 /* 80053E18 */ f32 getFX(f32);
24 /* 80053E60 */ f32 getValue(f32, f32);
25
26 /* 0x0 */ int seed0;
27 /* 0x4 */ int seed1;
28 /* 0x8 */ int seed2;
29};
30
32public:
34
35 // hack, remove later
36 #ifdef NO_INLINE_DLSTBASE_DRAW
37 virtual void draw();
38 #else
39 virtual void draw() {}
40 #endif
41};
42
44public:
45 /* 80252ED4 */ virtual void draw();
46};
47
49public:
50 /* 80053E9C */ virtual void draw();
51 /* 800541F4 */ void update(cXyz&, _GXColor&, u16, u16, u16, u16, f32, f32, f32, f32);
52
55
56 void initRnd(int r0, int r1, int r2) {
57 mRnd.init(r0, r1, r2);
58 }
59
60private:
61 /* 0x04 */ cM_rnd_c mRnd;
62 /* 0x10 */ cXyz field_0x10;
63 /* 0x1C */ GXColor mLineColor;
64 /* 0x20 */ u16 field_0x20;
65 /* 0x22 */ u16 field_0x22;
66 /* 0x24 */ u16 field_0x24;
67 /* 0x26 */ u16 field_0x26;
68 /* 0x28 */ f32 field_0x28;
69 /* 0x2C */ f32 field_0x2c;
70 /* 0x30 */ f32 field_0x30;
71 /* 0x34 */ f32 field_0x34;
72}; // Size: 0x38
73
74class dDlst_2D_c : public dDlst_base_c {
75public:
76 /* 80053A00 */ dDlst_2D_c(ResTIMG* image, s16 posX, s16 posY, s16 width, s16 height, u8 alpha);
77 /* 80053A9C */ virtual void draw();
78
81
82private:
83 /* 0x004 */ u8 field_0x4;
84 /* 0x008 */ J2DPicture mpPicture;
85 /* 0x158 */ s16 mPosX;
86 /* 0x15A */ s16 mPosY;
87 /* 0x15C */ s16 mSizeX;
88 /* 0x15E */ s16 mSizeY;
89 /* 0x160 */ u8 mAlpha;
90};
91
92class dDlst_2DT2_c : public dDlst_base_c {
93public:
94 /* 80052354 */ virtual void draw();
95 /* 80052B00 */ dDlst_2DT2_c();
96 /* 80052B4C */ void init(ResTIMG*, f32, f32, f32, f32, u8, u8, u8, f32, f32);
97
98 f32 getScaleX() { return mScaleX; }
99 void setScaleX(f32 scale) { mScaleX = scale; }
100 void setScaleY(f32 scale) { mScaleY = scale; }
101
102 /* 0x04 */ GXTexObj mTexObj;
103 /* 0x24 */ f32 field_0x24;
104 /* 0x28 */ f32 field_0x28;
105 /* 0x2C */ f32 field_0x2c;
106 /* 0x30 */ f32 field_0x30;
107 /* 0x34 */ f32 mScaleX;
108 /* 0x38 */ f32 mScaleY;
109 /* 0x3C */ GXColor field_0x3c;
110 /* 0x40 */ GXColor field_0x40;
111 /* 0x44 */ u8 field_0x44;
112 /* 0x45 */ u8 field_0x45;
113 /* 0x46 */ u8 field_0x46;
114}; // Size: 0x48
115
117public:
119 /* 0x0 */ s16 x;
120 /* 0x2 */ s16 y;
121 /* 0x4 */ u32* dst;
122 };
123
125 /* 80056018 */ int newData(s16, s16, u32*);
126 /* 80056080 */ void peekData();
127
128 /* 0x0 */ u8 mCount;
130};
131
133public:
134 /* 8005520C */ void draw();
135 /* 800553EC */ void set(cXyz*, f32, f32, cXyz*, s16, f32, _GXTexObj*);
136 /* 8005638C */ dDlst_shadowSimple_c();
137
138 /* 0x00 */ u8 mAlpha;
139 /* 0x04 */ _GXTexObj* mpTexObj;
140 /* 0x08 */ Mtx mVolumeMtx;
141 /* 0x38 */ Mtx mMtx;
142}; // Size: 0x68
143
144struct cBgD_Vtx_t;
145
147public:
148 /* 80056270 */ ~dDlst_shadowTri_c() {}
149 /* 80056344 */ dDlst_shadowTri_c() {}
150
151 /* 0x0 */ cXyz mPos[3];
152};
153
155public:
157 reset();
158 }
159
160 void reset() { mCount = 0; }
161
162 /* 80054288 */ int set(cBgD_Vtx_t*, u16, u16, u16, cM3dGPla*);
163 /* 800543B4 */ void draw();
164
165 virtual dDlst_shadowTri_c* getTri() = 0;
166 virtual s32 getTriMax() = 0;
167
168 /* 0x4 */ u16 mCount;
169 /* 0x6 */ u8 field_0x6[2];
170};
171
173public:
174 /* 800569A0 */ virtual dDlst_shadowTri_c* getTri() { return mShadowTri; }
175 /* 800569A8 */ virtual s32 getTriMax() { return ARRAY_SIZE(mShadowTri); }
176
178};
179
181public:
182 /* 800544F0 */ void reset();
183 /* 80054500 */ void imageDraw(f32 (*)[4]);
184 /* 800545D4 */ void draw();
185 /* 80054BD0 */ u8 setShadowRealMtx(cXyz*, cXyz*, f32, f32, f32, dKy_tevstr_c*);
186 /* 80055028 */ u32 set(u32, J3DModel*, cXyz*, f32, f32, dKy_tevstr_c*, f32, f32);
187 /* 800551D4 */ bool add(J3DModel*);
188 /* 800561F8 */ ~dDlst_shadowReal_c() {}
189 /* 800562D0 */ dDlst_shadowReal_c() { mState = 0; }
190
193 bool isNoUse() { return mState == 0; }
194 bool isUse() { return mState == 1; }
195 bool checkKey(u32 i_key) { return mKey == i_key; }
196 f32 getCameraZ() { return mCameraZ; }
199
200private:
201 /* 0x0000 */ u8 mState;
202 /* 0x0001 */ u8 field_0x1;
203 /* 0x0002 */ u8 mModelNum;
204 /* 0x0003 */ u8 field_0x3;
205 /* 0x0004 */ u32 mKey;
206 /* 0x0008 */ Mtx mViewMtx;
207 /* 0x0038 */ Mtx44 mRenderProjMtx;
208 /* 0x0078 */ Mtx mReceiverProjMtx;
210 /* 0x24B0 */ J3DModel* mpModels[38];
211 /* 0x2548 */ f32 mCameraZ;
214}; // Size: 0x2554
215
217public:
219 /* 80055684 */ void init();
220 /* 80055768 */ void reset();
221 /* 800557C8 */ void imageDraw(f32 (*)[4]);
222 /* 80055A14 */ void draw(f32 (*)[4]);
223 /* 80055C74 */ int setReal(u32, s8, J3DModel*, cXyz*, f32, f32, dKy_tevstr_c*);
224 /* 80055F1C */ bool addReal(u32, J3DModel*);
225 /* 80055F84 */ int setSimple(cXyz*, f32, f32, cXyz*, s16, f32, _GXTexObj*);
226 /* 80055FE8 */ static void setSimpleTex(ResTIMG const*);
227
228 static GXTexObj* getSimpleTex() { return &mSimpleTexObj; }
229
231
232private:
233 /* 0x00000 */ u8 field_0x0;
234 /* 0x00001 */ u8 mRealNum;
235 /* 0x00002 */ u8 mSimpleNum;
238 /* 0x0000C */ dDlst_shadowSimple_c mSimple[128];
239 /* 0x0340C */ int mNextID;
240 /* 0x03410 */ dDlst_shadowReal_c mReal[8];
241 /* 0x15EB0 */ _GXTexObj field_0x15eb0[2];
242 /* 0x15EF0 */ void* field_0x15ef0[2];
243};
244
246public:
249 /* 80051AC0 */ void setViewPort(f32, f32, f32, f32, f32, f32);
250 /* 80051ADC */ void setScissor(f32, f32, f32, f32);
251
252 void setCameraID(int id) { mCameraID = id; }
254 void setMode(int mode) { mMode = mode; }
257
258private:
260 /* 0x28 */ s8 mCameraID;
261 /* 0x29 */ s8 mMode;
262};
263
265
266struct view_port_class;
267struct view_class;
268
270public:
271 /* 800560F0 */ dDlst_list_c();
272 /* 80056390 */ void init();
273 /* 8005648C */ ~dDlst_list_c();
274 /* 80056538 */ void reset();
275 /* 800565EC */ void entryZSortXluDrawList(J3DDrawBuffer*, J3DPacket*, cXyz&);
276 /* 800566D4 */ void drawOpaDrawList(J3DDrawBuffer*);
277 /* 80056710 */ void drawXluDrawList(J3DDrawBuffer*);
278 /* 8005674C */ void drawOpaListItem3d();
279 /* 80056770 */ void drawXluListItem3d();
280 /* 80056794 */ int set(dDlst_base_c**&, dDlst_base_c**&, dDlst_base_c*);
281 /* 800567C4 */ void draw(dDlst_base_c**, dDlst_base_c**);
282 /* 8005681C */ static void wipeIn(f32 i_wipeSpeed, GXColor& i_wipeColor);
283 /* 800568D8 */ static void wipeIn(f32 i_wipeSpeed);
284 /* 80056900 */ static void calcWipe();
285
287 /* 0x00 */ DB_OPA_LIST_SKY,
288 /* 0x01 */ DB_XLU_LIST_SKY,
289 /* 0x02 */ DB_LIST_P0,
290 /* 0x03 */ DB_OPA_LIST_BG,
291 /* 0x04 */ DB_XLU_LIST_BG,
294 /* 0x07 */ DB_OPA_LIST,
295 /* 0x08 */ DB_XLU_LIST,
299 /* 0x0C */ DB_LIST_FILTER,
304 /* 0x11 */ DB_LIST_Z_XLU,
306 /* 0x13 */ DB_LIST_MIDDLE,
307 /* 0x14 */ DB_LIST_3D_LAST,
308 };
309
314 view_class* getView() { return mView; }
355
359
364
368
371 return mShadowControl.setSimple(param_0, param_1, param_2, param_3, param_4, param_5,
372 param_6);
373 }
374
377 return mShadowControl.setReal(param_0, param_1, param_2, param_3, param_4, param_5,
378 param_6);
379 }
380
382 return mShadowControl.addReal(key, model);
383 }
384
388
390
414
417
418 static void offWipe() { mWipe = 0; }
419 static f32 getWipeRate() { return mWipeRate; }
420
422 static GXColor mWipeColor;
425 static u8 mWipe;
426
427private:
428 /* 0x00000 */ J3DDrawBuffer* mDrawBuffers[21];
431 /* 0x00068 */ dDlst_base_c** mpCopy2DEnd;
435 /* 0x000B4 */ dDlst_base_c* mp2DOpaDrawLists[64];
436 /* 0x001B4 */ dDlst_base_c** mp2DOpaStart;
437 /* 0x001B8 */ dDlst_base_c** mp2DOpaEnd;
438 /* 0x001BC */ dDlst_base_c* mp2DXluDrawLists[32];
439 /* 0x0023C */ dDlst_base_c** mp2DXluStart;
440 /* 0x00240 */ dDlst_base_c** mp2DXluEnd;
441 /* 0x00244 */ dDlst_window_c* mWindow;
443 /* 0x0024C */ view_class* mView;
444 /* 0x00250 */ u8 field_0x250[0xC];
447 /* 0x16190 */ dDlst_peekZ_c mPeekZ;
448}; // Size: 0x16394
449
450STATIC_ASSERT(sizeof(dDlst_list_c) == 0x16394);
451
452#endif /* D_D_DRAWLIST_H */
static unsigned long int next
Definition CARDUnlock.c:76
@ J3DSys_XLU_BUFFER_e
Definition J3DSys.h:14
@ J3DSys_OPA_BUFFER_e
Definition J3DSys.h:13
static OSTime buffer
Definition ai.c:202
T cLib_calcTimer(T *value)
Definition c_lib.h:79
static s32 r2
Definition c_math.cpp:176
static s32 r1
Definition c_math.cpp:173
static s32 r0
Definition c_math.cpp:170
Definition J2DPicture.h:55
Definition J3DDrawBuffer.h:43
Definition J3DPacket.h:100
Definition JUTFont.h:69
Definition d_drawlist.h:16
f32 get()
Definition d_drawlist.cpp:943
int seed2
Definition d_drawlist.h:28
void init(int, int, int)
Definition d_drawlist.cpp:936
int seed1
Definition d_drawlist.h:27
int seed0
Definition d_drawlist.h:26
cM_rnd_c()
Definition d_drawlist.h:18
f32 getFX(f32)
Definition d_drawlist.cpp:958
f32 getValue(f32, f32)
Definition d_drawlist.cpp:963
f32 getF(f32)
Definition d_drawlist.cpp:953
Definition d_drawlist.h:92
f32 field_0x28
Definition d_drawlist.h:104
GXColor field_0x40
Definition d_drawlist.h:110
GXColor field_0x3c
Definition d_drawlist.h:109
u8 field_0x46
Definition d_drawlist.h:113
f32 field_0x2c
Definition d_drawlist.h:105
f32 mScaleY
Definition d_drawlist.h:108
f32 getScaleX()
Definition d_drawlist.h:98
f32 field_0x30
Definition d_drawlist.h:106
void setScaleX(f32 scale)
Definition d_drawlist.h:99
f32 mScaleX
Definition d_drawlist.h:107
virtual void draw()
Definition d_drawlist.cpp:344
dDlst_2DT2_c()
Definition d_drawlist.cpp:672
u8 field_0x44
Definition d_drawlist.h:111
u8 field_0x45
Definition d_drawlist.h:112
f32 field_0x24
Definition d_drawlist.h:103
GXTexObj mTexObj
Definition d_drawlist.h:102
void setScaleY(f32 scale)
Definition d_drawlist.h:100
Definition d_drawlist.h:74
u8 mAlpha
Definition d_drawlist.h:89
u8 field_0x4
Definition d_drawlist.h:83
s16 mSizeY
Definition d_drawlist.h:88
virtual void draw()
Definition d_drawlist.cpp:925
void setAlpha(u8 alpha)
Definition d_drawlist.h:79
s16 mSizeX
Definition d_drawlist.h:87
J2DPicture mpPicture
Definition d_drawlist.h:84
s16 mPosX
Definition d_drawlist.h:85
J2DPicture * getPicture()
Definition d_drawlist.h:80
s16 mPosY
Definition d_drawlist.h:86
Definition d_drawlist.h:31
virtual void draw()
Definition d_map.cpp:1302
dDlst_base_c()
Definition d_drawlist.h:33
virtual void draw()
Definition d_drawlist.h:39
Definition d_drawlist.h:48
u16 field_0x24
Definition d_drawlist.h:66
f32 field_0x2c
Definition d_drawlist.h:69
GXColor mLineColor
Definition d_drawlist.h:63
void initRnd(int r0, int r1, int r2)
Definition d_drawlist.h:56
void update(cXyz &, _GXColor &, u16, u16, u16, u16, f32, f32, f32, f32)
Definition d_drawlist.cpp:1014
u16 field_0x26
Definition d_drawlist.h:67
u16 field_0x22
Definition d_drawlist.h:65
u16 field_0x20
Definition d_drawlist.h:64
cXyz field_0x10
Definition d_drawlist.h:62
cM_rnd_c mRnd
Definition d_drawlist.h:61
f32 getRndValue(f32 param_0, f32 param_1)
Definition d_drawlist.h:53
f32 field_0x30
Definition d_drawlist.h:70
virtual void draw()
Definition d_drawlist.cpp:968
f32 field_0x28
Definition d_drawlist.h:68
f32 getRndFX(f32 param_0)
Definition d_drawlist.h:54
f32 field_0x34
Definition d_drawlist.h:71
Definition d_drawlist.h:269
void set2DOpaTop(dDlst_base_c *dlst)
Definition d_drawlist.h:311
J3DDrawBuffer * getOpaListPacket()
Definition d_drawlist.h:321
void setOpaList3Dlast()
Definition d_drawlist.h:341
void drawShadow(Mtx param_0)
Definition d_drawlist.h:416
void setOpaListBG()
Definition d_drawlist.h:340
J3DDrawBuffer * getOpaListDark()
Definition d_drawlist.h:323
void setOpaList()
Definition d_drawlist.h:335
static GXColor mWipeColor
Definition d_drawlist.h:1954
void setXluListFilter()
Definition d_drawlist.h:351
dDlst_base_c ** mp2DOpaTopEnd
Definition d_drawlist.h:434
void drawXluListDarkBG()
Definition d_drawlist.h:401
void setOpaListMiddle()
Definition d_drawlist.h:347
J3DDrawBuffer * getOpaListFilter()
Definition d_drawlist.h:319
J3DDrawBuffer * getOpaList()
Definition d_drawlist.h:318
dDlst_base_c ** mp2DXluStart
Definition d_drawlist.h:439
void drawOpaListP0()
Definition d_drawlist.h:410
void drawXluList()
Definition d_drawlist.h:402
void setOpaListSky()
Definition d_drawlist.h:328
void setOpaListDarkBG()
Definition d_drawlist.h:334
void imageDrawShadow(Mtx param_0)
Definition d_drawlist.h:415
void entryZSortListZxlu(J3DPacket *i_packet, cXyz &param_1)
Definition d_drawlist.h:361
view_port_class * mViewport
Definition d_drawlist.h:442
~dDlst_list_c()
Definition d_drawlist.cpp:1843
int set(dDlst_base_c **&, dDlst_base_c **&, dDlst_base_c *)
Definition d_drawlist.cpp:1932
void newPeekZdata(s16 param_0, s16 param_1, u32 *param_2)
Definition d_drawlist.h:385
void drawOpaListDark()
Definition d_drawlist.h:398
void draw2DOpaTop()
Definition d_drawlist.h:412
void drawXluListItem3d()
Definition d_drawlist.cpp:1926
void setXluListP0()
Definition d_drawlist.h:344
int setRealShadow(u32 param_0, s8 param_1, J3DModel *param_2, cXyz *param_3, f32 param_4, f32 param_5, dKy_tevstr_c *param_6)
Definition d_drawlist.h:375
void set2DXlu(dDlst_base_c *dlst)
Definition d_drawlist.h:312
J3DDrawBuffer * mDrawBuffers[21]
Definition d_drawlist.h:428
void entryZSortXluList(J3DPacket *i_packet, cXyz &param_1)
Definition d_drawlist.h:365
dDlst_base_c * mpCopy2DDrawLists[4]
Definition d_drawlist.h:429
void setView(view_class *view)
Definition d_drawlist.h:315
void reset()
Definition d_drawlist.cpp:1854
void entryZSortXluDrawList(J3DDrawBuffer *, J3DPacket *, cXyz &)
Definition d_drawlist.cpp:1879
void setXluListBG()
Definition d_drawlist.h:339
dDlst_base_c ** mp2DOpaStart
Definition d_drawlist.h:436
void setOpaDrawList(J3DDrawBuffer *buffer)
Definition d_drawlist.h:326
void drawXluListSky()
Definition d_drawlist.h:393
dDlst_window_c * mWindow
Definition d_drawlist.h:441
void drawCopy2D()
Definition d_drawlist.h:391
dDlst_shadowControl_c mShadowControl
Definition d_drawlist.h:445
void setXluListZxlu()
Definition d_drawlist.h:349
void set3DlineMatDark(mDoExt_3DlineMat_c *param_1)
Definition d_drawlist.h:356
int setSimpleShadow(cXyz *param_0, f32 param_1, f32 param_2, cXyz *param_3, s16 param_4, f32 param_5, _GXTexObj *param_6)
Definition d_drawlist.h:369
void drawOpaListPacket()
Definition d_drawlist.h:399
view_port_class * getViewport()
Definition d_drawlist.h:389
void drawXluListBG()
Definition d_drawlist.h:400
dDlst_base_c ** mpCopy2DStart
Definition d_drawlist.h:430
void draw2DOpa()
Definition d_drawlist.h:411
static f32 getWipeRate()
Definition d_drawlist.h:419
void init()
Definition d_drawlist.cpp:1813
void drawOpaList()
Definition d_drawlist.h:397
void draw(dDlst_base_c **, dDlst_base_c **)
Definition d_drawlist.cpp:1943
dDlst_base_c ** mp2DOpaTopStart
Definition d_drawlist.h:433
void set2DOpa(dDlst_base_c *dlst)
Definition d_drawlist.h:310
dDlst_base_c ** mpCopy2DEnd
Definition d_drawlist.h:431
static void offWipe()
Definition d_drawlist.h:418
void setXluListInvisible()
Definition d_drawlist.h:332
void setOpaListItem3D()
Definition d_drawlist.h:337
void setOpaListInvisible()
Definition d_drawlist.h:331
dDlst_base_c ** mp2DOpaEnd
Definition d_drawlist.h:437
static void wipeIn(f32 i_wipeSpeed, GXColor &i_wipeColor)
Definition d_drawlist.cpp:1967
void draw2DXlu()
Definition d_drawlist.h:413
void setXluListMiddle()
Definition d_drawlist.h:346
bool addRealShadow(u32 key, J3DModel *model)
Definition d_drawlist.h:381
static u8 mWipe
Definition d_drawlist.h:425
void drawXluListInvisible()
Definition d_drawlist.h:404
void peekZdata()
Definition d_drawlist.h:360
dDlst_peekZ_c mPeekZ
Definition d_drawlist.h:447
void drawOpaDrawList(J3DDrawBuffer *)
Definition d_drawlist.cpp:1904
dDlst_base_c * mp2DOpaTopDrawLists[16]
Definition d_drawlist.h:432
void setXluListDark()
Definition d_drawlist.h:329
void setCopy2D(dDlst_base_c *dlst)
Definition d_drawlist.h:313
void setOpaListFilter()
Definition d_drawlist.h:350
void drawXluListDark()
Definition d_drawlist.h:403
void setXluDrawList(J3DDrawBuffer *buffer)
Definition d_drawlist.h:325
void setXluList2DScreen()
Definition d_drawlist.h:343
void setXluListDarkBG()
Definition d_drawlist.h:333
void drawOpaListItem3d()
Definition d_drawlist.cpp:1920
void set3DlineMat(mDoExt_3DlineMat_c *param_1)
Definition d_drawlist.h:352
u8 field_0x250[0xC]
Definition d_drawlist.h:444
void setXluListSky()
Definition d_drawlist.h:327
void drawOpaListFilter()
Definition d_drawlist.h:409
void drawOpaListSky()
Definition d_drawlist.h:392
dDlst_base_c * mp2DOpaDrawLists[64]
Definition d_drawlist.h:435
J3DDrawBuffer * getXluListBG()
Definition d_drawlist.h:324
J3DDrawBuffer * getOpaListBG()
Definition d_drawlist.h:322
void setXluList()
Definition d_drawlist.h:336
void drawOpaList3Dlast()
Definition d_drawlist.h:408
static f32 mWipeRate
Definition d_drawlist.h:423
void drawOpaListInvisible()
Definition d_drawlist.h:405
static f32 mWipeSpeed
Definition d_drawlist.h:424
view_class * getView()
Definition d_drawlist.h:314
void drawOpaListMiddle()
Definition d_drawlist.h:396
view_class * mView
Definition d_drawlist.h:443
void setOpaListDark()
Definition d_drawlist.h:330
void setXluListItem3D()
Definition d_drawlist.h:338
void setOpaListP0()
Definition d_drawlist.h:345
void setWindow(dDlst_window_c *window)
Definition d_drawlist.h:316
static dDlst_2DT2_c mWipeDlst
Definition d_drawlist.h:421
void setViewport(view_port_class *port)
Definition d_drawlist.h:317
DrawBuffer
Definition d_drawlist.h:286
@ DB_XLU_LIST_DARK_BG
Definition d_drawlist.h:293
@ DB_OPA_LIST_PACKET
Definition d_drawlist.h:298
@ DB_LIST_3D_LAST
Definition d_drawlist.h:307
@ DB_LIST_Z_XLU
Definition d_drawlist.h:304
@ DB_XLU_LIST_SKY
Definition d_drawlist.h:288
@ DB_OPA_LIST_INVISIBLE
Definition d_drawlist.h:302
@ DB_LIST_MIDDLE
Definition d_drawlist.h:306
@ DB_OPA_LIST
Definition d_drawlist.h:294
@ DB_XLU_LIST_BG
Definition d_drawlist.h:291
@ DB_XLU_LIST_INVISIBLE
Definition d_drawlist.h:303
@ DB_LIST_FILTER
Definition d_drawlist.h:299
@ DB_OPA_LIST_DARK
Definition d_drawlist.h:296
@ DB_OPA_LIST_DARK_BG
Definition d_drawlist.h:292
@ DB_XLU_LIST
Definition d_drawlist.h:295
@ DB_XLU_LIST_DARK
Definition d_drawlist.h:297
@ DB_OPA_LIST_BG
Definition d_drawlist.h:290
@ DB_OPA_LIST_ITEM3D
Definition d_drawlist.h:300
@ DB_LIST_2D_SCREEN
Definition d_drawlist.h:305
@ DB_LIST_P0
Definition d_drawlist.h:289
@ DB_XLU_LIST_ITEM3D
Definition d_drawlist.h:301
@ DB_OPA_LIST_SKY
Definition d_drawlist.h:287
void drawXluDrawList(J3DDrawBuffer *)
Definition d_drawlist.cpp:1912
void drawXluList2DScreen()
Definition d_drawlist.h:407
dDlst_list_c()
Definition d_drawlist.cpp:1779
void drawOpaListBG()
Definition d_drawlist.h:394
dDlst_base_c * mp2DXluDrawLists[32]
Definition d_drawlist.h:438
static void calcWipe()
Definition d_drawlist.cpp:1987
void setXluList3Dlast()
Definition d_drawlist.h:342
void setOpaListZxlu()
Definition d_drawlist.h:348
mDoExt_3DlineMatSortPacket m3DLineMatSortPacket[3]
Definition d_drawlist.h:446
void drawXluListZxlu()
Definition d_drawlist.h:406
void drawOpaListDarkBG()
Definition d_drawlist.h:395
J3DDrawBuffer * getOpaListP0()
Definition d_drawlist.h:320
dDlst_base_c ** mp2DXluEnd
Definition d_drawlist.h:440
Definition d_drawlist.h:116
u8 mCount
Definition d_drawlist.h:128
dDlst_peekZ_entry mEntries[0x40]
Definition d_drawlist.h:129
int newData(s16, s16, u32 *)
Definition d_drawlist.cpp:1753
void peekData()
Definition d_drawlist.cpp:1767
dDlst_peekZ_c()
Definition d_drawlist.h:124
Definition d_drawlist.h:154
int set(cBgD_Vtx_t *, u16, u16, u16, cM3dGPla *)
Definition d_drawlist.cpp:1033
dDlst_shadowPoly_c()
Definition d_drawlist.h:156
u16 mCount
Definition d_drawlist.h:168
virtual dDlst_shadowTri_c * getTri()=0
virtual s32 getTriMax()=0
void reset()
Definition d_drawlist.h:160
void draw()
Definition d_drawlist.cpp:1058
u8 field_0x6[2]
Definition d_drawlist.h:169
Definition d_drawlist.h:172
virtual dDlst_shadowTri_c * getTri()
Definition d_drawlist.h:174
virtual s32 getTriMax()
Definition d_drawlist.h:175
dDlst_shadowTri_c mShadowTri[256]
Definition d_drawlist.h:177
Definition d_drawlist.h:180
u8 setShadowRealMtx(cXyz *, cXyz *, f32, f32, f32, dKy_tevstr_c *)
Definition d_drawlist.cpp:1239
f32 getCameraZ()
Definition d_drawlist.h:196
u8 field_0x1
Definition d_drawlist.h:202
Mtx44 mRenderProjMtx
Definition d_drawlist.h:207
J3DModel * mpModels[38]
Definition d_drawlist.h:210
dDlst_shadowReal_c * getZsortPre()
Definition d_drawlist.h:192
Mtx mViewMtx
Definition d_drawlist.h:206
void setZsortNext(dDlst_shadowReal_c *next)
Definition d_drawlist.h:197
u8 mModelNum
Definition d_drawlist.h:203
dDlst_shadowReal_c * mZsortPre
Definition d_drawlist.h:212
bool isUse()
Definition d_drawlist.h:194
dDlst_shadowRealPoly_c mShadowRealPoly
Definition d_drawlist.h:209
u8 field_0x3
Definition d_drawlist.h:204
void reset()
Definition d_drawlist.cpp:1086
void imageDraw(f32(*)[4])
Definition d_drawlist.cpp:1092
dDlst_shadowReal_c()
Definition d_drawlist.h:189
u32 mKey
Definition d_drawlist.h:205
void setZsortPre(dDlst_shadowReal_c *pre)
Definition d_drawlist.h:198
Mtx mReceiverProjMtx
Definition d_drawlist.h:208
u32 set(u32, J3DModel *, cXyz *, f32, f32, dKy_tevstr_c *, f32, f32)
Definition d_drawlist.cpp:1298
u8 mState
Definition d_drawlist.h:201
bool isNoUse()
Definition d_drawlist.h:193
bool checkKey(u32 i_key)
Definition d_drawlist.h:195
void draw()
Definition d_drawlist.cpp:1114
dDlst_shadowReal_c * getZsortNext()
Definition d_drawlist.h:191
f32 mCameraZ
Definition d_drawlist.h:211
bool add(J3DModel *)
Definition d_drawlist.cpp:1338
dDlst_shadowReal_c * mZsortNext
Definition d_drawlist.h:213
~dDlst_shadowReal_c()
Definition d_drawlist.h:188
Definition d_drawlist.h:132
dDlst_shadowSimple_c()
Definition d_drawlist.cpp:1793
Mtx mVolumeMtx
Definition d_drawlist.h:140
u8 mAlpha
Definition d_drawlist.h:138
Mtx mMtx
Definition d_drawlist.h:141
_GXTexObj * mpTexObj
Definition d_drawlist.h:139
void set(cXyz *, f32, f32, cXyz *, s16, f32, _GXTexObj *)
Definition d_drawlist.cpp:1396
void draw()
Definition d_drawlist.cpp:1351
Definition d_drawlist.h:146
dDlst_shadowTri_c()
Definition d_drawlist.h:149
~dDlst_shadowTri_c()
Definition d_drawlist.h:148
cXyz mPos[3]
Definition d_drawlist.h:151
Definition d_drawlist.h:43
virtual void draw()
Definition d_ovlp_fade3.cpp:16
Definition d_drawlist.h:245
void setViewPort(f32, f32, f32, f32, f32, f32)
Definition d_drawlist.cpp:185
void setScissor(f32, f32, f32, f32)
Definition d_drawlist.cpp:196
void setCameraID(int id)
Definition d_drawlist.h:252
view_port_class mViewport
Definition d_drawlist.h:259
s8 mCameraID
Definition d_drawlist.h:260
~dDlst_window_c()
Definition d_drawlist.h:248
scissor_class * getScissor()
Definition d_drawlist.h:256
view_port_class * getViewPort()
Definition d_drawlist.h:255
void setMode(int mode)
Definition d_drawlist.h:254
dDlst_window_c()
Definition d_drawlist.h:247
s8 getCameraID()
Definition d_drawlist.h:253
s8 mMode
Definition d_drawlist.h:261
Definition m_Do_ext.h:509
void setMatDark(mDoExt_3DlineMat_c *i_mat)
Definition m_Do_ext.h:514
void setMat(mDoExt_3DlineMat_c *)
Definition m_Do_ext.cpp:2392
Definition m_Do_ext.h:500
u8 j3dSys[284]
Definition J3DSys.cpp:39
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
STATIC_ASSERT(sizeof(dDlst_window_c)==0x2C)
static initFunc init[]
Definition d_menu_collect.cpp:42
f32 Mtx44[4][4]
Definition mtx44.h:6
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Image data header.
Definition d_menu_dmap_map.cpp:109
Definition d_a_ep.cpp:68
Definition d_a_ep.cpp:147
Definition c_bg_s_chk.h:7
Definition d_a_npc_fguard.cpp:122
Definition d_a_hozelda.cpp:20
Definition d_drawlist.h:118
u32 * dst
Definition d_drawlist.h:121
s16 y
Definition d_drawlist.h:120
s16 x
Definition d_drawlist.h:119
Definition d_a_ep.cpp:95
u8 mSimpleNum
Definition d_drawlist.h:235
void imageDraw(f32(*)[4])
Definition d_drawlist.cpp:1479
dDlst_shadowReal_c mReal[8]
Definition d_drawlist.h:240
bool addReal(u32, J3DModel *)
int mNextID
Definition d_drawlist.h:239
void * field_0x15ef0[2]
Definition d_drawlist.h:242
dDlst_shadowSimple_c mSimple[128]
Definition d_drawlist.h:238
void reset()
Definition d_drawlist.cpp:1465
int setReal(u32, s8, J3DModel *, cXyz *, f32, f32, dKy_tevstr_c *)
Definition d_drawlist.cpp:1622
dDlst_shadowReal_c * field_0x4
Definition d_drawlist.h:236
u8 mRealNum
Definition d_drawlist.h:234
u8 field_0x0
Definition d_drawlist.h:233
int setSimple(cXyz *, f32, f32, cXyz *, s16, f32, _GXTexObj *)
Definition d_drawlist.cpp:1732
static void setSimpleTex(ResTIMG const *)
Definition d_drawlist.cpp:1748
_GXTexObj field_0x15eb0[2]
Definition d_drawlist.h:241
void draw(f32(*)[4])
Definition d_drawlist.cpp:1550
dDlst_shadowReal_c * field_0x8
Definition d_drawlist.h:237
static GXTexObj mSimpleTexObj
Definition d_drawlist.h:230
static GXTexObj * getSimpleTex()
Definition d_drawlist.h:228
void init()
Definition d_drawlist.cpp:1449
static u8 mSimpleTexObj[32]
Definition d_a_ep.cpp:96
dDlst_shadowControl_c()
Definition d_drawlist.h:218
Definition d_a_ep.cpp:49
Definition f_op_view.h:25
Definition f_op_view.h:42
Definition f_op_view.h:32
scissor_class scissor
Definition f_op_view.h:39
signed char s8
Definition types.h:4
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