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