Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/levels/cotmc/areas/1/3/model.inc.c
7862 views
1
// 0x0700A1E0 - 0x0700A2E0
2
static const Vtx cotmc_seg7_vertex_0700A1E0[] = {
3
{{{ -262, 0, -3526}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
4
{{{ -286, 0, -3582}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
5
{{{ -292, 0, -3520}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
6
{{{ -227, 0, -3275}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
7
{{{ -84, 0, -3544}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
8
{{{ -257, 0, -3270}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
9
{{{ -563, 0, -3860}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
10
{{{ -563, 0, -1632}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
11
{{{ -157, 0, -1841}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
12
{{{ -35, 0, -2711}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
13
{{{ -64, 0, -3354}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
14
{{{ 36, 0, -3565}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
15
{{{ 255, 0, -4466}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
16
{{{ 564, 0, -3278}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
17
{{{ 564, 0, -3999}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
18
{{{ 50, 0, -3387}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
19
};
20
21
// 0x0700A2E0 - 0x0700A3D0
22
static const Vtx cotmc_seg7_vertex_0700A2E0[] = {
23
{{{ 50, 0, -3387}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
24
{{{ 156, 0, -3599}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
25
{{{ 36, 0, -3565}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
26
{{{ 166, 0, -3407}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
27
{{{ 330, 0, -3661}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
28
{{{ 341, 0, -3413}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
29
{{{ 255, 0, -4466}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
30
{{{ 403, 0, -3337}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
31
{{{ 564, 0, -3278}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
32
{{{ 388, 0, -4829}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
33
{{{ 564, 0, -4781}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
34
{{{ 564, 0, -3999}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
35
{{{ 537, 0, -4960}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
36
{{{ 661, 0, -4877}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
37
{{{ 628, 0, -4947}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
38
};
39
40
// 0x0700A3D0 - 0x0700A4B8
41
static const Gfx cotmc_seg7_dl_0700A3D0[] = {
42
gsSPVertex(cotmc_seg7_vertex_0700A1E0, 16, 0),
43
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
44
gsSP2Triangles( 5, 3, 0, 0x0, 5, 0, 2, 0x0),
45
gsSP2Triangles( 2, 1, 6, 0x0, 7, 5, 2, 0x0),
46
gsSP2Triangles( 2, 6, 7, 0x0, 7, 8, 5, 0x0),
47
gsSP2Triangles( 8, 9, 5, 0x0, 9, 3, 5, 0x0),
48
gsSP2Triangles( 3, 10, 4, 0x0, 10, 11, 4, 0x0),
49
gsSP2Triangles(12, 13, 14, 0x0, 10, 15, 11, 0x0),
50
gsSPVertex(cotmc_seg7_vertex_0700A2E0, 15, 0),
51
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
52
gsSP2Triangles( 3, 4, 1, 0x0, 3, 5, 4, 0x0),
53
gsSP2Triangles( 6, 4, 7, 0x0, 4, 5, 7, 0x0),
54
gsSP2Triangles( 6, 7, 8, 0x0, 9, 6, 10, 0x0),
55
gsSP2Triangles( 6, 11, 10, 0x0, 9, 10, 12, 0x0),
56
gsSP2Triangles(10, 13, 14, 0x0, 10, 14, 12, 0x0),
57
gsSPEndDisplayList(),
58
};
59
60
// 0x0700A4B8 - 0x0700A508
61
const Gfx cotmc_seg7_dl_0700A4B8[] = {
62
gsDPPipeSync(),
63
gsDPSetEnvColor(255, 255, 255, 180),
64
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
65
gsSPClearGeometryMode(G_LIGHTING),
66
gsSPDisplayList(cotmc_seg7_dl_0700A3D0),
67
gsDPPipeSync(),
68
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
69
gsSPSetGeometryMode(G_LIGHTING),
70
gsDPSetEnvColor(255, 255, 255, 255),
71
gsSPEndDisplayList(),
72
};
73
74