Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
filemenu_gfx.c File Reference

Go to the source code of this file.

Functions

 INCLUDE_IMG ("filemenu/copyarrow.png", D_8024A200)
 
 INCLUDE_IMG ("filemenu/corners_yellow.png", D_8024A400)
 
 INCLUDE_IMG ("filemenu/corners_gray.png", D_8024B400)
 

Variables

Gfx filemenu_dl_copyarrow []
 
Vtx D_8024B6B0 []
 
Vtx D_8024B6D0 []
 
Gfx D_8024B6F0 []
 
Gfx D_8024B708 []
 

Function Documentation

◆ INCLUDE_IMG() [1/3]

INCLUDE_IMG ( "filemenu/copyarrow.png" ,
D_8024A200  )

◆ INCLUDE_IMG() [2/3]

INCLUDE_IMG ( "filemenu/corners_yellow.png" ,
D_8024A400  )

◆ INCLUDE_IMG() [3/3]

INCLUDE_IMG ( "filemenu/corners_gray.png" ,
D_8024B400  )

Variable Documentation

◆ filemenu_dl_copyarrow

Gfx filemenu_dl_copyarrow[]
Initial value:
= {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCycleType(G_CYC_2CYCLE),
gsDPSetTexturePersp(G_TP_NONE),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetRenderMode(G_RM_PASS, G_RM_CLD_SURF2),
gsDPSetCombineMode(G_CC_DECALRGBA, PM_CC_33),
gsDPSetTextureLUT(G_TT_NONE),
gsDPLoadTextureTile_4b(D_8024A200, G_IM_FMT_IA, 64, 16, 0, 0, 63, 15, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_MIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD | G_SHADING_SMOOTH | G_CLIPPING | 0x0040F9FA),
gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH),
gsSPEndDisplayList(),
}
#define PM_CC_33
Definition macros.h:387

Definition at line 8 of file filemenu_gfx.c.

8 {
9 gsDPPipeSync(),
10 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
11 gsDPSetCycleType(G_CYC_2CYCLE),
12 gsDPSetTexturePersp(G_TP_NONE),
13 gsDPSetTextureDetail(G_TD_CLAMP),
14 gsDPSetTextureLOD(G_TL_TILE),
15 gsDPSetTextureLUT(G_TT_NONE),
16 gsDPSetTextureFilter(G_TF_BILERP),
17 gsDPSetTextureConvert(G_TC_FILT),
18 gsDPSetRenderMode(G_RM_PASS, G_RM_CLD_SURF2),
19 gsDPSetCombineMode(G_CC_DECALRGBA, PM_CC_33),
20 gsDPSetTextureLUT(G_TT_NONE),
21 gsDPLoadTextureTile_4b(D_8024A200, G_IM_FMT_IA, 64, 16, 0, 0, 63, 15, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_MIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
22 gsSPClearGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD | G_SHADING_SMOOTH | G_CLIPPING | 0x0040F9FA),
23 gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH),
24 gsSPEndDisplayList(),
25};

Referenced by filemenu_draw_contents_copy_arrow().

◆ D_8024B6B0

Vtx D_8024B6B0[]
Initial value:
= {
{{{ -8, -16, 0 }, 0, { 0, 0 }, { 0, 0, 0, 0 }}},
{{{ -8, 16, 0 }, 0, { 0, 2048 }, { 0, 0, 0, 0 }}},
}

Definition at line 27 of file filemenu_gfx.c.

27 {
28 {{{ -8, -16, 0 }, 0, { 0, 0 }, { 0, 0, 0, 0 }}},
29 {{{ -8, 16, 0 }, 0, { 0, 2048 }, { 0, 0, 0, 0 }}},
30};

◆ D_8024B6D0

Vtx D_8024B6D0[]
Initial value:
= {
{{{ 56, 16, 0 }, 0, { 4096, 2048 }, { 0, 0, 0, 255 }}},
{{{ 56, -16, 0 }, 0, { 4096, 0 }, { 0, 0, 0, 255 }}},
}

Definition at line 32 of file filemenu_gfx.c.

32 {
33 {{{ 56, 16, 0 }, 0, { 4096, 2048 }, { 0, 0, 0, 255 }}},
34 {{{ 56, -16, 0 }, 0, { 4096, 0 }, { 0, 0, 0, 255 }}},
35};

◆ D_8024B6F0

Gfx D_8024B6F0[]
Initial value:
= {
gsSPVertex(D_8024B6B0, 2, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
}
Vtx D_8024B6B0[]

Definition at line 37 of file filemenu_gfx.c.

37 {
38 gsSPVertex(D_8024B6B0, 2, 0),
39 gsDPPipeSync(),
40 gsSPEndDisplayList(),
41};

Referenced by filemenu_draw_contents_copy_arrow().

◆ D_8024B708

Gfx D_8024B708[]
Initial value:
= {
gsSPVertex(D_8024B6D0, 2, 2),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
}
Vtx D_8024B6D0[]

Definition at line 43 of file filemenu_gfx.c.

43 {
44 gsSPVertex(D_8024B6D0, 2, 2),
45 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
46 gsDPPipeSync(),
47 gsSPEndDisplayList(),
48};

Referenced by filemenu_draw_contents_copy_arrow().