Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
HiddenPanel.c
Go to the documentation of this file.
1#include "common.h"
2
4 {{{ -30, 1, -30 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
5 {{{ -30, 1, 30 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
6 {{{ 30, 1, 30 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
7 {{{ 30, 1, -30 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
8};
10 {{{ -30, -1, -30 }, 0, { 0, 1024 }, { 128, 128, 128, 255 }}},
11 {{{ -30, -1, 30 }, 0, { 1024, 1024 }, { 128, 128, 128, 255 }}},
12 {{{ 30, -1, 30 }, 0, { 1024, 0 }, { 128, 128, 128, 255 }}},
13 {{{ 30, -1, -30 }, 0, { 0, 0 }, { 128, 128, 128, 255 }}},
14};
16 {{{ -30, 0, -30 }, 0, { 0, 1024 }, { 10, 10, 10, 128 }}},
17 {{{ -30, 0, 30 }, 0, { 1024, 1024 }, { 10, 10, 10, 128 }}},
18 {{{ 30, 0, 30 }, 0, { 1024, 0 }, { 10, 10, 10, 128 }}},
19 {{{ 30, 0, -30 }, 0, { 0, 0 }, { 10, 10, 10, 128 }}},
20};
22 {{{ -30, 1, -30 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
23 {{{ -30, 1, 30 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
24 {{{ 30, 1, 30 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
25 {{{ 30, 1, -30 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
26};
28 {{{ -30, -1, -30 }, 0, { 0, 1024 }, { 128, 128, 128, 255 }}},
29 {{{ -30, -1, 30 }, 0, { 1024, 1024 }, { 128, 128, 128, 255 }}},
30 {{{ 30, -1, 30 }, 0, { 1024, 0 }, { 128, 128, 128, 255 }}},
31 {{{ 30, -1, -30 }, 0, { 0, 0 }, { 128, 128, 128, 255 }}}
32};
34 {{{ -30, 0, -30 }, 0, { 0, 1024 }, { 10, 10, 10, 128 }}},
35 {{{ -30, 0, 30 }, 0, { 1024, 1024 }, { 10, 10, 10, 128 }}},
36 {{{ 30, 0, 30 }, 0, { 1024, 0 }, { 10, 10, 10, 128 }}},
37 {{{ 30, 0, -30 }, 0, { 0, 0 }, { 10, 10, 10, 128 }}},
38};
39
41 gsDPPipeSync(),
42 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
43 gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
44 gsSPVertex(Entity_HiddenPanel_vtxTopSide, 4, 0),
45 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
46 gsSPEndDisplayList(),
47};
48
50 gsDPPipeSync(),
51 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
52 gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
53 gsSPVertex(Entity_HiddenPanel_vtxTopSide2, 4, 0),
54 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
55 gsSPEndDisplayList(),
56};
57
59 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
60 gsDPPipeSync(),
61 gsDPSetCycleType(G_CYC_1CYCLE),
62 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
63 gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
64 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
65 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
66 gsSPVertex(Entity_HiddenPanel_vtxBottomSide, 4, 0),
67 gsSP2Triangles(0, 2, 1, 0, 0, 3, 2, 0),
68 gsSPEndDisplayList(),
69};
70
72 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
73 gsDPPipeSync(),
74 gsDPSetCycleType(G_CYC_1CYCLE),
75 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
76 gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
77 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
78 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
80 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
81 gsSPEndDisplayList(),
82};
83
85 gsDPPipeSync(),
86 gsSPDisplayList(Gfx_HiddenPanel_RenderTop),
87 gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
88 gsSPEndDisplayList(),
89};
90
92 gsDPPipeSync(),
93 gsSPDisplayList(Gfx_AltHiddenPanel_RenderTop),
94 gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
95 gsSPEndDisplayList(),
96};
Gfx Gfx_HiddenPanel_RenderHole[]
Definition HiddenPanel.c:71
Gfx Gfx_HiddenPanel_RenderTop[]
Definition HiddenPanel.c:40
Gfx Gfx_HiddenPanel_Render[]
Definition HiddenPanel.c:84
Gfx Gfx_HiddenPanel_Render2[]
Definition HiddenPanel.c:91
Gfx Gfx_AltHiddenPanel_RenderTop[]
Definition HiddenPanel.c:49
Gfx Gfx_HiddenPanel_RenderBottom[]
Definition HiddenPanel.c:58
Vtx D_0A000016_E56BA0[]
Definition HiddenPanel.c:27
Vtx D_0A000020_E56BA0[]
Definition HiddenPanel.c:33
Vtx Entity_HiddenPanel_vtxTopSide[]
Definition HiddenPanel.c:3
Vtx Entity_HiddenPanel_vtxBottomSideDark[]
Definition HiddenPanel.c:15
Vtx Entity_HiddenPanel_vtxBottomSide[]
Definition HiddenPanel.c:9
Vtx Entity_HiddenPanel_vtxTopSide2[]
Definition HiddenPanel.c:21