Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
filemenu_gfx.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4INCLUDE_IMG("filemenu/copyarrow.png", D_8024A200);
5INCLUDE_IMG("filemenu/corners_yellow.png", D_8024A400);
6INCLUDE_IMG("filemenu/corners_gray.png", D_8024B400);
7
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};
26
27Vtx D_8024B6B0[] = {
28 {{{ -8, -16, 0 }, 0, { 0, 0 }, { 0, 0, 0, 0 }}},
29 {{{ -8, 16, 0 }, 0, { 0, 2048 }, { 0, 0, 0, 0 }}},
30};
31
32Vtx D_8024B6D0[] = {
33 {{{ 56, 16, 0 }, 0, { 4096, 2048 }, { 0, 0, 0, 255 }}},
34 {{{ 56, -16, 0 }, 0, { 4096, 0 }, { 0, 0, 0, 255 }}},
35};
36
37Gfx D_8024B6F0[] = {
38 gsSPVertex(D_8024B6B0, 2, 0),
39 gsDPPipeSync(),
40 gsSPEndDisplayList(),
41};
42
43Gfx D_8024B708[] = {
44 gsSPVertex(D_8024B6D0, 2, 2),
45 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
46 gsDPPipeSync(),
47 gsSPEndDisplayList(),
48};
Vtx D_8024B6B0[]
Gfx D_8024B708[]
Gfx D_8024B6F0[]
Gfx filemenu_dl_copyarrow[]
Definition filemenu_gfx.c:8
Vtx D_8024B6D0[]
u8 D_8024A400[]
u8 D_8024B400[]
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
#define PM_CC_33
Definition macros.h:387