mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-13 12:55:07 -05:00
161 lines
9.6 KiB
C
161 lines
9.6 KiB
C
|
// 0x07003C60 - 0x07003D60
|
||
|
static const Vtx bitdw_seg7_vertex_07003C60[] = {
|
||
|
{{{ -1074, 102, 51}, 0, { 1330, 1568}, {0x2b, 0x5c, 0x54, 0xff}}},
|
||
|
{{{ -1074, -101, -50}, 0, { 1500, 1396}, {0x2b, 0x5c, 0x54, 0xff}}},
|
||
|
{{{ -1074, -101, -460}, 0, { 2182, 1534}, {0x2b, 0x5c, 0x54, 0xff}}},
|
||
|
{{{ -1074, 102, -562}, 0, { 2352, 1772}, {0x2b, 0x5c, 0x54, 0xff}}},
|
||
|
{{{ -2309, -204, 1075}, 0, { -370, 922}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -2309, -613, 1075}, 0, { -370, 514}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -1795, -51, 47}, 0, { 1338, 1414}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -1795, -307, -55}, 0, { 1508, 1194}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -2718, -613, 1280}, 0, { 0, 650}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -2923, -204, 1280}, 0, { 0, 990}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -2004, 0, -557}, 0, { -3088, 1668}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -1898, -307, -259}, 0, { -2592, 1330}, {0x37, 0x7e, 0x69, 0xff}}},
|
||
|
{{{ -1898, -307, -259}, 0, { -3434, 1766}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -2004, 0, -557}, 0, { -3612, 2010}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1074, -101, -460}, 0, { -2064, 1716}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1074, 102, -562}, 0, { -2064, 1862}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07003D60 - 0x07003E60
|
||
|
static const Vtx bitdw_seg7_vertex_07003D60[] = {
|
||
|
{{{ -1795, -51, 47}, 0, { -3264, 1924}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1795, -307, -55}, 0, { -3264, 1742}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1074, 102, 51}, 0, { -2064, 1862}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1074, -101, -50}, 0, { -2064, 1716}, {0x2e, 0x9a, 0x73, 0xff}}},
|
||
|
{{{ -1795, -51, 47}, 0, { 2442, 4142}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1074, 102, 52}, 0, { 3038, 3538}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -2004, 0, -557}, 0, { 2772, 4818}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1074, 102, -562}, 0, { 3550, 4050}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -2309, -204, 1075}, 0, { 1160, 3714}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -2923, -204, 1280}, 0, { 478, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1898, -307, -259}, 0, { 2614, 4482}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
{{{ -1795, -307, -55}, 0, { 2528, 4226}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
{{{ -2309, -613, 1075}, 0, { 1160, 3714}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
{{{ -1074, -101, -50}, 0, { 3124, 3624}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
{{{ -2718, -613, 1280}, 0, { 650, 3884}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
{{{ -1074, -101, -460}, 0, { 3464, 3964}, {0x00, 0x43, 0x43, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07003E60 - 0x07003F60
|
||
|
static const Vtx bitdw_seg7_vertex_07003E60[] = {
|
||
|
{{{ 272, 307, -613}, 0, { -540, 480}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ 272, -306, -613}, 0, { 990, -1054}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ -341, -306, -613}, 0, { 2524, 478}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ -341, 307, -613}, 0, { 990, 2010}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ -341, 307, 102}, 0, { 990, 2010}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ -341, -306, 102}, 0, { 2524, 478}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ 272, -306, 102}, 0, { 990, -1054}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ 272, 307, 102}, 0, { -540, 480}, {0x7c, 0x89, 0x79, 0xff}}},
|
||
|
{{{ 1792, 102, -101}, 0, { 1246, 1244}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1741, -50, -101}, 0, { 1628, 862}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1741, -50, -409}, 0, { 862, 96}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1792, 102, -409}, 0, { 480, 480}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1024, 102, -562}, 0, { 96, 96}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1024, -204, -50}, 0, { 2140, 606}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1024, 102, 51}, 0, { 1628, 1626}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
{{{ 1024, -204, -460}, 0, { 1118, -416}, {0x59, 0x7d, 0x4c, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07003F60 - 0x07004060
|
||
|
static const Vtx bitdw_seg7_vertex_07003F60[] = {
|
||
|
{{{ 272, 307, 102}, 0, { 1246, 2266}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ 272, -306, -613}, 0, { 990, -1054}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ 272, 307, -613}, 0, { -542, 480}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ 272, -306, 102}, 0, { 2778, 734}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ -341, 307, -613}, 0, { -542, 480}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ -341, -306, -613}, 0, { 990, -1054}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ -341, -306, 102}, 0, { 2778, 734}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ -341, 307, 102}, 0, { 1246, 2266}, {0x68, 0x7b, 0x6e, 0xff}}},
|
||
|
{{{ -341, 307, 102}, 0, { 0, 990}, {0xb7, 0xcd, 0xba, 0xff}}},
|
||
|
{{{ 272, 307, -613}, 0, { 3290, 1244}, {0xb7, 0xcd, 0xba, 0xff}}},
|
||
|
{{{ -341, 307, -613}, 0, { 1756, 2776}, {0xb7, 0xcd, 0xba, 0xff}}},
|
||
|
{{{ 272, 307, 102}, 0, { 1500, -542}, {0xb7, 0xcd, 0xba, 0xff}}},
|
||
|
{{{ -341, -306, -613}, 0, { 1756, 2776}, {0x55, 0x55, 0x55, 0xff}}},
|
||
|
{{{ 272, -306, -613}, 0, { 3290, 1244}, {0x55, 0x55, 0x55, 0xff}}},
|
||
|
{{{ 272, -306, 102}, 0, { 1500, -542}, {0x55, 0x55, 0x55, 0xff}}},
|
||
|
{{{ -341, -306, 102}, 0, { 0, 990}, {0x55, 0x55, 0x55, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07004060 - 0x07004160
|
||
|
static const Vtx bitdw_seg7_vertex_07004060[] = {
|
||
|
{{{ 1741, -50, -101}, 0, { 2352, 1498}, {0x3a, 0x48, 0x35, 0xff}}},
|
||
|
{{{ 1024, -204, -460}, 0, { 0, 2692}, {0x3a, 0x48, 0x35, 0xff}}},
|
||
|
{{{ 1741, -50, -409}, 0, { 2352, 2522}, {0x3a, 0x48, 0x35, 0xff}}},
|
||
|
{{{ 1024, -204, -50}, 0, { 0, 1328}, {0x3a, 0x48, 0x35, 0xff}}},
|
||
|
{{{ 1792, 102, -409}, 0, { -3734, -3736}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1741, -50, -409}, 0, { -3224, -3992}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1024, 102, -562}, 0, { -1818, -1820}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1024, -204, -460}, 0, { -1052, -2588}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1024, 102, 51}, 0, { -1818, -1820}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1024, -204, -50}, 0, { -1052, -2588}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1741, -50, -101}, 0, { -3224, -3992}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1792, 102, -101}, 0, { -3734, -3736}, {0x66, 0x88, 0x67, 0xff}}},
|
||
|
{{{ 1792, 102, -409}, 0, { 6484, -2970}, {0xbd, 0xdb, 0xb3, 0xff}}},
|
||
|
{{{ 1024, 102, 51}, 0, { 3418, -2204}, {0xbd, 0xdb, 0xb3, 0xff}}},
|
||
|
{{{ 1792, 102, -101}, 0, { 5716, -3736}, {0xbd, 0xdb, 0xb3, 0xff}}},
|
||
|
{{{ 1024, 102, -562}, 0, { 4950, -670}, {0xbd, 0xdb, 0xb3, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07004160 - 0x07004220
|
||
|
static const Gfx bitdw_seg7_dl_07004160[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(bitdw_seg7_vertex_07003C60, 16, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
||
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
||
|
gsSP2Triangles(12, 13, 14, 0x0, 13, 15, 14, 0x0),
|
||
|
gsSPVertex(bitdw_seg7_vertex_07003D60, 16, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
||
|
gsSP2Triangles( 8, 4, 9, 0x0, 4, 6, 9, 0x0),
|
||
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 11, 10, 0x0),
|
||
|
gsSP2Triangles(10, 12, 14, 0x0, 10, 15, 13, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07004220 - 0x07004318
|
||
|
static const Gfx bitdw_seg7_dl_07004220[] = {
|
||
|
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(bitdw_seg7_vertex_07003E60, 16, 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),
|
||
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
||
|
gsSPVertex(bitdw_seg7_vertex_07003F60, 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, 11, 9, 0x0),
|
||
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
||
|
gsSPVertex(bitdw_seg7_vertex_07004060, 16, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
||
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
||
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07004318 - 0x07004390
|
||
|
const Gfx bitdw_seg7_dl_07004318[] = {
|
||
|
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(bitdw_seg7_dl_07004160),
|
||
|
gsSPDisplayList(bitdw_seg7_dl_07004220),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||
|
gsSPSetGeometryMode(G_LIGHTING),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|