Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/levels/ddd/sub_door/1.inc.c
7861 views
1
// 0x07008FD0 - 0x07009010
2
static const Vtx ddd_seg7_vertex_07008FD0[] = {
3
{{{ 4941, -1015, -4095}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
4
{{{ 2893, -1015, -4095}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
5
{{{ 2893, -3063, -5631}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
6
{{{ 4941, -3063, -5631}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
7
};
8
9
// 0x07009010 - 0x07009030
10
static const Gfx ddd_seg7_dl_07009010[] = {
11
gsSPVertex(ddd_seg7_vertex_07008FD0, 4, 0),
12
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
13
gsSPEndDisplayList(),
14
};
15
16
// 0x07009030 - 0x07009080
17
const Gfx ddd_seg7_dl_07009030[] = {
18
gsDPPipeSync(),
19
gsDPSetEnvColor(255, 255, 255, 80),
20
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
21
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
22
gsSPDisplayList(ddd_seg7_dl_07009010),
23
gsDPPipeSync(),
24
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
25
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
26
gsDPSetEnvColor(255, 255, 255, 255),
27
gsSPEndDisplayList(),
28
};
29
30