mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 16:27:27 +00:00
125 lines
7.5 KiB
C
125 lines
7.5 KiB
C
// 0x07015748 - 0x07015828
|
|
static const Vtx rr_seg7_vertex_07015748[] = {
|
|
{{{ -947, -836, 1010}, 0, { 0, -17856}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1001, -833, 604}, 0, { 990, -18004}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1784, -844, 1002}, 0, { -40, -19944}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1780, -844, 593}, 0, { 990, -19950}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -668, -787, 959}, 0, { 0, -17226}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -650, -775, 549}, 0, { 990, -17022}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1001, -833, 604}, 0, { 990, -17918}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -947, -836, 1010}, 0, { -50, -17942}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -215, -485, 959}, 0, { 0, -15792}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -215, -485, 549}, 0, { 990, -15792}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -650, -775, 549}, 0, { 990, -17096}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -668, -787, 959}, 0, { 0, -17150}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -62, -434, 959}, 0, { 0, -15388}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -62, -434, 549}, 0, { 990, -15388}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07015828 - 0x07015928
|
|
static const Vtx rr_seg7_vertex_07015828[] = {
|
|
{{{ 1477, -155, 543}, 0, { 0, -11492}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1168, -151, 267}, 0, { 990, -11612}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1169, -202, 813}, 0, { -26, -12522}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 254, -434, 959}, 0, { 0, -14596}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -62, -434, 549}, 0, { 990, -15388}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -62, -434, 959}, 0, { 0, -15388}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 255, -434, 549}, 0, { 990, -14594}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 859, -239, 960}, 0, { 0, -13026}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 795, -226, 537}, 0, { 990, -13140}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 254, -434, 959}, 0, { 10, -14608}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 255, -434, 549}, 0, { 990, -14584}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1169, -202, 813}, 0, { 0, -12378}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 940, -196, 468}, 0, { 990, -12522}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 859, -239, 960}, 0, { 0, -13236}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 795, -226, 537}, 0, { 990, -12930}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 940, -196, 468}, 0, { 990, -12378}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07015928 - 0x07015A28
|
|
static const Vtx rr_seg7_vertex_07015928[] = {
|
|
{{{ 1792, -122, 54}, 0, { 0, -10180}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1390, -112, -74}, 0, { 990, -10450}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1477, -155, 543}, 0, { 0, -11630}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1168, -151, 267}, 0, { 990, -11474}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1817, -85, -315}, 0, { 0, -9512}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1407, -83, -312}, 0, { 990, -9588}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1792, -122, 54}, 0, { 0, -10442}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1390, -112, -74}, 0, { 990, -10188}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1793, -47, -674}, 0, { 0, -8680}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1390, -38, -564}, 0, { 990, -8882}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1817, -85, -315}, 0, { 0, -9580}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1407, -83, -312}, 0, { 990, -9520}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1607, 0, -1050}, 0, { 0, -7828}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1278, 9, -792}, 0, { 990, -8034}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1793, -47, -674}, 0, { -28, -8878}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1390, -38, -564}, 0, { 990, -8682}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07015A28 - 0x07015B28
|
|
static const Vtx rr_seg7_vertex_07015A28[] = {
|
|
{{{ 1050, 77, -1519}, 0, { 0, -6214}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 859, 77, -1142}, 0, { 990, -6448}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1607, 0, -1050}, 0, { -24, -8042}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1278, 9, -792}, 0, { 990, -7822}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 244, 77, -1700}, 0, { 0, -4400}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 199, 77, -1291}, 0, { 990, -4514}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 1050, 77, -1519}, 0, { 0, -6462}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1961, 77, -1700}, 0, { 0, 988}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1039, 77, -1290}, 0, { 990, -1312}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1039, 77, -1700}, 0, { -26, -1308}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 859, 77, -1142}, 0, { 990, -6202}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1039, 77, -1700}, 0, { 0, -1310}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1039, 77, -1290}, 0, { 990, -1310}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 199, 77, -1291}, 0, { 990, -4400}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 244, 77, -1700}, 0, { 0, -4514}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1961, 35, -1292}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07015B28 - 0x07015C68
|
|
static const Gfx rr_seg7_dl_07015B28[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_07015748, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 9, 8, 0x0, 12, 13, 9, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07015828, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(12, 14, 13, 0x0, 1, 15, 2, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07015928, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 13, 15, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07015A28, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 5, 10, 6, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(11, 13, 14, 0x0, 7, 15, 8, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07015C68 - 0x07015CE8
|
|
const Gfx rr_seg7_dl_07015C68[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetEnvColor(255, 255, 255, 100),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBFADEA, G_CC_MODULATERGBFADEA),
|
|
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
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_CLAMP, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(rr_seg7_dl_07015B28),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsDPSetEnvColor(255, 255, 255, 255),
|
|
gsSPEndDisplayList(),
|
|
};
|