Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_drawlist.cpp File Reference

Classes

class  dDlst_blo_c
 
class  dDlst_2Dm_c
 
class  dDlst_2DTri_c
 
class  dDlst_2DT_c
 
class  dDlst_2DQuad_c
 
class  dDlst_2DPoint_c
 
class  dDlst_2DMt_tex_c
 
class  dDlst_2DMt_c
 
class  dDlst_2DM_c
 
class  ShdwDrawPoly_c
 

Functions

static u8 l_frontZMat[] ALIGN_DECL (32)
 
static J3DDrawBufferJ3DDrawBuffer__create (u32 size)
 
static int psdRealCallBack (cBgS_ShdwDraw *param_0, cBgD_Vtx_t *param_1, int param_2, int param_3, int param_4, cM3dGPla *param_5)
 
static BOOL realPolygonCheck (cXyz *param_0, f32 param_1, f32 param_2, cXyz *param_3, dDlst_shadowPoly_c *param_4)
 
static void setkankyoShadow (dKy_tevstr_c *param_0, f32 *param_1)
 

Variables

static u8 cNullVec__6Z2Calc [12]
 
static Vec l_shadowVolPos []
 
static Vec l_simpleShadowPos []
 
static SECTION_DATA Mtx mtx_adj
 
static u16 const l_drawlistSize [21]
 
static u8 const l_nonSortId [9]
 
static const u8 l_zSortId [6]
 

Function Documentation

◆ ALIGN_DECL()

static u8 l_frontZMat[] ALIGN_DECL ( 32  )
static

◆ J3DDrawBuffer__create()

static J3DDrawBuffer * J3DDrawBuffer__create ( u32  size)
static

◆ psdRealCallBack()

static int psdRealCallBack ( cBgS_ShdwDraw param_0,
cBgD_Vtx_t param_1,
int  param_2,
int  param_3,
int  param_4,
cM3dGPla param_5 
)
static

◆ realPolygonCheck()

static BOOL realPolygonCheck ( cXyz param_0,
f32  param_1,
f32  param_2,
cXyz param_3,
dDlst_shadowPoly_c param_4 
)
static

◆ setkankyoShadow()

static void setkankyoShadow ( dKy_tevstr_c param_0,
f32 param_1 
)
static

Variable Documentation

◆ cNullVec__6Z2Calc

u8 cNullVec__6Z2Calc[12]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ l_drawlistSize

u16 const l_drawlistSize[21]
static
Initial value:
= {
0x0001, 0x0001, 0x0001, 0x0080, 0x0001, 0x0001, 0x0001, 0x0080, 0x0100, 0x0001, 0x0100,
0x0001, 0x0020, 0x0010, 0x0010, 0x0020, 0x0020, 0x0100, 0x0001, 0x0004, 0x0004,
}

◆ l_nonSortId

u8 const l_nonSortId[9]
static
Initial value:
= {
0x00, 0x01, 0x02, 0x04, 0x05, 0x06, 0x09, 0x12, 0x0D,
}

◆ l_shadowVolPos

Vec l_shadowVolPos[]
static
Initial value:
= {
{-1.0f, -1.0f, 0.0f}, {-1.0f, -1.0f, -300.0f}, {-1.0f, 1.0f, 0.0f}, {-1.0f, 1.0f, -300.0f},
{1.0f, -1.0f, 0.0f}, {1.0f, -1.0f, -300.0f}, {1.0f, 1.0f, 0.0f}, {1.0f, 1.0f, -300.0f},
}

◆ l_simpleShadowPos

Vec l_simpleShadowPos[]
static
Initial value:
= {
{0.0f, -1.0f, 0.0f}, {0.0f, 0.0f, 0.0f}, {1.0f, -1.0f, -1.0f}, {1.0f, 0.0f, -1.0f},
{-1.0f, -1.0f, -1.0f}, {-1.0f, 0.0f, -1.0f}, {-1.0f, -1.0f, 1.0f}, {-1.0f, 0.0f, 1.0f},
{1.0f, -1.0f, 1.0f}, {1.0f, 0.0f, 1.0f}, {-1.0f, 1.0f, -1.0f}, {1.0f, 1.0f, -1.0f},
{1.0f, 1.0f, 1.0f}, {-1.0f, 1.0f, 1.0f},
}

◆ l_zSortId

const u8 l_zSortId[6]
static
Initial value:
= {
0x08, 0x0A, 0x0C, 0x0E, 0x10, 0x11,
}

◆ mtx_adj

SECTION_DATA Mtx mtx_adj
static
Initial value:
= {
{0.5f, 0.0f, 0.0f, 0.5f},
{0.0f, -0.5f, 0.0f, 0.5f},
{0.0f, 0.0f, 1.0f, 0.0f},
}