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

195 lines
11 KiB
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
// 0x07002138 - 0x07002238
static const Vtx bitdw_seg7_vertex_07002138[] = {
{{{ -613, 819, 514}, 0, { 1808, 376}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -613, 512, -509}, 0, { 1808, 990}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -613, 819, -509}, 0, { 1808, 376}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -613, 512, 514}, 0, { 1808, 990}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -1535, 819, 514}, 0, { 1808, 376}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -1535, 819, -509}, 0, { 1808, 376}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -1535, 512, -509}, 0, { 1808, 990}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -1535, 512, 514}, 0, { 1808, 990}, {0x3d, 0x41, 0x74, 0xff}}},
{{{ -613, 512, -509}, 0, { -882, 990}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -1535, 512, -509}, 0, { -882, 990}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -1535, 819, -509}, 0, { -882, 376}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -613, 819, -509}, 0, { -882, 376}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -1535, 512, 514}, 0, { 820, 990}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -613, 819, 514}, 0, { 820, 376}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -1535, 819, 514}, 0, { 820, 376}, {0x51, 0x51, 0xa8, 0xff}}},
{{{ -613, 512, 514}, 0, { 820, 990}, {0x51, 0x51, 0xa8, 0xff}}},
};
// 0x07002238 - 0x070022F8
static const Vtx bitdw_seg7_vertex_07002238[] = {
{{{ 1331, 614, 53}, 0, { 480, 990}, {0xbf, 0xd8, 0x8c, 0xff}}},
{{{ 1741, 614, -49}, 0, { -36, 0}, {0xbf, 0xd8, 0x8c, 0xff}}},
{{{ 1331, 614, -48}, 0, { 0, 990}, {0xbf, 0xd8, 0x8c, 0xff}}},
{{{ 1741, 614, 53}, 0, { 480, 0}, {0xbf, 0xd8, 0x8c, 0xff}}},
{{{ 1253, 512, 53}, 0, { 0, 990}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1741, 614, 53}, 0, { 990, -372}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1331, 614, 53}, 0, { 990, 990}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1741, 512, 53}, 0, { 0, -372}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1741, 512, -51}, 0, { 0, -372}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1331, 614, -48}, 0, { 990, 990}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1741, 614, -49}, 0, { 990, -372}, {0x70, 0x98, 0x75, 0xff}}},
{{{ 1253, 512, -48}, 0, { 0, 990}, {0x70, 0x98, 0x75, 0xff}}},
};
// 0x070022F8 - 0x070023F8
static const Vtx bitdw_seg7_vertex_070022F8[] = {
{{{ 717, 614, -304}, 0, { 982, 3024}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 717, 717, -304}, 0, { 1236, 2768}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 717, 717, 309}, 0, { -294, 1234}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 717, 614, 309}, 0, { -550, 1490}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 102, 717, 309}, 0, { -294, 1234}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 102, 819, -305}, 0, { 1496, 2516}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 102, 819, 309}, 0, { -38, 982}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 102, 717, -305}, 0, { 1240, 2770}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 102, 819, -305}, 0, { 5590, -1054}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, -716, -304}, 0, { 0, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, 819, -304}, 0, { 3800, -2842}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -1125, 512, -304}, 0, { 1756, -3354}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, 512, -304}, 0, { 3034, -2076}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 614, -304}, 0, { 6612, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 717, -305}, 0, { 5334, -798}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 307, -716, -304}, 0, { 2268, 3288}, {0x83, 0x91, 0x80, 0xff}}},
};
// 0x070023F8 - 0x070024F8
static const Vtx bitdw_seg7_vertex_070023F8[] = {
{{{ -613, -716, -304}, 0, { 1500, -542}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 819, -305}, 0, { 2864, 3202}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 717, -305}, 0, { 2694, 3032}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 614, -304}, 0, { 1500, 3884}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 717, -304}, 0, { 1672, 4054}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, 819, 309}, 0, { 3800, -2842}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, -716, 309}, 0, { 0, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 819, 309}, 0, { 5590, -1054}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 614, -304}, 0, { 6612, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 1331, 614, -304}, 0, { 8144, 2522}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 307, -716, -304}, 0, { 2268, 3288}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 614, 309}, 0, { 6612, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 717, 309}, 0, { 5334, -798}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 717, 717, 309}, 0, { 6866, 734}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 1331, 614, 309}, 0, { 8144, 2522}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 307, -716, 309}, 0, { 2268, 3288}, {0x83, 0x91, 0x80, 0xff}}},
};
// 0x070024F8 - 0x070025D8
static const Vtx bitdw_seg7_vertex_070024F8[] = {
{{{ -613, 512, 309}, 0, { 3034, -2076}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -1125, 512, 309}, 0, { 1756, -3354}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, -716, 309}, 0, { 0, 990}, {0x83, 0x91, 0x80, 0xff}}},
{{{ -613, -716, 309}, 0, { 480, 1498}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 717, 309}, 0, { -712, -2076}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 102, 819, 309}, 0, { -882, -2246}, {0x83, 0x91, 0x80, 0xff}}},
{{{ 307, -716, -304}, 0, { -2338, 6344}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 1331, 614, -304}, 0, { 982, 3024}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 1331, 614, 309}, 0, { -550, 1490}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 307, -716, 309}, 0, { -3872, 4812}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 717, 717, -304}, 0, { 4822, -798}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 102, 717, 309}, 0, { 1756, -798}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 717, 717, 309}, 0, { 3290, -2332}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 102, 717, -304}, 0, { 3290, 734}, {0xcd, 0xdf, 0xcc, 0xff}}},
};
// 0x070025D8 - 0x07002658
static const Vtx bitdw_seg7_vertex_070025D8[] = {
{{{ 1331, 614, -304}, 0, { 6356, -2332}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 717, 614, -304}, 0, { 4822, -798}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 717, 614, 309}, 0, { 3290, -2332}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 1331, 614, 309}, 0, { 4822, -3864}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 102, 819, -304}, 0, { 3290, 734}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ -613, 819, 309}, 0, { 0, 990}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 102, 819, 309}, 0, { 1756, -798}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ -613, 819, -304}, 0, { 1502, 2522}, {0xcd, 0xdf, 0xcc, 0xff}}},
};
// 0x07002658 - 0x07002698
static const Vtx bitdw_seg7_vertex_07002658[] = {
{{{ -613, 819, -509}, 0, { 4566, -4120}, {0x79, 0x9f, 0xeb, 0xff}}},
{{{ -1535, 819, -509}, 0, { 0, -4120}, {0x79, 0x9f, 0xeb, 0xff}}},
{{{ -1535, 819, 514}, 0, { 0, 990}, {0x79, 0x9f, 0xeb, 0xff}}},
{{{ -613, 819, 514}, 0, { 4568, 990}, {0x79, 0x9f, 0xeb, 0xff}}},
};
// 0x07002698 - 0x07002700
static const Gfx bitdw_seg7_dl_07002698[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitdw_seg7_vertex_07002138, 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, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x07002700 - 0x07002758
static const Gfx bitdw_seg7_dl_07002700[] = {
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_07002238, 12, 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),
gsSPEndDisplayList(),
};
// 0x07002758 - 0x07002868
static const Gfx bitdw_seg7_dl_07002758[] = {
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_070022F8, 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, 9, 11, 12, 0x0),
gsSP2Triangles(13, 9, 14, 0x0, 9, 13, 15, 0x0),
gsSPVertex(bitdw_seg7_vertex_070023F8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 8, 9, 10, 0x0),
gsSP2Triangles( 6, 11, 12, 0x0, 12, 11, 13, 0x0),
gsSP2Triangles(14, 11, 15, 0x0, 11, 6, 15, 0x0),
gsSPVertex(bitdw_seg7_vertex_070024F8, 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),
gsSPVertex(bitdw_seg7_vertex_070025D8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07002868 - 0x070028A0
static const Gfx bitdw_seg7_dl_07002868[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitdw_seg7_vertex_07002658, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x070028A0 - 0x07002928
const Gfx bitdw_seg7_dl_070028A0[] = {
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_07002698),
gsSPDisplayList(bitdw_seg7_dl_07002700),
gsSPDisplayList(bitdw_seg7_dl_07002758),
gsSPDisplayList(bitdw_seg7_dl_07002868),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};