mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 23:43:01 +00:00
177 lines
10 KiB
C
177 lines
10 KiB
C
// 0x0700D620 - 0x0700D720
|
|
static const Vtx bits_seg7_vertex_0700D620[] = {
|
|
{{{ 1581, 51, -108}, 0, { 1246, 2328}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1536, 51, 0}, 0, { 478, 2010}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1581, 51, 109}, 0, { 162, 1244}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1690, 51, 154}, 0, { 480, 478}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1798, 51, 109}, 0, { 1246, 162}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1843, 51, 0}, 0, { 2012, 480}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1798, 51, -108}, 0, { 2330, 1244}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1690, 51, -153}, 0, { 2012, 2010}, {0xec, 0xef, 0x8e, 0xff}}},
|
|
{{{ 1798, 0, 109}, 0, { 1246, 162}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1690, 51, 154}, 0, { 480, 478}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1690, 0, 154}, 0, { 478, 480}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1798, 51, 109}, 0, { 1246, 162}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1690, 0, -153}, 0, { 2012, 2010}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1690, 51, -153}, 0, { 2012, 2010}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1798, 51, -108}, 0, { 2330, 1244}, {0x96, 0x96, 0x00, 0xff}}},
|
|
{{{ 1798, 0, -108}, 0, { 2330, 1244}, {0x96, 0x96, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x0700D720 - 0x0700D820
|
|
static const Vtx bits_seg7_vertex_0700D720[] = {
|
|
{{{ 1581, 0, 109}, 0, { 162, 1244}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1536, 51, 0}, 0, { 478, 2010}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1536, 0, 0}, 0, { 478, 2010}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1581, 51, 109}, 0, { 162, 1244}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1798, 0, -108}, 0, { 2330, 1244}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1843, 51, 0}, 0, { 2012, 480}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1843, 0, 0}, 0, { 2012, 480}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1798, 51, -108}, 0, { 2330, 1244}, {0x5d, 0x5d, 0x00, 0xff}}},
|
|
{{{ 1536, 0, 0}, 0, { 478, 2010}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1581, 51, -108}, 0, { 1246, 2328}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1581, 0, -108}, 0, { 1246, 2328}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1536, 51, 0}, 0, { 478, 2010}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1843, 0, 0}, 0, { 2012, 480}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1843, 51, 0}, 0, { 2012, 480}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1798, 51, 109}, 0, { 1246, 162}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
{{{ 1798, 0, 109}, 0, { 1246, 162}, {0x6b, 0x6b, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x0700D820 - 0x0700D8A0
|
|
static const Vtx bits_seg7_vertex_0700D820[] = {
|
|
{{{ 1581, 0, -108}, 0, { 1246, 2328}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1690, 51, -153}, 0, { 2012, 2010}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1690, 0, -153}, 0, { 2012, 2010}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1581, 51, -108}, 0, { 1246, 2328}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1690, 0, 154}, 0, { 478, 480}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1690, 51, 154}, 0, { 480, 478}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1581, 51, 109}, 0, { 162, 1244}, {0x78, 0x78, 0x00, 0xff}}},
|
|
{{{ 1581, 0, 109}, 0, { 162, 1244}, {0x78, 0x78, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x0700D8A0 - 0x0700D980
|
|
static const Vtx bits_seg7_vertex_0700D8A0[] = {
|
|
{{{ -7, 2068, -12}, 0, { 224, -19654}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ 15, 2068, 0}, 0, { 280, -19424}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ 8, 2068, -12}, 0, { 262, -19502}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ 8, 2068, 13}, 0, { 262, -19502}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ -14, 2068, 0}, 0, { 204, -19732}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ -7, 2068, 13}, 0, { 224, -19654}, {0xb1, 0xbf, 0xfa, 0xff}}},
|
|
{{{ 15, 0, 0}, 0, { 280, 1218}, {0x97, 0xb2, 0xcd, 0xff}}},
|
|
{{{ 8, 2068, 13}, 0, { 262, -19502}, {0x97, 0xb2, 0xcd, 0xff}}},
|
|
{{{ 8, 0, 13}, 0, { 262, 1142}, {0x97, 0xb2, 0xcd, 0xff}}},
|
|
{{{ 15, 2068, 0}, 0, { 280, -19424}, {0x97, 0xb2, 0xcd, 0xff}}},
|
|
{{{ -14, 0, 0}, 0, { 204, 914}, {0x97, 0xa9, 0xcd, 0xff}}},
|
|
{{{ -14, 2068, 0}, 0, { 204, -19732}, {0x97, 0xa9, 0xcd, 0xff}}},
|
|
{{{ -7, 2068, -12}, 0, { 224, -19654}, {0x97, 0xa9, 0xcd, 0xff}}},
|
|
{{{ -7, 0, -12}, 0, { 224, 990}, {0x97, 0xa9, 0xcd, 0xff}}},
|
|
};
|
|
|
|
// 0x0700D980 - 0x0700DA80
|
|
static const Vtx bits_seg7_vertex_0700D980[] = {
|
|
{{{ -7, 0, -12}, 0, { 224, 990}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ 8, 2068, -12}, 0, { 262, -19502}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ 8, 0, -12}, 0, { 262, 1142}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ -7, 2068, -12}, 0, { 224, -19654}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ 8, 0, 13}, 0, { 262, 1142}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ 8, 2068, 13}, 0, { 262, -19502}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ -7, 2068, 13}, 0, { 224, -19654}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ -7, 0, 13}, 0, { 224, 990}, {0x52, 0x70, 0xac, 0xff}}},
|
|
{{{ 8, 0, -12}, 0, { 262, 1142}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ 8, 2068, -12}, 0, { 262, -19502}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ 15, 2068, 0}, 0, { 280, -19424}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ 15, 0, 0}, 0, { 280, 1218}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ -7, 0, 13}, 0, { 224, 990}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ -7, 2068, 13}, 0, { 224, -19654}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ -14, 2068, 0}, 0, { 204, -19732}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
{{{ -14, 0, 0}, 0, { 204, 914}, {0x8c, 0x98, 0xd8, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DA80 - 0x0700DB20
|
|
static const Vtx bits_seg7_vertex_0700DA80[] = {
|
|
{{{ 1690, 307, 0}, 0, { 480, 0}, {0x96, 0x96, 0x96, 0xff}}},
|
|
{{{ 1587, 51, 0}, 0, { 0, 1672}, {0x96, 0x96, 0x96, 0xff}}},
|
|
{{{ 1690, 51, 102}, 0, { 480, 1672}, {0x96, 0x96, 0x96, 0xff}}},
|
|
{{{ 1792, 51, 0}, 0, { 990, 1672}, {0x96, 0x96, 0x96, 0xff}}},
|
|
{{{ 1690, 51, -101}, 0, { 480, 1672}, {0x96, 0x96, 0x96, 0xff}}},
|
|
{{{ 1690, 51, 102}, 0, { 480, 1672}, {0xc8, 0xc8, 0xc8, 0xff}}},
|
|
{{{ 1792, 51, 0}, 0, { 990, 1672}, {0xc8, 0xc8, 0xc8, 0xff}}},
|
|
{{{ 1690, 307, 0}, 0, { 480, 0}, {0xc8, 0xc8, 0xc8, 0xff}}},
|
|
{{{ 1690, 51, -101}, 0, { 480, 1672}, {0xc8, 0xc8, 0xc8, 0xff}}},
|
|
{{{ 1587, 51, 0}, 0, { 0, 1672}, {0xc8, 0xc8, 0xc8, 0xff}}},
|
|
};
|
|
|
|
// 0x0700DB20 - 0x0700DC08
|
|
static const Gfx bits_seg7_dl_0700DB20[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bits_seg7_vertex_0700D620, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 0, 4, 5, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 0, 6, 7, 0x0, 0, 5, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bits_seg7_vertex_0700D720, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bits_seg7_vertex_0700D820, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700DC08 - 0x0700DCB8
|
|
static const Gfx bits_seg7_dl_0700DC08[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bits_seg7_vertex_0700D8A0, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 0, 4, 5, 0x0, 0, 5, 3, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSPVertex(bits_seg7_vertex_0700D980, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700DCB8 - 0x0700DD00
|
|
static const Gfx bits_seg7_dl_0700DCB8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bits_seg7_vertex_0700DA80, 10, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 7, 8, 9, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700DD00 - 0x0700DD98
|
|
const Gfx bits_seg7_dl_0700DD00[] = {
|
|
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(bits_seg7_dl_0700DB20),
|
|
gsSPDisplayList(bits_seg7_dl_0700DC08),
|
|
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(bits_seg7_dl_0700DCB8),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|