sm64pc/levels/rr/areas/1/17/model.inc.c

176 lines
10 KiB
C
Raw Permalink Normal View History

2020-05-05 12:15:53 +00:00
// 0x07014FA8 - 0x070150A8
static const Vtx rr_seg7_vertex_07014FA8[] = {
{{{ 3077, -315, -751}, 0, { -1052, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2668, -315, -136}, 0, { 990, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 3077, -315, -136}, 0, { 990, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2668, -315, -751}, 0, { -1052, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2081, 1114, -765}, 0, { -1052, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 1672, 1114, -150}, 0, { 990, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2081, 1114, -150}, 0, { 990, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 1672, 1114, -765}, 0, { -1052, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2081, -162, -150}, 0, { 990, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 1672, -162, -150}, 0, { 990, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 1672, -162, -765}, 0, { -1052, 990}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2081, -162, -765}, 0, { -1052, 0}, {0xbf, 0xbf, 0x3f, 0xff}}},
{{{ 2668, -1083, -751}, 0, { -1052, 990}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 3077, -1083, -751}, 0, { -1052, 0}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 3077, -1083, -136}, 0, { 990, 0}, {0xbf, 0xaa, 0x3f, 0xff}}},
{{{ 2668, -1083, -136}, 0, { 990, 990}, {0xbf, 0xaa, 0x3f, 0xff}}},
};
// 0x070150A8 - 0x07015198
static const Vtx rr_seg7_vertex_070150A8[] = {
{{{ 1672, 1062, -765}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, 1114, -765}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, 1114, -765}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, -162, -765}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, -111, -765}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, -111, -765}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, -162, -765}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, -162, -150}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, -111, -150}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, -162, -150}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, -111, -150}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, 1062, -150}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, 1114, -150}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, 1062, -150}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, 1114, -150}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
};
// 0x07015198 - 0x07015288
static const Vtx rr_seg7_vertex_07015198[] = {
{{{ 3077, -1083, -136}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -1032, -136}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -1083, -136}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, 1062, -765}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, 1114, -765}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2081, 1062, -765}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -367, -751}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -315, -751}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -315, -751}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -367, -751}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -367, -136}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -315, -136}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -367, -136}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -315, -136}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -1032, -136}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
};
// 0x07015288 - 0x07015378
static const Vtx rr_seg7_vertex_07015288[] = {
{{{ 2668, -1083, -751}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 2668, -1032, -751}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -1032, -751}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 3077, -1083, -751}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1672, 1062, -150}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, 1114, -765}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, 1062, -765}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, -162, -150}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, -111, -765}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, -162, -765}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, -111, -150}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, -162, -765}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, -111, -150}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, -162, -150}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, -111, -765}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07015378 - 0x07015458
static const Vtx rr_seg7_vertex_07015378[] = {
{{{ 2081, 1062, -765}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, 1114, -765}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, 1114, -150}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2081, 1062, -150}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1083, -751}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1032, -751}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1032, -136}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, 1062, -150}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, 1114, -150}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1672, 1114, -765}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -367, -136}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -315, -136}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -315, -751}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -367, -751}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07015458 - 0x07015508
static const Vtx rr_seg7_vertex_07015458[] = {
{{{ 3077, -367, -751}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -315, -751}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -315, -136}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -367, -136}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1083, -751}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1032, -136}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 3077, -1083, -136}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -1083, -136}, 0, { 224, -2076}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -1032, -751}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -1083, -751}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 2668, -1032, -136}, 0, { 0, -2076}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07015508 - 0x07015570
static const Gfx rr_seg7_dl_07015508[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_07014FA8, 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, 14, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x07015570 - 0x070156B8
static const Gfx rr_seg7_dl_07015570[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_070150A8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_07015198, 15, 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),
gsSP1Triangle( 0, 14, 1, 0x0),
gsSPVertex(rr_seg7_vertex_07015288, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_07015378, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_07015458, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP1Triangle( 7, 10, 8, 0x0),
gsSPEndDisplayList(),
};
// 0x070156B8 - 0x07015748
const Gfx rr_seg7_dl_070156B8[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
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_CLAMP, 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_07015508),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(rr_seg7_dl_07015570),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};