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

150 lines
8.4 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x07003700 - 0x07003780
static const Vtx bitfs_seg7_vertex_07003700[] = {
{{{ 1659, 164, 297}, 0, { 734, 1754}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1966, 164, 911}, 0, { 352, 606}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1966, 164, -316}, 0, { 1884, 2138}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1659, 164, -316}, 0, { 1500, 2520}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1045, 10, 911}, 0, { -796, 1754}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1966, 164, 911}, 0, { 352, 606}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1659, 164, 297}, 0, { 734, 1754}, {0xb9, 0xb9, 0xb9, 0xff}}},
{{{ 1045, 10, 297}, 0, { 0, 2520}, {0xb9, 0xb9, 0xb9, 0xff}}},
};
// 0x07003780 - 0x07003870
static const Vtx bitfs_seg7_vertex_07003780[] = {
{{{ 1434, -50, 51}, 0, { 25348, -8336}, {0x97, 0xa0, 0xcd, 0xff}}},
{{{ 1434, -50, -50}, 0, { 24326, -8080}, {0x97, 0xa0, 0xcd, 0xff}}},
{{{ 1331, 0, 0}, 0, { 24156, -7952}, {0x97, 0xa0, 0xcd, 0xff}}},
{{{ -297, -302, -9}, 0, { 13212, -3862}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 0, 0, 0}, 0, { 15298, -4632}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 51, -50, -50}, 0, { 15128, -4632}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1434, -50, -50}, 0, { 24326, -8080}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 1331, 0, 0}, 0, { 24156, -7952}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -246, -353, -60}, 0, { 13042, -3862}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -716, -306, 0}, 0, { 10528, -2842}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -767, -357, -50}, 0, { 9678, -2588}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -1125, 0, 0}, 0, { 7804, -1820}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -1177, -50, -50}, 0, { 6952, -1566}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -1842, 0, 0}, 0, { 3034, 0}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -1791, -50, -50}, 0, { 2864, 0}, {0x8c, 0x98, 0xd8, 0xff}}},
};
// 0x07003870 - 0x07003930
static const Vtx bitfs_seg7_vertex_07003870[] = {
{{{ 51, -50, 51}, 0, { 16150, -4886}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1434, -50, 51}, 0, { 25348, -8336}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 1331, 0, 0}, 0, { 24156, -7952}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 0, 0, 0}, 0, { 15298, -4632}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -246, -353, 41}, 0, { 14064, -4118}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -297, -302, -9}, 0, { 13212, -3862}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -716, -306, 0}, 0, { 10528, -2842}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -767, -357, 51}, 0, { 10700, -2842}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -1177, -50, 51}, 0, { 7974, -1820}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -1125, 0, 0}, 0, { 7804, -1820}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -1791, -50, 51}, 0, { 3886, -288}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -1842, 0, 0}, 0, { 3034, 0}, {0x52, 0x61, 0xac, 0xff}}},
};
// 0x07003930 - 0x07003A30
static const Vtx bitfs_seg7_vertex_07003930[] = {
{{{ 1659, -40, 297}, 0, { 2012, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1659, 164, -316}, 0, { 4056, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1659, -40, -316}, 0, { 4056, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1659, 164, 297}, 0, { 2012, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1045, -40, 297}, 0, { 2012, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1045, -40, 911}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1045, 10, 911}, 0, { 0, 820}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1045, 10, 297}, 0, { 2012, 820}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1966, -40, -316}, 0, { 4056, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1966, 164, -316}, 0, { 4056, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1966, 164, 911}, 0, { 0, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1966, -40, 911}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1659, -40, 297}, 0, { 2012, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1045, -40, 297}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1045, 10, 297}, 0, { 0, 820}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1659, 164, 297}, 0, { 2012, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07003A30 - 0x07003AB0
static const Vtx bitfs_seg7_vertex_07003A30[] = {
{{{ 1045, -40, 911}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1966, 164, 911}, 0, { 3034, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1045, 10, 911}, 0, { 0, 820}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1966, -40, 911}, 0, { 3034, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1659, 164, -316}, 0, { 2012, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1966, -40, -316}, 0, { 3034, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1659, -40, -316}, 0, { 2012, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1966, 164, -316}, 0, { 3034, 308}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07003AB0 - 0x07003AF8
static const Gfx bitfs_seg7_dl_07003AB0[] = {
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_07003700, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x07003AF8 - 0x07003BD0
static const Gfx bitfs_seg7_dl_07003AF8[] = {
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_07003780, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 4, 7, 6, 0x0),
gsSP2Triangles( 3, 5, 8, 0x0, 9, 3, 10, 0x0),
gsSP2Triangles( 3, 8, 10, 0x0, 11, 10, 12, 0x0),
gsSP2Triangles(11, 9, 10, 0x0, 13, 11, 12, 0x0),
gsSP1Triangle(13, 12, 14, 0x0),
gsSPVertex(bitfs_seg7_vertex_07003870, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 0, 3, 0x0, 4, 3, 5, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 6, 9, 0x0, 8, 7, 6, 0x0),
gsSP2Triangles(10, 8, 9, 0x0, 10, 9, 11, 0x0),
gsSPEndDisplayList(),
};
// 0x07003BD0 - 0x07003C60
static const Gfx bitfs_seg7_dl_07003BD0[] = {
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_07003930, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_07003A30, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07003C60 - 0x07003CF8
const Gfx bitfs_seg7_dl_07003C60[] = {
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_07003AB0),
gsSPDisplayList(bitfs_seg7_dl_07003AF8),
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_07003BD0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};