sm64coopdx/levels/bitfs/areas/1/2/model.inc.c

230 lines
13 KiB
C

// 0x07002188 - 0x07002288
static const Vtx bitfs_seg7_vertex_07002188[] = {
{{{ -101, 205, -306}, 0, { 1672, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -613, 205, 307}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -101, 205, 307}, 0, { 1672, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -613, 205, -306}, 0, { 0, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1125, 307, 307}, 0, { -746, 990}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ -613, 205, -306}, 0, { 990, -1054}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ -1125, 307, -306}, 0, { -746, -1054}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ -613, 205, 307}, 0, { 990, 990}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1485, 328, -306}, 0, { 990, 2010}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1485, 328, 307}, 0, { 0, 990}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1792, 328, 307}, 0, { 308, 650}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1792, 328, -306}, 0, { 1330, 1670}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1792, 328, -306}, 0, { 2064, 1958}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 328, 307}, 0, { 530, 428}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 102, 307}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 102, -306}, 0, { 1500, 2520}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07002288 - 0x07002308
static const Vtx bitfs_seg7_vertex_07002288[] = {
{{{ 1485, 102, -306}, 0, { 1500, 2520}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1485, 102, 307}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1485, 328, 307}, 0, { 530, 428}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1485, 328, -306}, 0, { 2064, 1958}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 328, 307}, 0, { 1042, 938}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1485, 102, 307}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1792, 102, 307}, 0, { 480, 1500}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1485, 328, 307}, 0, { 530, 428}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07002308 - 0x07002408
static const Vtx bitfs_seg7_vertex_07002308[] = {
{{{ 1485, 410, -306}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1792, 410, -613}, 0, { 820, 1158}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1485, 410, -613}, 0, { 478, 1500}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1792, 410, -306}, 0, { 308, 650}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1125, 307, -511}, 0, { 3120, 1074}, {0xbc, 0xca, 0xbf, 0xff}}},
{{{ -2047, 307, 512}, 0, { -116, 904}, {0xbc, 0xca, 0xbf, 0xff}}},
{{{ -1125, 307, 512}, 0, { 1416, -628}, {0xbc, 0xca, 0xbf, 0xff}}},
{{{ -2047, 307, -511}, 0, { 1586, 2606}, {0xbc, 0xca, 0xbf, 0xff}}},
{{{ 1485, 410, -613}, 0, { -542, 480}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1331, 0, -306}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1485, 410, -306}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1331, 0, -613}, 0, { 138, -202}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1946, 0, -613}, 0, { 138, -202}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 410, -613}, 0, { -542, 480}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1792, 410, -306}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1946, 0, -306}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07002408 - 0x07002488
static const Vtx bitfs_seg7_vertex_07002408[] = {
{{{ 1485, 410, -613}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1946, 0, -613}, 0, { 1246, 1074}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1331, 0, -613}, 0, { 394, 1924}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1792, 410, -613}, 0, { 308, 650}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1792, 410, -306}, 0, { 308, 650}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1485, 410, -306}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1331, 0, -306}, 0, { 394, 1924}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1946, 0, -306}, 0, { 1246, 1074}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07002488 - 0x07002588
static const Vtx bitfs_seg7_vertex_07002488[] = {
{{{ -2047, 307, 512}, 0, { 990, 0}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -2047, 307, -511}, 0, { -2414, 0}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -2047, 0, -511}, 0, { -2414, 990}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -2047, 0, 512}, 0, { 990, 990}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -1125, 307, 512}, 0, { 0, 0}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -1125, 0, -511}, 0, { 3374, 990}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -1125, 307, -511}, 0, { 3374, 0}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -1125, 0, 512}, 0, { 0, 990}, {0x67, 0x76, 0x64, 0xff}}},
{{{ -2047, 0, 512}, 0, { 0, 990}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -1125, 307, 512}, 0, { 3034, 0}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -2047, 307, 512}, 0, { 0, 0}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -1125, 0, 512}, 0, { 3034, 990}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -1125, 0, -511}, 0, { 0, 990}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -2047, 307, -511}, 0, { 3034, 0}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -1125, 307, -511}, 0, { 0, 0}, {0x88, 0x98, 0x84, 0xff}}},
{{{ -2047, 0, -511}, 0, { 3034, 990}, {0x88, 0x98, 0x84, 0xff}}},
};
// 0x07002588 - 0x07002688
static const Vtx bitfs_seg7_vertex_07002588[] = {
{{{ -101, 0, -306}, 0, { 2012, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -101, 205, 307}, 0, { 0, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -101, 0, 307}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -101, 205, -306}, 0, { 2012, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -613, 205, -306}, 0, { 1672, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -101, 0, -306}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 0, -306}, 0, { 3374, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 205, -306}, 0, { 3374, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 307, -306}, 0, { 3374, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -101, 205, -306}, 0, { 0, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -613, 205, 307}, 0, { -712, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 307, 307}, 0, { -2414, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 205, 307}, 0, { -2414, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1125, 0, 322}, 0, { -2414, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -101, 0, 307}, 0, { 990, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -101, 205, 307}, 0, { 990, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07002688 - 0x07002788
static const Vtx bitfs_seg7_vertex_07002688[] = {
{{{ -101, 51, 0}, 0, {-11920, 5562}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 922, 51, 0}, 0, { -5106, 3006}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -101, 0, -50}, 0, {-12430, 5690}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 870, 0, -50}, 0, { -5958, 3262}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1157, -163, -50}, 0, { -4050, 2546}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1208, -112, 0}, 0, { -3198, 2290}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1823, -112, 0}, 0, { 888, 760}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1874, -163, -50}, 0, { 718, 760}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 2130, 41, 10}, 0, { 3034, 0}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 2181, -9, -40}, 0, { 2864, 0}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -101, 0, 51}, 0, {-11408, 5434}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 870, 0, 51}, 0, { -4936, 3006}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -101, 51, 0}, 0, {-11920, 5562}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1208, -112, 0}, 0, { -3198, 2290}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 922, 51, 0}, 0, { -5106, 3006}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1157, -163, 51}, 0, { -3028, 2290}, {0x52, 0x61, 0xac, 0xff}}},
};
// 0x07002788 - 0x070027E8
static const Vtx bitfs_seg7_vertex_07002788[] = {
{{{ 1157, -163, 51}, 0, { -3028, 2290}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1874, -163, 51}, 0, { 1740, 504}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1208, -112, 0}, 0, { -3198, 2290}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1823, -112, 0}, 0, { 888, 760}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 2181, -9, 61}, 0, { 3886, -288}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 2130, 41, 10}, 0, { 3034, 0}, {0x52, 0x61, 0xac, 0xff}}},
};
// 0x070027E8 - 0x07002878
static const Gfx bitfs_seg7_dl_070027E8[] = {
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(bitfs_seg7_vertex_07002188, 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, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002288, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07002878 - 0x07002908
static const Gfx bitfs_seg7_dl_07002878[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002308, 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(bitfs_seg7_vertex_07002408, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x07002908 - 0x070029C8
static const Gfx bitfs_seg7_dl_07002908[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitfs_seg7_texture_07001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002488, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 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, 15, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002588, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 4, 7, 8, 0x0, 9, 5, 4, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 14, 0x0),
gsSP2Triangles(13, 10, 12, 0x0, 14, 15, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x070029C8 - 0x07002A78
static const Gfx bitfs_seg7_dl_070029C8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002688, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 1, 5, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 7, 4, 0x0),
gsSP2Triangles( 6, 8, 9, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 14, 0x0),
gsSP2Triangles(11, 15, 13, 0x0, 11, 14, 12, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002788, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07002A78 - 0x07002B30
const Gfx bitfs_seg7_dl_07002A78[] = {
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(bitfs_seg7_dl_070027E8),
gsSPDisplayList(bitfs_seg7_dl_07002878),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 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(bitfs_seg7_dl_07002908),
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(bitfs_seg7_dl_070029C8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};