Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/levels/castle_grounds/areas/1/11/model.inc.c
7862 views
1
// TODO: what is this? 0700C4C0-0700C4C8 [8,8]
2
UNUSED static const u64 castle_grounds_unused_0 = 0;
3
4
// 0x0700C4C8 - 0x0700C4E0
5
static const Lights1 castle_grounds_seg7_lights_0700C4C8 = gdSPDefLights1(
6
0x66, 0x00, 0x00,
7
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
8
);
9
10
// 0x0700C4E0 - 0x0700C4F8
11
static const Lights1 castle_grounds_seg7_lights_0700C4E0 = gdSPDefLights1(
12
0x66, 0x66, 0x66,
13
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
14
);
15
16
// TODO: what is this? 0700C4F8-0700C500 [8,8]
17
UNUSED static const u64 castle_grounds_unused_1 = 0;
18
19
// 0x0700C500 - 0x0700C530
20
static const Vtx castle_grounds_seg7_vertex_0700C500[] = {
21
{{{ 0, 0, 75}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
22
{{{ 287, 0, 0}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
23
{{{ 0, 0, -74}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
24
};
25
26
// 0x0700C530 - 0x0700C570
27
static const Vtx castle_grounds_seg7_vertex_0700C530[] = {
28
{{{ 0, 0, 150}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
29
{{{ 287, 0, 75}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
30
{{{ 287, 0, -74}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
31
{{{ 0, 0, -149}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
32
};
33
34
// 0x0700C570 - 0x0700C5B0
35
static const Vtx castle_grounds_seg7_vertex_0700C570[] = {
36
{{{ 0, 0, 240}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
37
{{{ 345, 0, 150}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
38
{{{ 345, 0, -149}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
39
{{{ 0, 0, -239}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
40
};
41
42
// 0x0700C5B0 - 0x0700C5F0
43
static const Vtx castle_grounds_seg7_vertex_0700C5B0[] = {
44
{{{ 0, 0, 360}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
45
{{{ 460, 0, 240}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
46
{{{ 460, 0, -239}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
47
{{{ 0, 0, -359}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
48
};
49
50
// 0x0700C5F0 - 0x0700C640
51
static const Vtx castle_grounds_seg7_vertex_0700C5F0[] = {
52
{{{ 460, 0, -359}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
53
{{{ 0, 0, -479}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
54
{{{ 0, 0, 0}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
55
{{{ 0, 0, 480}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
56
{{{ 460, 0, 360}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
57
};
58
59
// 0x0700C640 - 0x0700C670
60
static const Vtx castle_grounds_seg7_vertex_0700C640[] = {
61
{{{ 460, 0, 360}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
62
{{{ 460, 0, -359}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
63
{{{ 0, 0, 0}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x00}}},
64
};
65
66
// 0x0700C670 - 0x0700C6A8
67
const Gfx castle_grounds_seg7_dl_0700C670[] = {
68
gsSPClearGeometryMode(G_CULL_BACK),
69
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.l, 1),
70
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.a, 2),
71
gsSPVertex(castle_grounds_seg7_vertex_0700C500, 3, 0),
72
gsSP1Triangle( 0, 1, 2, 0x0),
73
gsSPSetGeometryMode(G_CULL_BACK),
74
gsSPEndDisplayList(),
75
};
76
77
// 0x0700C6A8 - 0x0700C6E8
78
const Gfx castle_grounds_seg7_dl_0700C6A8[] = {
79
gsSPClearGeometryMode(G_CULL_BACK),
80
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.l, 1),
81
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.a, 2),
82
gsSPVertex(castle_grounds_seg7_vertex_0700C530, 4, 0),
83
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
84
gsSPSetGeometryMode(G_CULL_BACK),
85
gsSPEndDisplayList(),
86
};
87
88
// 0x0700C6E8 - 0x0700C728
89
const Gfx castle_grounds_seg7_dl_0700C6E8[] = {
90
gsSPClearGeometryMode(G_CULL_BACK),
91
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.l, 1),
92
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.a, 2),
93
gsSPVertex(castle_grounds_seg7_vertex_0700C570, 4, 0),
94
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
95
gsSPSetGeometryMode(G_CULL_BACK),
96
gsSPEndDisplayList(),
97
};
98
99
// 0x0700C728 - 0x0700C768
100
const Gfx castle_grounds_seg7_dl_0700C728[] = {
101
gsSPClearGeometryMode(G_CULL_BACK),
102
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.l, 1),
103
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.a, 2),
104
gsSPVertex(castle_grounds_seg7_vertex_0700C5B0, 4, 0),
105
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
106
gsSPSetGeometryMode(G_CULL_BACK),
107
gsSPEndDisplayList(),
108
};
109
110
// 0x0700C768 - 0x0700C7C8
111
const Gfx castle_grounds_seg7_dl_0700C768[] = {
112
gsSPClearGeometryMode(G_CULL_BACK),
113
gsSPLight(&castle_grounds_seg7_lights_0700C4E0.l, 1),
114
gsSPLight(&castle_grounds_seg7_lights_0700C4E0.a, 2),
115
gsSPVertex(castle_grounds_seg7_vertex_0700C5F0, 5, 0),
116
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
117
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.l, 1),
118
gsSPLight(&castle_grounds_seg7_lights_0700C4C8.a, 2),
119
gsSPVertex(castle_grounds_seg7_vertex_0700C640, 3, 0),
120
gsSP1Triangle( 0, 1, 2, 0x0),
121
gsSPSetGeometryMode(G_CULL_BACK),
122
gsSPEndDisplayList(),
123
};
124
125