Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/levels/castle_inside/areas/2/12/model.inc.c
7862 views
1
// 0x07051A38 - 0x07051A50
2
static const Lights1 inside_castle_seg7_lights_07051A38 = gdSPDefLights1(
3
0x47, 0x3f, 0x17,
4
0xbf, 0xaa, 0x3f, 0x28, 0x28, 0x28
5
);
6
7
// 0x07051A50 - 0x07051B10
8
static const Vtx inside_castle_seg7_vertex_07051A50[] = {
9
{{{ 0, 2611, 7130}, 0, { 0, 0}, {0x72, 0x00, 0xc9, 0x80}}},
10
{{{ 0, 2253, 7130}, 0, { 0, 0}, {0x72, 0x00, 0xc9, 0x80}}},
11
{{{ -50, 2253, 7027}, 0, { 0, 0}, {0x72, 0x00, 0xc9, 0x80}}},
12
{{{ -50, 2611, 7027}, 0, { 0, 0}, {0x72, 0x00, 0xc9, 0x80}}},
13
{{{ -50, 2611, 7027}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x80}}},
14
{{{ -50, 2253, 7027}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x80}}},
15
{{{ -357, 2253, 7027}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x80}}},
16
{{{ -357, 2611, 7027}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x80}}},
17
{{{ -357, 2611, 7027}, 0, { 0, 0}, {0x8f, 0x00, 0xc7, 0x80}}},
18
{{{ -357, 2253, 7027}, 0, { 0, 0}, {0x8f, 0x00, 0xc7, 0x80}}},
19
{{{ -409, 2253, 7130}, 0, { 0, 0}, {0x8f, 0x00, 0xc7, 0x80}}},
20
{{{ -409, 2611, 7130}, 0, { 0, 0}, {0x8f, 0x00, 0xc7, 0x80}}},
21
};
22
23
// 0x07051B10 - 0x07051B60
24
static const Gfx inside_castle_seg7_dl_07051B10[] = {
25
gsSPLight(&inside_castle_seg7_lights_07051A38.l, 1),
26
gsSPLight(&inside_castle_seg7_lights_07051A38.a, 2),
27
gsSPVertex(inside_castle_seg7_vertex_07051A50, 12, 0),
28
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
29
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
30
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
31
gsSPEndDisplayList(),
32
};
33
34
// 0x07051B60 - 0x07051B88
35
const Gfx inside_castle_seg7_dl_07051B60[] = {
36
gsDPPipeSync(),
37
gsSPClearGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
38
gsSPDisplayList(inside_castle_seg7_dl_07051B10),
39
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
40
gsSPEndDisplayList(),
41
};
42
43