mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-05 02:07:26 +00:00
186 lines
11 KiB
C
186 lines
11 KiB
C
|
// 0x0700D658 - 0x0700D748
|
||
|
static const Vtx ccm_seg7_vertex_0700D658[] = {
|
||
|
{{{ -6015, -1740, 689}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -6015, -1740, 934}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5769, -1740, 934}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5631, -1740, 4025}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5631, -1740, 4271}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5385, -1740, 4271}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5385, -1740, 4025}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -4699, -1740, 4691}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -4454, -1740, 4937}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -4454, -1740, 4691}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -4699, -1740, 4937}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5324, -1740, 2871}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5078, -1740, 3117}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5078, -1740, 2871}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5324, -1740, 3117}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700D748 - 0x0700D838
|
||
|
static const Vtx ccm_seg7_vertex_0700D748[] = {
|
||
|
{{{ -611, 2560, -2428}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -611, 2560, -2182}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -365, 2560, -2182}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -6015, -1740, 689}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5769, -1740, 934}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -5769, -1740, 689}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3871, -4607, 4341}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3625, -4607, 4587}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3625, -4607, 4341}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3871, -4607, 4587}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1125, -4607, 5351}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1371, -4607, 5597}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1371, -4607, 5351}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1125, -4607, 5597}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -365, 2560, -2428}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700D838 - 0x0700D938
|
||
|
static const Vtx ccm_seg7_vertex_0700D838[] = {
|
||
|
{{{ -1269, -3583, 5796}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1023, -3583, 6042}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1023, -3583, 5796}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1891, 2560, -1916}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1891, 2560, -1670}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1645, 2560, -1670}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1645, 2560, -1916}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3566, 807, -2836}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3320, 807, -2590}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3320, 807, -2836}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -3566, 807, -2590}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1867, -4607, 4826}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 1867, -4607, 5072}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 2112, -4607, 5072}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ 2112, -4607, 4826}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
{{{ -1269, -3583, 6042}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700D938 - 0x0700D9B8
|
||
|
static const Vtx ccm_seg7_vertex_0700D938[] = {
|
||
|
{{{ 2114, 2560, -1753}, 0, { 0, 0}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 2360, 2560, -1507}, 0, { 990, 990}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 2360, 2560, -1753}, 0, { 990, 0}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 2114, 2560, -1507}, 0, { 0, 990}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 2762, 2560, -1761}, 0, { 0, 0}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 3007, 2560, -1515}, 0, { 990, 990}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 3007, 2560, -1761}, 0, { 990, 0}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
{{{ 2762, 2560, -1515}, 0, { 0, 990}, {0x33, 0x33, 0x33, 0xb4}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700D9B8 - 0x0700DAA8
|
||
|
static const Vtx ccm_seg7_vertex_0700D9B8[] = {
|
||
|
{{{ 2033, 2195, -194}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2247, 2261, -378}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2042, 2261, -387}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1636, -4607, 4275}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1925, -4607, 4286}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1786, -4607, 4136}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1775, -4607, 4425}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2958, -2818, 1710}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3097, -2822, 1860}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3394, -2913, 1441}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3255, -2909, 1291}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2953, -2621, 2700}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3362, -2764, 2735}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3152, -2758, 2510}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 3162, -2627, 2924}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700DAA8 - 0x0700DB98
|
||
|
static const Vtx ccm_seg7_vertex_0700DAA8[] = {
|
||
|
{{{ 2163, 1630, 1460}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2220, 2062, 201}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2016, 2062, 192}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2033, 2195, -194}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2238, 2194, -185}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 2247, 2261, -378}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1556, 1482, 1801}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1591, 1445, 1999}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1792, 1471, 1968}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1757, 1508, 1770}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 970, 3072, 59}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1358, 3072, -1277}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 949, 3072, -1271}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1379, 3072, 53}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1959, 1631, 1450}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700DB98 - 0x0700DC18
|
||
|
static const Vtx ccm_seg7_vertex_0700DB98[] = {
|
||
|
{{{ 768, -4607, 6244}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1178, -4607, 6603}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 1177, -4607, 6244}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ 768, -4607, 6603}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ -3892, -2149, 6246}, 0, { 0, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ -3892, -2149, 6605}, 0, { 0, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ -3268, -2149, 6605}, 0, { 990, 990}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
{{{ -3268, -2149, 6246}, 0, { 990, 0}, {0x00, 0x10, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x0700DC18 - 0x0700DD28
|
||
|
static const Gfx ccm_seg7_dl_0700DC18[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700D658, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(11, 14, 12, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700D748, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
||
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
||
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700D838, 16, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP2Triangles(11, 13, 14, 0x0, 0, 15, 1, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700D938, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x0700DD28 - 0x0700DDF0
|
||
|
static const Gfx ccm_seg7_dl_0700DD28[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009000),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700D9B8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(11, 14, 12, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700DAA8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
||
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
||
|
gsSP1Triangle(14, 0, 2, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_0700DB98, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x0700DDF0 - 0x0700DE68
|
||
|
const Gfx ccm_seg7_dl_0700DDF0[] = {
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
|
||
|
gsSPClearGeometryMode(G_LIGHTING),
|
||
|
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),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
||
|
gsDPTileSync(),
|
||
|
gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
|
||
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
||
|
gsSPDisplayList(ccm_seg7_dl_0700DC18),
|
||
|
gsSPDisplayList(ccm_seg7_dl_0700DD28),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||
|
gsSPSetGeometryMode(G_LIGHTING),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|