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

Go to the source code of this file.

Variables

Vtx Entity_HiddenPanel_vtxTopSide []
 
Vtx Entity_HiddenPanel_vtxBottomSide []
 
Vtx Entity_HiddenPanel_vtxBottomSideDark []
 
Vtx Entity_HiddenPanel_vtxTopSide2 []
 
Vtx D_0A000016_E56BA0 []
 
Vtx D_0A000020_E56BA0 []
 
Gfx Gfx_HiddenPanel_RenderTop []
 
Gfx Gfx_AltHiddenPanel_RenderTop []
 
Gfx Gfx_HiddenPanel_RenderBottom []
 
Gfx Gfx_HiddenPanel_RenderHole []
 
Gfx Gfx_HiddenPanel_Render []
 
Gfx Gfx_HiddenPanel_Render2 []
 

Variable Documentation

◆ Entity_HiddenPanel_vtxTopSide

Vtx Entity_HiddenPanel_vtxTopSide[]
Initial value:
= {
{{{ -30, 1, -30 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
{{{ -30, 1, 30 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
{{{ 30, 1, 30 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
{{{ 30, 1, -30 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
}

Definition at line 3 of file HiddenPanel.c.

3 {
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};

◆ Entity_HiddenPanel_vtxBottomSide

Vtx Entity_HiddenPanel_vtxBottomSide[]
Initial value:
= {
{{{ -30, -1, -30 }, 0, { 0, 1024 }, { 128, 128, 128, 255 }}},
{{{ -30, -1, 30 }, 0, { 1024, 1024 }, { 128, 128, 128, 255 }}},
{{{ 30, -1, 30 }, 0, { 1024, 0 }, { 128, 128, 128, 255 }}},
{{{ 30, -1, -30 }, 0, { 0, 0 }, { 128, 128, 128, 255 }}},
}

Definition at line 9 of file HiddenPanel.c.

9 {
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};

◆ Entity_HiddenPanel_vtxBottomSideDark

Vtx Entity_HiddenPanel_vtxBottomSideDark[]
Initial value:
= {
{{{ -30, 0, -30 }, 0, { 0, 1024 }, { 10, 10, 10, 128 }}},
{{{ -30, 0, 30 }, 0, { 1024, 1024 }, { 10, 10, 10, 128 }}},
{{{ 30, 0, 30 }, 0, { 1024, 0 }, { 10, 10, 10, 128 }}},
{{{ 30, 0, -30 }, 0, { 0, 0 }, { 10, 10, 10, 128 }}},
}

Definition at line 15 of file HiddenPanel.c.

15 {
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};

◆ Entity_HiddenPanel_vtxTopSide2

Vtx Entity_HiddenPanel_vtxTopSide2[]
Initial value:
= {
{{{ -30, 1, -30 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
{{{ -30, 1, 30 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
{{{ 30, 1, 30 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
{{{ 30, 1, -30 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
}

Definition at line 21 of file HiddenPanel.c.

21 {
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};

◆ D_0A000016_E56BA0

Vtx D_0A000016_E56BA0[]
Initial value:
= {
{{{ -30, -1, -30 }, 0, { 0, 1024 }, { 128, 128, 128, 255 }}},
{{{ -30, -1, 30 }, 0, { 1024, 1024 }, { 128, 128, 128, 255 }}},
{{{ 30, -1, 30 }, 0, { 1024, 0 }, { 128, 128, 128, 255 }}},
{{{ 30, -1, -30 }, 0, { 0, 0 }, { 128, 128, 128, 255 }}}
}

Definition at line 27 of file HiddenPanel.c.

27 {
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};

◆ D_0A000020_E56BA0

Vtx D_0A000020_E56BA0[]
Initial value:
= {
{{{ -30, 0, -30 }, 0, { 0, 1024 }, { 10, 10, 10, 128 }}},
{{{ -30, 0, 30 }, 0, { 1024, 1024 }, { 10, 10, 10, 128 }}},
{{{ 30, 0, 30 }, 0, { 1024, 0 }, { 10, 10, 10, 128 }}},
{{{ 30, 0, -30 }, 0, { 0, 0 }, { 10, 10, 10, 128 }}},
}

Definition at line 33 of file HiddenPanel.c.

33 {
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};

◆ Gfx_HiddenPanel_RenderTop

Gfx Gfx_HiddenPanel_RenderTop[]
Initial value:
= {
gsDPPipeSync(),
gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
gsSPVertex(Entity_HiddenPanel_vtxTopSide, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx Entity_HiddenPanel_vtxTopSide[]
Definition HiddenPanel.c:3

Definition at line 40 of file HiddenPanel.c.

40 {
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};

Referenced by entity_HiddenPanel_init().

◆ Gfx_AltHiddenPanel_RenderTop

Gfx Gfx_AltHiddenPanel_RenderTop[]
Initial value:
= {
gsDPPipeSync(),
gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
gsSPVertex(Entity_HiddenPanel_vtxTopSide2, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx Entity_HiddenPanel_vtxTopSide2[]
Definition HiddenPanel.c:21

Definition at line 49 of file HiddenPanel.c.

49 {
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};

Referenced by entity_HiddenPanel_init().

◆ Gfx_HiddenPanel_RenderBottom

Gfx Gfx_HiddenPanel_RenderBottom[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSP2Triangles(0, 2, 1, 0, 0, 3, 2, 0),
gsSPEndDisplayList(),
}
Vtx Entity_HiddenPanel_vtxBottomSide[]
Definition HiddenPanel.c:9

Definition at line 58 of file HiddenPanel.c.

58 {
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};

◆ Gfx_HiddenPanel_RenderHole

Gfx Gfx_HiddenPanel_RenderHole[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
gsSPSetGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx Entity_HiddenPanel_vtxBottomSideDark[]
Definition HiddenPanel.c:15

Definition at line 71 of file HiddenPanel.c.

71 {
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};

Referenced by entity_HiddenPanel_setupGfx().

◆ Gfx_HiddenPanel_Render

Gfx Gfx_HiddenPanel_Render[]
Initial value:
= {
gsDPPipeSync(),
gsSPDisplayList(Gfx_HiddenPanel_RenderTop),
gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
gsSPEndDisplayList(),
}
Gfx Gfx_HiddenPanel_RenderTop[]
Definition HiddenPanel.c:40
Gfx Gfx_HiddenPanel_RenderBottom[]
Definition HiddenPanel.c:58

Definition at line 84 of file HiddenPanel.c.

84 {
85 gsDPPipeSync(),
86 gsSPDisplayList(Gfx_HiddenPanel_RenderTop),
87 gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
88 gsSPEndDisplayList(),
89};

◆ Gfx_HiddenPanel_Render2

Gfx Gfx_HiddenPanel_Render2[]
Initial value:
= {
gsDPPipeSync(),
gsSPDisplayList(Gfx_AltHiddenPanel_RenderTop),
gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
gsSPEndDisplayList(),
}
Gfx Gfx_AltHiddenPanel_RenderTop[]
Definition HiddenPanel.c:49

Definition at line 91 of file HiddenPanel.c.

91 {
92 gsDPPipeSync(),
93 gsSPDisplayList(Gfx_AltHiddenPanel_RenderTop),
94 gsSPDisplayList(Gfx_HiddenPanel_RenderBottom),
95 gsSPEndDisplayList(),
96};