sm64/levels/rr/swinging_platform/model.inc.c
2019-11-03 14:36:27 -05:00

186 lines
10 KiB
C

// 0x070193F0 - 0x070194F0
static const Vtx rr_seg7_vertex_070193F0[] = {
{{{ -48, 102, -101}, 0, { -3096, 172}, {0xec, 0xef, 0x8e, 0xff}}},
{{{ 54, 102, 0}, 0, { -3096, 0}, {0xec, 0xef, 0x8e, 0xff}}},
{{{ 54, 102, -101}, 0, { -3096, 0}, {0xec, 0xef, 0x8e, 0xff}}},
{{{ -48, 102, 0}, 0, { -3096, 172}, {0xec, 0xef, 0x8e, 0xff}}},
{{{ 54, -101, -76}, 0, { 1118, 862}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 54, -101, -25}, 0, { 1374, 606}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 54, -1023, -25}, 0, { 1374, 606}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 54, -921, -76}, 0, { 1118, 862}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -48, -921, -76}, 0, { 606, 352}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -48, -101, -25}, 0, { 862, 96}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -48, -101, -76}, 0, { 606, 352}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -48, -1023, -25}, 0, { 862, 96}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -48, -1023, -25}, 0, { 862, 96}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 54, -101, -25}, 0, { 1374, 606}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -48, -101, -25}, 0, { 862, 96}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 54, -1023, -25}, 0, { 1374, 606}, {0xc8, 0xc8, 0xc8, 0xff}}},
};
// 0x070194F0 - 0x070195F0
static const Vtx rr_seg7_vertex_070194F0[] = {
{{{ -48, -101, -76}, 0, { 606, 352}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 54, -101, -76}, 0, { 1118, 862}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 54, -921, -76}, 0, { 1118, 862}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -48, -921, -76}, 0, { 606, 352}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 54, 102, -101}, 0, { -3096, 0}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ 54, 102, 0}, 0, { -3096, 0}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ 120, 0, 0}, 0, { -2074, 40}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ 120, 0, -101}, 0, { -2074, 40}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ -114, 0, -101}, 0, { -2074, 510}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ -114, 0, 0}, 0, { -2074, 510}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ -48, 102, 0}, 0, { -3096, 172}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ -48, 102, -101}, 0, { -3096, 172}, {0xff, 0xe5, 0x65, 0xff}}},
{{{ 120, 0, -101}, 0, { -2074, 40}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 120, 0, 0}, 0, { -2074, 40}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 54, -101, 0}, 0, { -1052, 376}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 54, -101, -101}, 0, { -1052, 376}, {0xbf, 0xaa, 0x3f, 0xff}}},
};
// 0x070195F0 - 0x070196F0
static const Vtx rr_seg7_vertex_070195F0[] = {
{{{ -48, -101, -101}, 0, { -1052, 582}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ -48, -101, 0}, 0, { -1052, 582}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ -114, 0, 0}, 0, { -2074, 510}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ -114, 0, -101}, 0, { -2074, 510}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ -48, 102, 0}, 0, { -3096, 172}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 54, -101, 0}, 0, { -1052, 376}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 120, 0, 0}, 0, { -2074, 40}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -48, -101, 0}, 0, { -1052, 582}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -114, 0, 0}, 0, { -2074, 510}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 54, 102, 0}, 0, { -3096, 0}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -48, -101, -101}, 0, { -1052, 582}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 120, 0, -101}, 0, { -2074, 40}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 54, -101, -101}, 0, { -1052, 376}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ 54, 102, -101}, 0, { -3096, 0}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -48, 102, -101}, 0, { -3096, 172}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -114, 0, -101}, 0, { -2074, 510}, {0xff, 0xd4, 0x00, 0xff}}},
};
// 0x070196F0 - 0x07019730
static const Vtx rr_seg7_vertex_070196F0[] = {
{{{ 54, -101, -101}, 0, { -1052, 376}, {0x6e, 0x6e, 0x00, 0xff}}},
{{{ 54, -101, 0}, 0, { -1052, 376}, {0x6e, 0x6e, 0x00, 0xff}}},
{{{ -48, -101, 0}, 0, { -1052, 582}, {0x6e, 0x6e, 0x00, 0xff}}},
{{{ -48, -101, -101}, 0, { -1052, 582}, {0x6e, 0x6e, 0x00, 0xff}}},
};
// 0x07019730 - 0x070197B0
static const Vtx rr_seg7_vertex_07019730[] = {
{{{ 515, -921, -25}, 0, { 0, -5142}, {0xad, 0xbb, 0xd1, 0xff}}},
{{{ -508, -921, 589}, 0, { 10188, 990}, {0xad, 0xbb, 0xd1, 0xff}}},
{{{ 515, -921, 589}, 0, { 0, 990}, {0xad, 0xbb, 0xd1, 0xff}}},
{{{ -508, -921, -25}, 0, { 10188, -5142}, {0xad, 0xbb, 0xd1, 0xff}}},
{{{ 412, -1023, 589}, 0, { 480, 990}, {0x3d, 0x3c, 0x72, 0xff}}},
{{{ -406, -1023, -25}, 0, { 9678, -5142}, {0x3d, 0x3c, 0x72, 0xff}}},
{{{ 412, -1023, -25}, 0, { 480, -5142}, {0x3d, 0x3c, 0x72, 0xff}}},
{{{ -406, -1023, 589}, 0, { 9678, 990}, {0x3d, 0x3c, 0x72, 0xff}}},
};
// 0x070197B0 - 0x070198B0
static const Vtx rr_seg7_vertex_070197B0[] = {
{{{ 515, -921, -25}, 0, { 12232, 750}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ 412, -1023, -25}, 0, { 12232, 990}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -406, -1023, -25}, 0, { 12232, 990}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -508, -921, -25}, 0, { 12232, 750}, {0x8c, 0x98, 0xd8, 0xff}}},
{{{ -508, -921, 589}, 0, { 0, 750}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ -406, -1023, 589}, 0, { 0, 990}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 412, -1023, 589}, 0, { 0, 990}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 515, -921, 589}, 0, { 0, 750}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ -508, -921, -25}, 0, { 2140, 734}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -406, -1023, 589}, 0, { 2012, 990}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -508, -921, 589}, 0, { 2140, 734}, {0x52, 0x61, 0xac, 0xff}}},
{{{ -406, -1023, -25}, 0, { 2012, 990}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 515, -921, 589}, 0, { 2012, 734}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 412, -1023, -25}, 0, { 2012, 990}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 515, -921, -25}, 0, { 2012, 734}, {0x52, 0x61, 0xac, 0xff}}},
{{{ 412, -1023, 589}, 0, { 2012, 990}, {0x52, 0x61, 0xac, 0xff}}},
};
// 0x070198B0 - 0x070198F0
static const Vtx rr_seg7_vertex_070198B0[] = {
{{{ 54, -921, -76}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -48, -1023, -25}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -48, -921, -76}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 54, -1023, -25}, 0, { 0, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x070198F0 - 0x07019A10
static const Gfx rr_seg7_dl_070198F0[] = {
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(rr_seg7_vertex_070193F0, 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, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPVertex(rr_seg7_vertex_070194F0, 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, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_070195F0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 4, 8, 7, 0x0, 4, 6, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSP2Triangles(10, 14, 13, 0x0, 10, 15, 14, 0x0),
gsSPVertex(rr_seg7_vertex_070196F0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07019A10 - 0x07019A58
static const Gfx rr_seg7_dl_07019A10[] = {
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(rr_seg7_vertex_07019730, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07019A58 - 0x07019AC0
static const Gfx rr_seg7_dl_07019A58[] = {
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(rr_seg7_vertex_070197B0, 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),
gsSPEndDisplayList(),
};
// 0x07019AC0 - 0x07019AE0
static const Gfx rr_seg7_dl_07019AC0[] = {
gsSPVertex(rr_seg7_vertex_070198B0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x07019AE0 - 0x07019B68
const Gfx rr_seg7_dl_07019AE0[] = {
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(rr_seg7_dl_070198F0),
gsSPDisplayList(rr_seg7_dl_07019A10),
gsSPDisplayList(rr_seg7_dl_07019A58),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(rr_seg7_dl_07019AC0),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};