sm64pc/levels/ttm/areas/1/17/1.inc.c

149 lines
8.6 KiB
C

// 0x0700ECC8 - 0x0700ED98
static const Vtx ttm_seg7_vertex_0700ECC8[] = {
{{{ 262, 151, -248}, 0, { -1684, 960}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 151, -286}, 0, { -770, -1426}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 202, -479}, 0, { -2444, -2382}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 202, -408}, 0, { -4118, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -23, 130, -3}, 0, { 828, -280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 151, 192}, 0, { 2428, 866}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 202, 388}, 0, { 4028, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -256, 151, 154}, 0, { 3342, -1520}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 202, 312}, 0, { 5854, -2760}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 222, -408}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 222, 312}, 0, { 3778, 4994}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 222, 388}, 0, { 3776, 2438}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 222, -479}, 0, { 0, 3338}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700ED98 - 0x0700EE88
static const Vtx ttm_seg7_vertex_0700ED98[] = {
{{{ -2, 253, 192}, 0, { -730, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 99, 192}, 0, { -730, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 99, -248}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 151, -408}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 253, -479}, 0, { 4670, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 253, -408}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 151, -479}, 0, { 4670, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 253, -479}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 151, 312}, 0, { 8278, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 253, 312}, 0, { 8278, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 151, -479}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 253, 388}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 151, -408}, 0, { 8116, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 253, -408}, 0, { 8116, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 151, 388}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700EE88 - 0x0700EF78
static const Vtx ttm_seg7_vertex_0700EE88[] = {
{{{ -254, 253, 152}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -254, 99, 152}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 99, 192}, 0, { 1664, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 253, 192}, 0, { -730, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 99, -248}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 253, -248}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 253, -286}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -254, 99, 152}, 0, { 2694, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -254, 253, 152}, 0, { 2694, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 99, -286}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 253, -248}, 0, { 308, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 99, -248}, 0, { 308, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 99, -286}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 253, -286}, 0, { 2012, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 253, 192}, 0, { 1664, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700EF78 - 0x0700F068
static const Vtx ttm_seg7_vertex_0700EF78[] = {
{{{ -2, 99, 192}, 0, { 0, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 99, 388}, 0, { 1280, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 253, 388}, 0, { 1280, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 99, -408}, 0, { -776, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 99, -248}, 0, { 990, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 474, 253, -408}, 0, { -776, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 262, 253, -248}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 253, -479}, 0, { -1314, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 99, -479}, 0, { -1314, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 253, -286}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 99, -286}, 0, { 0, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -254, 253, 152}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -254, 99, 152}, 0, { 0, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 99, 312}, 0, { 1852, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 253, 312}, 0, { 1852, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700F068 - 0x0700F0D8
static const Vtx ttm_seg7_vertex_0700F068[] = {
{{{ -488, 253, 312}, 0, { 16, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -488, 151, 312}, 0, { 16, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 151, 388}, 0, { 5126, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 253, 192}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2, 99, 192}, 0, { 0, 2010}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 253, 388}, 0, { 1280, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 18, 253, 388}, 0, { 5126, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700F0D8 - 0x0700F170
static const Gfx ttm_seg7_dl_0700F0D8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ttm_seg7_texture_07001000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(ttm_seg7_vertex_0700ECC8, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 5, 4, 0x0),
gsSP2Triangles( 0, 6, 5, 0x0, 0, 3, 6, 0x0),
gsSP2Triangles( 7, 5, 6, 0x0, 7, 4, 5, 0x0),
gsSP2Triangles( 1, 4, 7, 0x0, 7, 6, 8, 0x0),
gsSP2Triangles( 1, 7, 8, 0x0, 1, 8, 2, 0x0),
gsSP2Triangles( 9, 10, 11, 0x0, 9, 12, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x0700F170 - 0x0700F270
static const Gfx ttm_seg7_dl_0700F170[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_0900A000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(ttm_seg7_vertex_0700ED98, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(ttm_seg7_vertex_0700EE88, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSP1Triangle( 0, 2, 14, 0x0),
gsSPVertex(ttm_seg7_vertex_0700EF78, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(ttm_seg7_vertex_0700F068, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 2, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x0700F270 - 0x0700F300
const Gfx ttm_seg7_dl_0700F270[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
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_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(ttm_seg7_dl_0700F0D8),
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(ttm_seg7_dl_0700F170),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};