mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-02 00:37:26 +00:00
192 lines
11 KiB
C
192 lines
11 KiB
C
// 0x0700DB48 - 0x0700DB88
|
|
static const Vtx pss_seg7_vertex_0700DB48[] = {
|
|
{{{ -6720, -4484, 6068}, 0, { 2382, -1424}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5994, -4484, 6068}, 0, { 0, -1424}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5994, -4484, 5342}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6720, -4484, 5342}, 0, { 2382, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DB88 - 0x0700DC48
|
|
static const Vtx pss_seg7_vertex_0700DB88[] = {
|
|
{{{ -6178, -4561, 5188}, 0, { 0, 1120}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6178, -4561, 5117}, 0, { 0, 1264}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4561, 5117}, 0, { 786, 1264}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4561, 5188}, 0, { 786, 1120}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4535, 5255}, 0, { 786, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6178, -4535, 5255}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6178, -4535, 5188}, 0, { 0, 1120}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4535, 5188}, 0, { 786, 1120}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4510, 5321}, 0, { 786, 858}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6178, -4510, 5321}, 0, { 0, 858}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6178, -4510, 5255}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6588, -4510, 5255}, 0, { 786, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DC48 - 0x0700DD38
|
|
static const Vtx pss_seg7_vertex_0700DC48[] = {
|
|
{{{ -6588, -4587, 5321}, 0, { 1088, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4561, 5117}, 0, { 542, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4587, 5117}, 0, { 542, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4587, 5117}, 0, { 550, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4561, 5188}, 0, { 360, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4587, 5321}, 0, { 6, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4561, 5117}, 0, { 550, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4535, 5255}, 0, { 182, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4535, 5188}, 0, { 360, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4510, 5255}, 0, { 182, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4510, 5321}, 0, { 6, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4510, 5255}, 0, { 910, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4510, 5321}, 0, { 1088, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4535, 5255}, 0, { 910, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4561, 5188}, 0, { 734, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DD38 - 0x0700DE28
|
|
static const Vtx pss_seg7_vertex_0700DD38[] = {
|
|
{{{ -6588, -4535, 5255}, 0, { 1484, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4510, 5255}, 0, { 1484, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4510, 5255}, 0, { 684, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4561, 5188}, 0, { 734, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4535, 5255}, 0, { 910, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4535, 5188}, 0, { 734, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4587, 5117}, 0, { 1560, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4561, 5117}, 0, { 1560, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4561, 5117}, 0, { 540, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4587, 5117}, 0, { 540, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4561, 5188}, 0, { 1748, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4535, 5188}, 0, { 1748, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4535, 5188}, 0, { 864, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4561, 5188}, 0, { 864, 352}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4535, 5255}, 0, { 684, 224}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DE28 - 0x0700DF18
|
|
static const Vtx pss_seg7_vertex_0700DE28[] = {
|
|
{{{ -6741, -4484, 6089}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4587, 6089}, 0, { 0, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4587, 6089}, 0, { 2012, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4510, 5321}, 0, { 1604, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6588, -4587, 5321}, 0, { 1604, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4587, 5321}, 0, { 2012, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4510, 5321}, 0, { 514, 96}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4484, 5321}, 0, { 2012, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4484, 5321}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4587, 5321}, 0, { 0, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6178, -4587, 5321}, 0, { 514, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4484, 5321}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4587, 5321}, 0, { 0, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4587, 6089}, 0, { 2012, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4484, 6089}, 0, { 2012, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DF18 - 0x0700DFF8
|
|
static const Vtx pss_seg7_vertex_0700DF18[] = {
|
|
{{{ -5973, -4587, 5321}, 0, { 2012, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4484, 6089}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4587, 6089}, 0, { 0, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4484, 6089}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4587, 6089}, 0, { 2012, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4484, 6089}, 0, { 2012, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -5973, -4484, 5321}, 0, { 2012, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -6741, -4484, 5321}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5994, -4484, 5342}, 0, { 24, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5973, -4484, 5321}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5973, -4484, 5321}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5994, -4484, 6068}, 0, { 24, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5973, -4484, 6089}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5994, -4484, 5342}, 0, { 1956, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DFF8 - 0x0700E0A8
|
|
static const Vtx pss_seg7_vertex_0700DFF8[] = {
|
|
{{{ -5973, -4484, 6089}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6720, -4484, 6068}, 0, { 24, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6741, -4484, 6089}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5994, -4484, 6068}, 0, { 1956, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6720, -4484, 5342}, 0, { 24, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6741, -4484, 6089}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6720, -4484, 6068}, 0, { 1956, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6741, -4484, 5321}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6741, -4484, 5321}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6720, -4484, 5342}, 0, { 1956, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -5994, -4484, 5342}, 0, { 24, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x0700E0A8 - 0x0700E0E0
|
|
static const Gfx pss_seg7_dl_0700E0A8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(pss_seg7_vertex_0700DB48, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E0E0 - 0x0700E138
|
|
static const Gfx pss_seg7_dl_0700E0E0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pss_seg7_texture_07000000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(pss_seg7_vertex_0700DB88, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E138 - 0x0700E2B0
|
|
static const Gfx pss_seg7_dl_0700E138[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09005800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(pss_seg7_vertex_0700DC48, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 4, 8, 7, 0x0, 5, 7, 9, 0x0),
|
|
gsSP2Triangles( 5, 9, 10, 0x0, 11, 0, 12, 0x0),
|
|
gsSP2Triangles(11, 13, 0, 0x0, 14, 0, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(pss_seg7_vertex_0700DD38, 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, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
gsSPVertex(pss_seg7_vertex_0700DE28, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 3, 7, 0x0, 3, 5, 7, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 6, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 6, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(pss_seg7_vertex_0700DF18, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 0, 6, 1, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPVertex(pss_seg7_vertex_0700DFF8, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP1Triangle( 8, 9, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E2B0 - 0x0700E348
|
|
const Gfx pss_seg7_dl_0700E2B0[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
gsDPSetTile(G_IM_FMT_RGBA, 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_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(pss_seg7_dl_0700E0A8),
|
|
gsSPDisplayList(pss_seg7_dl_0700E0E0),
|
|
gsDPTileSync(),
|
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(pss_seg7_dl_0700E138),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|