sm64pc/levels/lll/areas/1/7/model.inc.c

213 lines
12 KiB
C
Raw Normal View History

2019-11-03 19:36:27 +00:00
// 0x07014C68 - 0x07014CE8
static const Vtx lll_seg7_vertex_07014C68[] = {
{{{ -1023, 307, -383}, 0, { 6100, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1280, 307, 256}, 0, { -3096, -1566}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1280, 307, -255}, 0, { -3096, 478}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1024, 307, 384}, 0, { -2074, -2076}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1024, 307, -383}, 0, { -2074, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -1279, 307, 256}, 0, { 7122, -1564}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -1023, 307, 384}, 0, { 6100, -2076}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -1279, 307, -255}, 0, { 7122, 480}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07014CE8 - 0x07014DD8
static const Vtx lll_seg7_vertex_07014CE8[] = {
{{{ -1023, 0, 384}, 0, { 990, 990}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ -1279, 307, 256}, 0, { -212, 0}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ -1279, 0, 256}, 0, { -212, 990}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ 1280, 0, -255}, 0, { 1672, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1280, 307, -255}, 0, { 1672, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1280, 307, 256}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1280, 0, 256}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1280, 0, 256}, 0, { 1172, 990}, {0x38, 0x00, 0x71, 0xff}}},
{{{ 1024, 307, 384}, 0, { 0, 0}, {0x38, 0x00, 0x71, 0xff}}},
{{{ 1024, 0, 384}, 0, { 0, 990}, {0x38, 0x00, 0x71, 0xff}}},
{{{ 1280, 307, 256}, 0, { 1172, 0}, {0x38, 0x00, 0x71, 0xff}}},
{{{ 1024, 0, 384}, 0, { 990, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 1024, 307, 384}, 0, { 990, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1023, 307, 384}, 0, { -4118, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1023, 0, 384}, 0, { -4118, 990}, {0x00, 0x00, 0x7f, 0xff}}},
};
// 0x07014DD8 - 0x07014EC8
static const Vtx lll_seg7_vertex_07014DD8[] = {
{{{ -1023, 0, -383}, 0, { 5078, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 1024, 307, -383}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 1024, 0, -383}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1023, 0, 384}, 0, { 990, 990}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ -1023, 307, 384}, 0, { 990, 0}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ -1279, 307, 256}, 0, { -212, 0}, {0xc8, 0x00, 0x71, 0xff}}},
{{{ -1279, 0, 256}, 0, { 1502, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1279, 307, 256}, 0, { 1502, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1279, 307, -255}, 0, { -200, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1279, 0, -255}, 0, { -200, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1279, 0, -255}, 0, { 990, 990}, {0xc8, 0x00, 0x8f, 0xff}}},
{{{ -1279, 307, -255}, 0, { 990, 0}, {0xc8, 0x00, 0x8f, 0xff}}},
{{{ -1023, 307, -383}, 0, { -212, 0}, {0xc8, 0x00, 0x8f, 0xff}}},
{{{ -1023, 0, -383}, 0, { -212, 990}, {0xc8, 0x00, 0x8f, 0xff}}},
{{{ -1023, 307, -383}, 0, { 5078, 0}, {0x00, 0x00, 0x81, 0xff}}},
};
// 0x07014EC8 - 0x07014F08
static const Vtx lll_seg7_vertex_07014EC8[] = {
{{{ 1024, 0, -383}, 0, { 1172, 990}, {0x38, 0x00, 0x8f, 0xff}}},
{{{ 1024, 307, -383}, 0, { 1172, 0}, {0x38, 0x00, 0x8f, 0xff}}},
{{{ 1280, 307, -255}, 0, { 0, 0}, {0x38, 0x00, 0x8f, 0xff}}},
{{{ 1280, 0, -255}, 0, { 0, 990}, {0x38, 0x00, 0x8f, 0xff}}},
};
// 0x07014F08 - 0x07014FE8
static const Vtx lll_seg7_vertex_07014F08[] = {
{{{ -1458, 410, 128}, 0, { 416, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1279, 307, 128}, 0, { 0, 224}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 307, 128}, 0, { 606, 224}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 0, 128}, 0, { 606, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1279, 0, 128}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 307, -255}, 0, { 2522, 224}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1535, 0, -255}, 0, { 2522, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1279, 0, -255}, 0, { 3162, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1279, 307, -255}, 0, { 3162, 224}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1458, 410, -255}, 0, { 2714, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1535, 0, 256}, 0, { 288, 734}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 307, 128}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 0, 128}, 0, { 0, 734}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 307, 256}, 0, { 288, 0}, {0x81, 0x00, 0x00, 0xff}}},
};
// 0x07014FE8 - 0x070150C8
static const Vtx lll_seg7_vertex_07014FE8[] = {
{{{ -1535, 307, 256}, 0, { 2522, 224}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1279, 307, 256}, 0, { 3162, 224}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1458, 410, 256}, 0, { 2714, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1535, 0, 256}, 0, { 2522, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1279, 0, 256}, 0, { 3162, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -1279, 0, -383}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 307, -383}, 0, { 606, 224}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1458, 410, -383}, 0, { 416, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1279, 307, -383}, 0, { 0, 224}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 0, -383}, 0, { 606, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -1535, 0, -255}, 0, { -988, 734}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 307, -255}, 0, { -988, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 307, -383}, 0, { -1308, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 0, -383}, 0, { -1308, 734}, {0x81, 0x00, 0x00, 0xff}}},
};
// 0x070150C8 - 0x07015108
static const Vtx lll_seg7_vertex_070150C8[] = {
{{{ -1279, 0, -255}, 0, { 564, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -1279, 0, -383}, 0, { 990, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -1279, 307, -383}, 0, { 990, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -1279, 307, -255}, 0, { 564, 0}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x07015108 - 0x07015208
static const Vtx lll_seg7_vertex_07015108[] = {
{{{ -1458, 410, -383}, 0, { -1308, 0}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1535, 307, -383}, 0, { -1308, 288}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1535, 307, -255}, 0, { -988, 288}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1279, 307, 128}, 0, { -286, 990}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, 128}, 0, { -286, 476}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, 256}, 0, { -604, 476}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1279, 307, 256}, 0, { -604, 990}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, 128}, 0, { 0, 0}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1535, 307, 256}, 0, { 288, 288}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1458, 410, 256}, 0, { 288, 0}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1535, 307, 128}, 0, { 0, 288}, {0x9b, 0x4c, 0x00, 0xff}}},
{{{ -1279, 307, -383}, 0, { 990, 990}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, -255}, 0, { 670, 476}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1279, 307, -255}, 0, { 670, 990}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, -383}, 0, { 990, 476}, {0x3f, 0x6e, 0x00, 0xff}}},
{{{ -1458, 410, -255}, 0, { -988, 0}, {0x9b, 0x4c, 0x00, 0xff}}},
};
// 0x07015208 - 0x07015270
static const Gfx lll_seg7_dl_07015208[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07004800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
2019-12-02 02:52:53 +00:00
gsSPLight(&lll_seg7_lights_0700FC00.l, 1),
gsSPLight(&lll_seg7_lights_0700FC00.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(lll_seg7_vertex_07014C68, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 0, 5, 6, 0x0),
gsSP2Triangles( 0, 7, 5, 0x0, 0, 6, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07015270 - 0x07015328
static const Gfx lll_seg7_dl_07015270[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07014CE8, 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(lll_seg7_vertex_07014DD8, 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(lll_seg7_vertex_07014EC8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07015328 - 0x070153F0
static const Gfx lll_seg7_dl_07015328[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07014F08, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 3, 2, 1, 0x0, 5, 6, 7, 0x0),
gsSP2Triangles( 5, 7, 8, 0x0, 5, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPVertex(lll_seg7_vertex_07014FE8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 5, 6, 7, 0x0),
gsSP2Triangles( 5, 7, 8, 0x0, 5, 9, 6, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSPVertex(lll_seg7_vertex_070150C8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x070153F0 - 0x07015458
static const Gfx lll_seg7_dl_070153F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07015108, 16, 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),
gsSP2Triangles(11, 14, 12, 0x0, 0, 2, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x07015458 - 0x070154F8
const Gfx lll_seg7_dl_07015458[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
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(lll_seg7_dl_07015208),
gsSPDisplayList(lll_seg7_dl_07015328),
gsSPDisplayList(lll_seg7_dl_070153F0),
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(lll_seg7_dl_07015270),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};