sm64coopdx/levels/bitdw/areas/1/narrow_path_platform/model.inc.c
2019-11-03 14:36:27 -05:00

155 lines
8.9 KiB
C

// 0x0700A718 - 0x0700A818
static const Vtx bitdw_seg7_vertex_0700A718[] = {
{{{ 102, 102, 102}, 0, { 18, 836}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -420, 162, -49}, 0, { 82, -532}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ 102, 102, 307}, 0, { 990, 990}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -565, 162, 95}, 0, { 990, -766}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -995, 314, -334}, 0, { 990, -574}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -565, 162, 95}, 0, { 990, 990}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -420, 162, -49}, 0, { 0, 990}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -850, 314, -479}, 0, { 0, -574}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ 102, 102, 102}, 0, { 0, 62}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ 717, 102, 307}, 0, { 990, 990}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ 717, 102, 102}, 0, { 0, 990}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ 102, 102, 307}, 0, { 990, 0}, {0x8e, 0xac, 0x52, 0xff}}},
{{{ -565, 60, 95}, 0, { 1012, -744}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ -420, 60, -49}, 0, { 104, -510}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 102, 0, 102}, 0, { 40, 858}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 102, 0, 307}, 0, { 1012, 1010}, {0x3a, 0x47, 0x2d, 0xff}}},
};
// 0x0700A818 - 0x0700A918
static const Vtx bitdw_seg7_vertex_0700A818[] = {
{{{ -565, 60, 95}, 0, { 990, 1050}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ -1065, 236, -404}, 0, { 990, -512}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ -920, 236, -549}, 0, { 0, -512}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ -420, 60, -49}, 0, { 0, 1050}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 717, 0, 102}, 0, { 0, 990}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 717, 0, 307}, 0, { 990, 990}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 102, 0, 307}, 0, { 990, -542}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 102, 0, 102}, 0, { 0, -544}, {0x3a, 0x47, 0x2d, 0xff}}},
{{{ 717, 0, 102}, 0, { -1308, 606}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 102, 102, 102}, 0, { -158, 734}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 717, 102, 102}, 0, { -1308, 352}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 102, 0, 102}, 0, { -158, 990}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 102, 102, 307}, 0, { 0, 734}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 717, 0, 307}, 0, { -1308, 606}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 717, 102, 307}, 0, { -1308, 352}, {0x4d, 0x6f, 0x2d, 0xff}}},
{{{ 102, 0, 307}, 0, { 0, 990}, {0x4d, 0x6f, 0x2d, 0xff}}},
};
// 0x0700A918 - 0x0700AA18
static const Vtx bitdw_seg7_vertex_0700A918[] = {
{{{ -420, 60, -49}, 0, { 1352, 1244}, {0x47, 0x61, 0x15, 0xff}}},
{{{ -420, 162, -49}, 0, { 1352, 990}, {0x47, 0x61, 0x15, 0xff}}},
{{{ 102, 102, 102}, 0, { 2658, 1136}, {0x47, 0x61, 0x15, 0xff}}},
{{{ 102, 0, 102}, 0, { 2658, 1392}, {0x47, 0x61, 0x15, 0xff}}},
{{{ -565, 162, 95}, 0, { 1636, 720}, {0x47, 0x61, 0x15, 0xff}}},
{{{ -565, 60, 95}, 0, { 1636, 890}, {0x47, 0x61, 0x15, 0xff}}},
{{{ 102, 0, 307}, 0, { 0, 990}, {0x47, 0x61, 0x15, 0xff}}},
{{{ 102, 102, 307}, 0, { 0, 820}, {0x47, 0x61, 0x15, 0xff}}},
{{{ -420, 162, -49}, 0, { 1352, 990}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -420, 60, -49}, 0, { 1352, 1244}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -850, 314, -479}, 0, { 278, 610}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -920, 236, -549}, 0, { 102, 804}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -995, 314, -334}, 0, { -82, 610}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -565, 60, 95}, 0, { 990, 1244}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -565, 162, 95}, 0, { 990, 990}, {0x44, 0x5f, 0x25, 0xff}}},
{{{ -1065, 236, -404}, 0, { -256, 804}, {0x44, 0x5f, 0x25, 0xff}}},
};
// 0x0700AA18 - 0x0700AAF8
static const Vtx bitdw_seg7_vertex_0700AA18[] = {
{{{ 1126, 0, 0}, 0, { -90, 1042}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 1189, -168, 94}, 0, { -18, 1254}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 717, 0, 102}, 0, { 562, 512}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 717, 0, 307}, 0, { 888, 758}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 1189, -168, 315}, 0, { 336, 1520}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 1126, 0, 410}, 0, { 562, 1532}, {0x4e, 0x69, 0x7e, 0xff}}},
{{{ 717, 102, 307}, 0, { 820, 1498}, {0x74, 0xb2, 0xbd, 0xff}}},
{{{ 1126, 102, 410}, 0, { 0, 990}, {0x74, 0xb2, 0xbd, 0xff}}},
{{{ 1126, 102, 0}, 0, { 650, 308}, {0x74, 0xb2, 0xbd, 0xff}}},
{{{ 717, 102, 102}, 0, { 1160, 1158}, {0x74, 0xb2, 0xbd, 0xff}}},
{{{ 717, 0, 102}, 0, { 562, 512}, {0x27, 0x35, 0x3e, 0xff}}},
{{{ 1189, -168, 315}, 0, { 336, 1520}, {0x27, 0x35, 0x3e, 0xff}}},
{{{ 717, 0, 307}, 0, { 888, 758}, {0x27, 0x35, 0x3e, 0xff}}},
{{{ 1189, -168, 94}, 0, { -18, 1254}, {0x27, 0x35, 0x3e, 0xff}}},
};
// 0x0700AAF8 - 0x0700AB78
static const Vtx bitdw_seg7_vertex_0700AAF8[] = {
{{{ 717, 0, 307}, 0, { 0, 480}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 1126, 102, 410}, 0, { 1246, 1244}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 717, 102, 307}, 0, { 224, 224}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 1126, 0, 410}, 0, { 990, 1498}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 1126, 0, 0}, 0, { 990, 1498}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 717, 102, 102}, 0, { 224, 224}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 1126, 102, 0}, 0, { 1246, 1244}, {0x2d, 0x5e, 0x7c, 0xff}}},
{{{ 717, 0, 102}, 0, { 0, 480}, {0x2d, 0x5e, 0x7c, 0xff}}},
};
// 0x0700AB78 - 0x0700AC70
static const Gfx bitdw_seg7_dl_0700AB78[] = {
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(bitdw_seg7_vertex_0700A718, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 15, 12, 14, 0x0),
gsSPVertex(bitdw_seg7_vertex_0700A818, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 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_0700A918, 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, 9, 11, 10, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x0700AC70 - 0x0700ACC8
static const Gfx bitdw_seg7_dl_0700AC70[] = {
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(bitdw_seg7_vertex_0700AA18, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPEndDisplayList(),
};
// 0x0700ACC8 - 0x0700AD10
static const Gfx bitdw_seg7_dl_0700ACC8[] = {
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_0700AAF8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0700AD10 - 0x0700AD90
const Gfx bitdw_seg7_dl_0700AD10[] = {
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_0700AB78),
gsSPDisplayList(bitdw_seg7_dl_0700AC70),
gsSPDisplayList(bitdw_seg7_dl_0700ACC8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};