Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/levels/bbh/areas/1/4/model.inc.c
7862 views
1
// 0x07007C08 - 0x07007CF8
2
static const Vtx bbh_seg7_vertex_07007C08[] = {
3
{{{ -706, 819, 1229}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
4
{{{ -706, 1485, 1587}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
5
{{{ -706, 819, 1587}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
6
{{{ 10, 614, 1638}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
7
{{{ 10, 0, 1280}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
8
{{{ 10, 614, 1280}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
9
{{{ 10, 0, 1638}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
10
{{{ 10, 614, 819}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
11
{{{ 10, 0, 461}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
12
{{{ 10, 614, 461}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
13
{{{ 10, 0, 819}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
14
{{{ -706, 819, 461}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
15
{{{ -706, 1485, 461}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
16
{{{ -706, 1485, 819}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
17
{{{ -706, 819, 819}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
18
};
19
20
// 0x07007CF8 - 0x07007DE8
21
static const Vtx bbh_seg7_vertex_07007CF8[] = {
22
{{{ 2038, 819, 666}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
23
{{{ 2038, 1485, 666}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
24
{{{ 2038, 1485, 307}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
25
{{{ -706, 819, 1229}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
26
{{{ -706, 1485, 1229}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
27
{{{ -706, 1485, 1587}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
28
{{{ 2038, 0, 1638}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
29
{{{ 2038, 666, 1280}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
30
{{{ 2038, 0, 1280}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
31
{{{ 2038, 666, 1638}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
32
{{{ 2038, 819, 1997}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
33
{{{ 2038, 1485, 1638}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
34
{{{ 2038, 819, 1638}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
35
{{{ 2038, 1485, 1997}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
36
{{{ 2038, 819, 307}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
37
};
38
39
// 0x07007DE8 - 0x07007EE8
40
static const Vtx bbh_seg7_vertex_07007DE8[] = {
41
{{{ 1792, 1485, 10}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
42
{{{ 1434, 819, 10}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
43
{{{ 1792, 819, 10}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
44
{{{ 614, 614, 10}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
45
{{{ 256, 0, 10}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
46
{{{ 614, 0, 10}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
47
{{{ 256, 614, 10}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
48
{{{ 1792, 614, 10}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
49
{{{ 1434, 614, 10}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
50
{{{ 1434, 0, 10}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
51
{{{ 1792, 0, 10}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
52
{{{ 358, 1485, 10}, 0, { 990, 0}, {0xff, 0xec, 0x40, 0x9a}}},
53
{{{ 0, 819, 10}, 0, { 0, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
54
{{{ 358, 819, 10}, 0, { 990, 2012}, {0xff, 0xec, 0x40, 0x9a}}},
55
{{{ 0, 1485, 10}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
56
{{{ 1434, 1485, 10}, 0, { 0, 0}, {0xff, 0xec, 0x40, 0x9a}}},
57
};
58
59
// 0x07007EE8 - 0x07007FD0
60
static const Gfx bbh_seg7_dl_07007EE8[] = {
61
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, spooky_0900B800),
62
gsDPLoadSync(),
63
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
64
gsSPVertex(bbh_seg7_vertex_07007C08, 15, 0),
65
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
66
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
67
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
68
gsSP1Triangle(11, 13, 14, 0x0),
69
gsSPVertex(bbh_seg7_vertex_07007CF8, 15, 0),
70
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
71
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
72
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
73
gsSP1Triangle( 0, 2, 14, 0x0),
74
gsSPVertex(bbh_seg7_vertex_07007DE8, 16, 0),
75
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
76
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
77
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
78
gsSP2Triangles(11, 14, 12, 0x0, 0, 15, 1, 0x0),
79
gsSPEndDisplayList(),
80
};
81
82
// 0x07007FD0 - 0x07008040
83
const Gfx bbh_seg7_dl_07007FD0[] = {
84
gsDPPipeSync(),
85
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
86
gsSPClearGeometryMode(G_LIGHTING),
87
gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
88
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
89
gsDPTileSync(),
90
gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
91
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
92
gsSPDisplayList(bbh_seg7_dl_07007EE8),
93
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
94
gsDPPipeSync(),
95
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
96
gsSPSetGeometryMode(G_LIGHTING),
97
gsSPEndDisplayList(),
98
};
99
100