sm64coopdx/levels/hmc/areas/1/14/model.inc.c

182 lines
11 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x07014370 - 0x07014460
static const Vtx hmc_seg7_vertex_07014370[] = {
{{{ 4629, -460, -767}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4752, -460, -767}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4752, -255, -767}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5120, -357, -5559}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4916, -357, -5559}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4916, -562, -5559}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5120, -562, -5559}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5018, -357, -5498}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5018, -357, -5621}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5018, -562, -5621}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5018, -562, -5498}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4690, -460, -869}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4690, -255, -665}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4690, -255, -869}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4690, -460, -665}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014460 - 0x07014550
static const Vtx hmc_seg7_vertex_07014460[] = {
{{{ 4936, -255, -4249}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4936, -460, -4044}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4936, -460, -4249}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4629, -460, -767}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4752, -255, -767}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4629, -255, -767}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -357, -2713}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -357, -2508}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -562, -2508}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -562, -2713}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, -357, -2610}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, -357, -2610}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, -562, -2610}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, -562, -2610}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4936, -255, -4044}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014550 - 0x07014640
static const Vtx hmc_seg7_vertex_07014550[] = {
{{{ 3462, -357, -1228}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3462, -357, -1023}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3462, -153, -1023}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4998, -255, -4146}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4875, -255, -4146}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4875, -460, -4146}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4998, -460, -4146}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4178, -357, -3839}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4178, -153, -3634}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4178, -153, -3839}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4178, -357, -3634}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4117, -357, -3737}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4240, -357, -3737}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4240, -153, -3737}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 4117, -153, -3737}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014640 - 0x07014730
static const Vtx hmc_seg7_vertex_07014640[] = {
{{{ 1997, 768, -173}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1997, 563, -296}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1997, 563, -173}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3462, -357, -1228}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3462, -153, -1023}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3462, -153, -1228}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3400, -357, -1125}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3523, -153, -1125}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3400, -153, -1125}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3523, -357, -1125}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2100, 768, -235}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1895, 768, -235}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1895, 563, -235}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2100, 563, -235}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1997, 768, -296}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014730 - 0x07014820
static const Vtx hmc_seg7_vertex_07014730[] = {
{{{ 2171, -562, 256}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2294, -562, 256}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2294, -357, 256}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, 768, -101}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, 563, 102}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, 563, -101}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, 768, 102}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, 768, 0}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, 768, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, 563, 0}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, 563, 0}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2233, -562, 154}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2233, -562, 358}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2233, -357, 358}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2233, -357, 154}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014820 - 0x07014910
static const Vtx hmc_seg7_vertex_07014820[] = {
{{{ 5510, -357, -3532}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5510, -153, -3327}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5510, -153, -3532}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2171, -562, 256}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2294, -357, 256}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2171, -357, 256}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, -357, 256}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, -357, 256}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1700, -562, 256}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1823, -562, 256}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -357, 154}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -562, 358}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -562, 154}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1762, -357, 358}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5510, -357, -3327}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014910 - 0x07014950
static const Vtx hmc_seg7_vertex_07014910[] = {
{{{ 5448, -357, -3429}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5571, -357, -3429}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5571, -153, -3429}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5448, -153, -3429}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07014950 - 0x07014B08
static const Gfx hmc_seg7_dl_07014950[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cave_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(hmc_seg7_vertex_07014370, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(hmc_seg7_vertex_07014460, 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, 12, 13, 0x0),
gsSP1Triangle( 0, 14, 1, 0x0),
gsSPVertex(hmc_seg7_vertex_07014550, 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, 13, 14, 0x0),
gsSPVertex(hmc_seg7_vertex_07014640, 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, 14, 1, 0x0),
gsSPVertex(hmc_seg7_vertex_07014730, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(hmc_seg7_vertex_07014820, 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(hmc_seg7_vertex_07014910, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07014B08 - 0x07014B88
const Gfx hmc_seg7_dl_07014B08[] = {
gsDPPipeSync(),
gsDPSetEnvColor(255, 255, 255, 128),
gsDPSetCombineMode(G_CC_DECALFADEA, G_CC_DECALFADEA),
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_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(hmc_seg7_dl_07014950),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsDPSetEnvColor(255, 255, 255, 255),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};