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

230 lines
14 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x07005C40 - 0x07005D40
static const Vtx bitdw_seg7_vertex_07005C40[] = {
{{{ -153, 435, -716}, 0, { 1672, -1054}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -562, 435, -716}, 0, { 308, -1054}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -869, 435, -409}, 0, { -712, -616}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ 154, 435, -409}, 0, { 2694, -616}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ 154, 435, 410}, 0, { 2694, 552}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -869, 435, 410}, 0, { -712, 552}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -562, 435, 717}, 0, { 308, 990}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -153, 435, 717}, 0, { 1672, 990}, {0xff, 0xff, 0xa8, 0xff}}},
{{{ -869, 128, -409}, 0, { -712, -616}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 154, 128, -409}, 0, { 2694, -616}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 154, 128, 410}, 0, { 2694, 552}, {0x52, 0x70, 0xac, 0xff}}},
{{{ -562, 128, 717}, 0, { 308, 990}, {0x52, 0x70, 0xac, 0xff}}},
{{{ -869, 128, 410}, 0, { -712, 552}, {0x52, 0x70, 0xac, 0xff}}},
{{{ -562, 128, -716}, 0, { 308, -1054}, {0x52, 0x70, 0xac, 0xff}}},
{{{ -153, 128, -716}, 0, { 1672, -1054}, {0x52, 0x70, 0xac, 0xff}}},
{{{ -153, 128, 717}, 0, { 1672, 990}, {0x52, 0x70, 0xac, 0xff}}},
};
// 0x07005D40 - 0x07005E40
static const Vtx bitdw_seg7_vertex_07005D40[] = {
{{{ 358, 333, -306}, 0, { 1864, 160}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 672, 218, -306}, 0, { 1150, 490}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 672, 13, -306}, 0, { 808, 150}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 1178, 218, -306}, 0, { 308, 1328}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 1178, 13, -306}, 0, { 0, 990}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 154, 128, -306}, 0, { 1864, -522}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 672, 13, 307}, 0, { 808, 150}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 1178, 13, 307}, 0, { 0, 990}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 1178, 218, 307}, 0, { 308, 1328}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 672, 218, 307}, 0, { 1150, 490}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 154, 128, 307}, 0, { 1864, -522}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 358, 333, 307}, 0, { 1864, 160}, {0x7c, 0x89, 0x79, 0xff}}},
{{{ 1178, 13, -306}, 0, { 1160, 1840}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 1178, 218, -306}, 0, { 1502, 1498}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 1178, 218, 307}, 0, { 478, 478}, {0x68, 0x7b, 0x6e, 0xff}}},
{{{ 1178, 13, 307}, 0, { 138, 820}, {0x68, 0x7b, 0x6e, 0xff}}},
};
// 0x07005E40 - 0x07005F20
static const Vtx bitdw_seg7_vertex_07005E40[] = {
{{{ 672, 13, -306}, 0, { 150, 1828}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 1178, 13, 307}, 0, { 0, 0}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 672, 13, 307}, 0, { -870, 808}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 154, 128, -306}, 0, { -712, 2692}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 1178, 13, -306}, 0, { 990, 990}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 154, 128, 307}, 0, { -1734, 1670}, {0x38, 0x4a, 0x3d, 0xff}}},
{{{ 672, 218, 307}, 0, { -870, 808}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 1178, 218, 307}, 0, { 0, 0}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 1178, 218, -306}, 0, { 990, 990}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 672, 218, -306}, 0, { 150, 1828}, {0xcd, 0xdf, 0xcc, 0xff}}},
{{{ 358, 333, 307}, 0, { -1392, 1328}, {0xb7, 0xcd, 0xba, 0xff}}},
{{{ 672, 218, -306}, 0, { 150, 1828}, {0xb7, 0xcd, 0xba, 0xff}}},
{{{ 358, 333, -306}, 0, { -370, 2350}, {0xb7, 0xcd, 0xba, 0xff}}},
{{{ 672, 218, 307}, 0, { -870, 808}, {0xb7, 0xcd, 0xba, 0xff}}},
};
// 0x07005F20 - 0x07006010
static const Vtx bitdw_seg7_vertex_07005F20[] = {
{{{ -665, 333, -921}, 0, { 0, 990}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -562, 435, -716}, 0, { 308, 0}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -153, 435, -716}, 0, { 990, 0}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -50, 333, -921}, 0, { 990, 990}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -665, 333, 922}, 0, { 990, 990}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -50, 333, 922}, 0, { 0, 990}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -562, 435, 717}, 0, { 820, -26}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -153, 435, 717}, 0, { 138, -26}, {0xc7, 0xee, 0xff, 0xff}}},
{{{ -665, 333, 922}, 0, { 0, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -562, 435, 717}, 0, { 96, -30}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -869, 435, 410}, 0, { 862, -30}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -562, 435, -716}, 0, { 990, 0}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -665, 333, -921}, 0, { 990, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -1074, 333, -511}, 0, { 0, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -869, 435, -409}, 0, { 224, 0}, {0xa0, 0xd8, 0xff, 0xff}}},
};
// 0x07006010 - 0x070060F0
static const Vtx bitdw_seg7_vertex_07006010[] = {
{{{ -50, 333, -921}, 0, { 0, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -153, 435, -716}, 0, { 96, -30}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ 154, 435, -409}, 0, { 862, -30}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ 358, 333, -511}, 0, { 990, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -153, 435, 717}, 0, { 990, 0}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -50, 333, 922}, 0, { 990, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ 358, 333, 512}, 0, { 0, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ 154, 435, 410}, 0, { 224, 0}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -1074, 333, 512}, 0, { 990, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -665, 333, 922}, 0, { 0, 990}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -869, 435, 410}, 0, { 862, -30}, {0xa0, 0xd8, 0xff, 0xff}}},
{{{ -869, 435, 410}, 0, { 308, 0}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -869, 435, -409}, 0, { 990, 0}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -1074, 333, -511}, 0, { 990, 990}, {0x82, 0xc2, 0xff, 0xff}}},
};
// 0x070060F0 - 0x070061E0
static const Vtx bitdw_seg7_vertex_070060F0[] = {
{{{ -562, 128, 717}, 0, { 820, 584}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -153, 128, 717}, 0, { 138, 584}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -50, 333, 922}, 0, { 0, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -665, 333, 922}, 0, { 990, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -153, 128, -716}, 0, { 888, 582}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -665, 333, -921}, 0, { 0, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -50, 333, -921}, 0, { 990, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -562, 128, -716}, 0, { 206, 582}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ 358, 333, -511}, 0, { 0, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ 154, 435, -409}, 0, { 138, -48}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ 358, 333, 512}, 0, { 990, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ 154, 435, 410}, 0, { 820, -48}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -1074, 333, 512}, 0, { 0, 990}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -869, 435, 410}, 0, { 308, 0}, {0x82, 0xc2, 0xff, 0xff}}},
{{{ -1074, 333, -511}, 0, { 990, 990}, {0x82, 0xc2, 0xff, 0xff}}},
};
// 0x070061E0 - 0x070062E0
static const Vtx bitdw_seg7_vertex_070061E0[] = {
{{{ -869, 128, 410}, 0, { 862, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -665, 333, 922}, 0, { 0, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -1074, 333, 512}, 0, { 990, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -562, 128, 717}, 0, { 96, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ 358, 333, 512}, 0, { 0, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -153, 128, 717}, 0, { 920, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ 154, 128, 410}, 0, { 154, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -50, 333, 922}, 0, { 990, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ 154, 128, -409}, 0, { 862, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -153, 128, -716}, 0, { 96, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -50, 333, -921}, 0, { 0, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ 358, 333, -511}, 0, { 990, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -1074, 333, -511}, 0, { 0, 990}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -562, 128, -716}, 0, { 920, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -869, 128, -409}, 0, { 154, 526}, {0x69, 0xb4, 0xff, 0xff}}},
{{{ -665, 333, -921}, 0, { 990, 990}, {0x69, 0xb4, 0xff, 0xff}}},
};
// 0x070062E0 - 0x07006360
static const Vtx bitdw_seg7_vertex_070062E0[] = {
{{{ 358, 333, 512}, 0, { 0, 990}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ 154, 128, 410}, 0, { 206, 582}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ 358, 333, -511}, 0, { 990, 990}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ 154, 128, -409}, 0, { 888, 582}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ -1074, 333, -511}, 0, { 990, 990}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ -869, 128, 410}, 0, { 206, 582}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ -1074, 333, 512}, 0, { 0, 990}, {0x5f, 0x9c, 0xff, 0xff}}},
{{{ -869, 128, -409}, 0, { 888, 582}, {0x5f, 0x9c, 0xff, 0xff}}},
};
// 0x07006360 - 0x070063E8
static const Gfx bitdw_seg7_dl_07006360[] = {
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_07005C40, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 3, 2, 0x0, 5, 6, 2, 0x0),
gsSP2Triangles( 6, 7, 2, 0x0, 7, 4, 2, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 12, 0x0),
gsSP2Triangles( 8, 13, 14, 0x0, 8, 15, 11, 0x0),
gsSP2Triangles( 8, 14, 9, 0x0, 8, 10, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x070063E8 - 0x070064A8
static const Gfx bitdw_seg7_dl_070063E8[] = {
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_07005D40, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 0, 2, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP2Triangles(10, 6, 9, 0x0, 10, 9, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitdw_seg7_vertex_07005E40, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 3, 2, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPEndDisplayList(),
};
// 0x070064A8 - 0x070065F0
static const Gfx bitdw_seg7_dl_070064A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07001000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitdw_seg7_vertex_07005F20, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(14, 11, 13, 0x0),
gsSPVertex(bitdw_seg7_vertex_07006010, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(bitdw_seg7_vertex_070060F0, 15, 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, 10, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(bitdw_seg7_vertex_070061E0, 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, 15, 13, 0x0),
gsSPVertex(bitdw_seg7_vertex_070062E0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x070065F0 - 0x07006670
const Gfx bitdw_seg7_dl_070065F0[] = {
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_07006360),
gsSPDisplayList(bitdw_seg7_dl_070063E8),
gsSPDisplayList(bitdw_seg7_dl_070064A8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};