sm64pc/levels/bitdw/areas/1/octogonal_platform/model.inc.c

245 lines
14 KiB
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
// 0x07004630 - 0x07004720
static const Vtx bitdw_seg7_vertex_07004630[] = {
{{{ -716, 1024, 306}, 0, { -302, 922}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ -511, 1126, -205}, 0, { -644, 786}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ -716, 1024, -307}, 0, { -712, 922}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ -511, 1126, 204}, 0, { -370, 786}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ 717, 1024, -307}, 0, { -712, 0}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ 512, 1126, -205}, 0, { -644, 104}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ 512, 1126, 204}, 0, { -370, 104}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ 717, 1024, 306}, 0, { -302, 0}, {0xff, 0x4e, 0x00, 0xff}}},
{{{ 512, 1126, 204}, 0, { -370, 104}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 205, 1126, 511}, 0, { -166, 308}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 307, 1024, 716}, 0, { 0, 240}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 717, 1024, -307}, 0, { -712, 0}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 307, 1024, -717}, 0, { -984, 240}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 205, 1126, -512}, 0, { -848, 308}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 512, 1126, -205}, 0, { -644, 104}, {0xfb, 0x5f, 0x19, 0xff}}},
};
// 0x07004720 - 0x07004810
static const Vtx bitdw_seg7_vertex_07004720[] = {
{{{ -511, 1126, -205}, 0, { -644, 786}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -204, 1126, -512}, 0, { -848, 582}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -306, 1024, -717}, 0, { -984, 650}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -716, 1024, -307}, 0, { -712, 922}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -716, 1024, 306}, 0, { -302, 922}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -306, 1024, 716}, 0, { 0, 650}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -204, 1126, 511}, 0, { -166, 582}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -511, 1126, 204}, 0, { -370, 786}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 512, 1126, 204}, 0, { -370, 104}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 307, 1024, 716}, 0, { 0, 240}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ 717, 1024, 306}, 0, { -302, 0}, {0xfb, 0x5f, 0x19, 0xff}}},
{{{ -204, 1126, -512}, 0, { -848, 582}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ 307, 1024, -717}, 0, { -984, 240}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ -306, 1024, -717}, 0, { -984, 650}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ 205, 1126, -512}, 0, { -848, 308}, {0xff, 0x7c, 0x30, 0xff}}},
};
// 0x07004810 - 0x07004910
static const Vtx bitdw_seg7_vertex_07004810[] = {
{{{ 205, 1126, 511}, 0, { -166, 308}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ -306, 1024, 716}, 0, { 0, 650}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ 307, 1024, 716}, 0, { 0, 240}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ -204, 1126, 511}, 0, { -166, 582}, {0xff, 0x7c, 0x30, 0xff}}},
{{{ 307, 1024, 716}, 0, { 0, 240}, {0xce, 0x35, 0x16, 0xff}}},
{{{ -306, 1024, 716}, 0, { 0, 650}, {0xce, 0x35, 0x16, 0xff}}},
{{{ 205, 819, 511}, 0, { -166, 308}, {0xce, 0x35, 0x16, 0xff}}},
{{{ -204, 819, 511}, 0, { -166, 582}, {0xce, 0x35, 0x16, 0xff}}},
{{{ -306, 1024, -717}, 0, { -984, 650}, {0xce, 0x35, 0x16, 0xff}}},
{{{ 307, 1024, -717}, 0, { -984, 240}, {0xce, 0x35, 0x16, 0xff}}},
{{{ -204, 819, -512}, 0, { -848, 582}, {0xce, 0x35, 0x16, 0xff}}},
{{{ 205, 819, -512}, 0, { -848, 308}, {0xce, 0x35, 0x16, 0xff}}},
{{{ 717, 1024, 306}, 0, { -302, 0}, {0x66, 0x16, 0x00, 0xff}}},
{{{ 512, 819, 204}, 0, { -370, 104}, {0x66, 0x16, 0x00, 0xff}}},
{{{ 717, 1024, -307}, 0, { -712, 0}, {0x66, 0x16, 0x00, 0xff}}},
{{{ 512, 819, -205}, 0, { -644, 104}, {0x66, 0x16, 0x00, 0xff}}},
};
// 0x07004910 - 0x07004A00
static const Vtx bitdw_seg7_vertex_07004910[] = {
{{{ -716, 1024, -307}, 0, { -712, 922}, {0x66, 0x16, 0x00, 0xff}}},
{{{ -511, 819, 204}, 0, { -370, 786}, {0x66, 0x16, 0x00, 0xff}}},
{{{ -716, 1024, 306}, 0, { -302, 922}, {0x66, 0x16, 0x00, 0xff}}},
{{{ -511, 819, -205}, 0, { -644, 786}, {0x66, 0x16, 0x00, 0xff}}},
{{{ -716, 1024, -307}, 0, { -712, 922}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -306, 1024, -717}, 0, { -984, 650}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -511, 819, -205}, 0, { -644, 786}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 717, 1024, 306}, 0, { -302, 0}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 307, 1024, 716}, 0, { 0, 240}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 512, 819, 204}, 0, { -370, 104}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 205, 819, 511}, 0, { -166, 308}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -511, 819, 204}, 0, { -370, 786}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -204, 819, 511}, 0, { -166, 582}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -716, 1024, 306}, 0, { -302, 922}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -306, 1024, 716}, 0, { 0, 650}, {0x9e, 0x27, 0x00, 0xff}}},
};
// 0x07004A00 - 0x07004B00
static const Vtx bitdw_seg7_vertex_07004A00[] = {
{{{ 205, 819, -512}, 0, { -848, 308}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 307, 1024, -717}, 0, { -984, 240}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 717, 1024, -307}, 0, { -712, 0}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -306, 1024, -717}, 0, { -984, 650}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -204, 819, -512}, 0, { -848, 582}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ -511, 819, -205}, 0, { -644, 786}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 512, 819, -205}, 0, { -644, 104}, {0x9e, 0x27, 0x00, 0xff}}},
{{{ 0, 1126, 93}, 0, { 432, 944}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 1536, 0}, 0, { 432, 478}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -92, 1126, 0}, 0, { 0, 478}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 1126, -92}, 0, { 432, 14}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 93, 1126, 0}, 0, { 898, 478}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, -716, -511}, 0, { -26, -18}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -511, -716, 0}, 0, { -20, 1000}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -162, 819, 0}, 0, { 320, 656}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 819, 163}, 0, { 638, 656}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07004B00 - 0x07004B80
static const Vtx bitdw_seg7_vertex_07004B00[] = {
{{{ -511, -716, 0}, 0, { -20, 1000}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, -716, 512}, 0, { 982, 1004}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 819, 163}, 0, { 638, 656}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 512, -716, 0}, 0, { 976, -14}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 819, -162}, 0, { 318, 330}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, -716, -511}, 0, { -26, -18}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -162, 819, 0}, 0, { 320, 656}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 163, 819, 0}, 0, { 636, 332}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07004B80 - 0x07004C80
static const Vtx bitdw_seg7_vertex_07004B80[] = {
{{{ -204, 1126, -512}, 0, { 1502, 0}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ 205, 1126, 511}, 0, { 3546, 582}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ 512, 1126, 204}, 0, { 5078, 0}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ 512, 1126, -205}, 0, { 5078, -440}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ 205, 1126, -512}, 0, { 3546, -440}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ -511, 1126, 204}, 0, { 0, 990}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ -204, 1126, 511}, 0, { 1502, 990}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ -511, 1126, -205}, 0, { 0, 582}, {0xfe, 0xff, 0xa8, 0xff}}},
{{{ 205, 819, -512}, 0, { 3546, -440}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ 512, 819, -205}, 0, { 5078, -440}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ -204, 819, -512}, 0, { 1502, 0}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ 512, 819, 204}, 0, { 5078, 0}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ -204, 819, 511}, 0, { 1502, 990}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ -511, 819, 204}, 0, { 0, 990}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ 205, 819, 511}, 0, { 3546, 582}, {0x5d, 0x5d, 0x00, 0xff}}},
{{{ -511, 819, -205}, 0, { 0, 582}, {0x5d, 0x5d, 0x00, 0xff}}},
};
// 0x07004C80 - 0x07004D80
static const Vtx bitdw_seg7_vertex_07004C80[] = {
{{{ 410, -1023, 0}, 0, { 1398, -648}, {0x2f, 0x49, 0x5e, 0xff}}},
{{{ 0, -1023, 410}, 0, { 582, -1466}, {0x2f, 0x49, 0x5e, 0xff}}},
{{{ -409, -1023, 0}, 0, { -234, -648}, {0x2f, 0x49, 0x5e, 0xff}}},
{{{ 0, -1023, -409}, 0, { 582, 170}, {0x2f, 0x49, 0x5e, 0xff}}},
{{{ -511, -716, 0}, 0, { 1168, 2380}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ -409, -1023, 0}, 0, { 1692, 1494}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 0, -1023, 410}, 0, { 246, 52}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 0, -716, 512}, 0, { -638, 576}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 512, -716, 0}, 0, { -1052, 990}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 0, -1023, -409}, 0, { 1360, 1826}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 0, -716, -511}, 0, { 752, 2794}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 410, -1023, 0}, 0, { -84, 384}, {0x3b, 0x4f, 0x67, 0xff}}},
{{{ 0, -716, 512}, 0, { 1872, 302}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 410, -1023, 0}, 0, { -458, 1222}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 512, -716, 0}, 0, { 64, 2106}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 0, -1023, 410}, 0, { 986, -222}, {0x4e, 0x69, 0x7e, 0xff}}},
};
// 0x07004D80 - 0x07004DC0
static const Vtx bitdw_seg7_vertex_07004D80[] = {
{{{ 0, -716, -511}, 0, { 480, 2522}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 0, -1023, -409}, 0, { -126, 1552}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ -409, -1023, 0}, 0, { 1318, 110}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ -511, -716, 0}, 0, { 2286, 716}, {0x4e, 0x69, 0x7e, 0xff}}},
};
// 0x07004DC0 - 0x07004F70
static const Gfx bitdw_seg7_dl_07004DC0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitdw_seg7_vertex_07004630, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004720, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004810, 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, 9, 11, 10, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 13, 15, 14, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004910, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(12, 14, 13, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004A00, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 0, 2, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 8, 10, 9, 0x0, 8, 11, 10, 0x0),
gsSP2Triangles(11, 8, 7, 0x0, 12, 13, 14, 0x0),
gsSP1Triangle(13, 15, 14, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004B00, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 3, 5, 0x0),
gsSP2Triangles( 7, 5, 4, 0x0, 3, 7, 2, 0x0),
gsSPEndDisplayList(),
};
// 0x07004F70 - 0x07004FF8
static const Gfx bitdw_seg7_dl_07004F70[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09004800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitdw_seg7_vertex_07004B80, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 0, 5, 6, 0x0),
gsSP2Triangles( 0, 6, 1, 0x0, 0, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
gsSP2Triangles(12, 13, 10, 0x0, 11, 14, 10, 0x0),
gsSP2Triangles(14, 12, 10, 0x0, 13, 15, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x07004FF8 - 0x07005078
static const Gfx bitdw_seg7_dl_07004FF8[] = {
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_07004C80, 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, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPVertex(bitdw_seg7_vertex_07004D80, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07005078 - 0x070050F8
const Gfx bitdw_seg7_dl_07005078[] = {
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_07004DC0),
gsSPDisplayList(bitdw_seg7_dl_07004F70),
gsSPDisplayList(bitdw_seg7_dl_07004FF8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};