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
4
INCLUDE_IMG
(
"filemenu/copyarrow.png"
,
D_8024A200
);
5
INCLUDE_IMG
(
"filemenu/corners_yellow.png"
,
D_8024A400
);
6
INCLUDE_IMG
(
"filemenu/corners_gray.png"
,
D_8024B400
);
7
8
Gfx
filemenu_dl_copyarrow
[] = {
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
27
Vtx
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
32
Vtx
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
37
Gfx
D_8024B6F0
[] = {
38
gsSPVertex
(
D_8024B6B0
, 2, 0),
39
gsDPPipeSync
(),
40
gsSPEndDisplayList
(),
41
};
42
43
Gfx
D_8024B708
[] = {
44
gsSPVertex
(
D_8024B6D0
, 2, 2),
45
gsSP2Triangles
(0, 1, 2, 0, 0, 2, 3, 0),
46
gsDPPipeSync
(),
47
gsSPEndDisplayList
(),
48
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
D_8024B6B0
Vtx D_8024B6B0[]
Definition
filemenu_gfx.c:27
D_8024B708
Gfx D_8024B708[]
Definition
filemenu_gfx.c:43
D_8024B6F0
Gfx D_8024B6F0[]
Definition
filemenu_gfx.c:37
filemenu_dl_copyarrow
Gfx filemenu_dl_copyarrow[]
Definition
filemenu_gfx.c:8
D_8024B6D0
Vtx D_8024B6D0[]
Definition
filemenu_gfx.c:32
D_8024A400
u8 D_8024A400[]
D_8024B400
u8 D_8024B400[]
include_asset.h
INCLUDE_IMG
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
Definition
include_asset.h:27
PM_CC_33
#define PM_CC_33
Definition
macros.h:391
src
filemenu
filemenu_gfx.c
Generated by
1.10.0