sm64ex-coop/levels/lll/areas/1/12/model.inc.c

232 lines
14 KiB
C

// 0x07016B70 - 0x07016BF0
static const Vtx lll_seg7_vertex_07016B70[] = {
{{{ -255, 154, -255}, 0, { -1564, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 384, 154, -127}, 0, { 990, -544}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 256, 154, -255}, 0, { 480, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 256, 154, 256}, 0, { 480, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 384, 154, 128}, 0, { 990, 478}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -383, 154, 128}, 0, { -2074, 478}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -255, 154, 256}, 0, { -1564, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -383, 154, -127}, 0, { -2074, -544}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07016BF0 - 0x07016CE0
static const Vtx lll_seg7_vertex_07016BF0[] = {
{{{ 256, 0, 256}, 0, { 1672, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 154, 256}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 0, 256}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 256, 0, -255}, 0, { 1172, 990}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 384, 154, -127}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 384, 0, -127}, 0, { 0, 990}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 256, 154, -255}, 0, { 1172, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 384, 0, -127}, 0, { 820, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 384, 154, -127}, 0, { 820, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 384, 154, 128}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 384, 0, 128}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 384, 0, 128}, 0, { 1172, 990}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 256, 154, 256}, 0, { 0, 0}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 256, 0, 256}, 0, { 0, 990}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 384, 154, 128}, 0, { 1172, 0}, {0x59, 0x00, 0x59, 0xff}}},
};
// 0x07016CE0 - 0x07016DD0
static const Vtx lll_seg7_vertex_07016CE0[] = {
{{{ -383, 0, -127}, 0, { 990, 990}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -383, 154, -127}, 0, { 990, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -255, 154, -255}, 0, { -212, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ 256, 0, 256}, 0, { 1672, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 256, 154, 256}, 0, { 1672, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 154, 256}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 0, 256}, 0, { 990, 990}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -255, 154, 256}, 0, { 990, 0}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -383, 154, 128}, 0, { -212, 0}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -383, 0, 128}, 0, { -212, 990}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -383, 0, 128}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -383, 154, 128}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -383, 154, -127}, 0, { 138, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -383, 0, -127}, 0, { 138, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -255, 0, -255}, 0, { -212, 990}, {0xa7, 0x00, 0xa7, 0xff}}},
};
// 0x07016DD0 - 0x07016EC0
static const Vtx lll_seg7_vertex_07016DD0[] = {
{{{ 77, 563, -178}, 0, { 990, -2076}, {0x00, 0x81, 0x00, 0xff}}},
{{{ 77, 563, -25}, 0, { -4118, -2076}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -76, 563, -25}, 0, { -4118, 990}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -153, 486, -178}, 0, { 4056, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -153, 486, -25}, 0, { -1052, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -153, 154, -25}, 0, { -1052, 1498}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -153, 154, -178}, 0, { 4056, 1500}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 154, 154, -178}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 154, 154, -25}, 0, { 5078, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 154, 486, -25}, 0, { 5078, -5652}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 154, 486, -178}, 0, { 0, -5652}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 154, 486, -178}, 0, { 0, 990}, {0xa7, 0xa7, 0x00, 0xff}}},
{{{ 77, 563, -25}, 0, { 5078, -1178}, {0xa7, 0xa7, 0x00, 0xff}}},
{{{ 77, 563, -178}, 0, { 0, -1178}, {0xa7, 0xa7, 0x00, 0xff}}},
{{{ 154, 486, -25}, 0, { 5078, 990}, {0xa7, 0xa7, 0x00, 0xff}}},
};
// 0x07016EC0 - 0x07016FB0
static const Vtx lll_seg7_vertex_07016EC0[] = {
{{{ -229, 486, -178}, 0, { 0, 990}, {0xa6, 0x59, 0x00, 0xff}}},
{{{ -76, 640, -25}, 0, { 5078, -3346}, {0xa6, 0x59, 0x00, 0xff}}},
{{{ -76, 640, -178}, 0, { 0, -3346}, {0xa6, 0x59, 0x00, 0xff}}},
{{{ 77, 563, -178}, 0, { 990, -2076}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -76, 563, -25}, 0, { -4118, 990}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -76, 563, -178}, 0, { 990, 990}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -76, 563, -178}, 0, { 990, -1054}, {0x59, 0xa7, 0x00, 0xff}}},
{{{ -76, 563, -25}, 0, { -4118, -1054}, {0x59, 0xa7, 0x00, 0xff}}},
{{{ -153, 486, -25}, 0, { -4118, 1112}, {0x59, 0xa7, 0x00, 0xff}}},
{{{ -153, 486, -178}, 0, { 990, 1112}, {0x59, 0xa7, 0x00, 0xff}}},
{{{ -229, 154, -178}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -229, 154, -25}, 0, { 5078, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -229, 486, -25}, 0, { 5078, -5652}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -229, 486, -178}, 0, { 0, -5652}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -229, 486, -25}, 0, { 5078, 990}, {0xa6, 0x59, 0x00, 0xff}}},
};
// 0x07016FB0 - 0x070170A0
static const Vtx lll_seg7_vertex_07016FB0[] = {
{{{ -76, 640, -25}, 0, { -4628, -8208}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -229, 486, -25}, 0, { -7694, -5142}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -76, 563, -25}, 0, { -4628, -6674}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -76, 640, -178}, 0, { 5078, -2076}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 77, 640, -25}, 0, { 0, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 77, 640, -178}, 0, { 5078, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -76, 640, -25}, 0, { 0, -2076}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 77, 640, -178}, 0, { 5078, -3098}, {0x5a, 0x59, 0x00, 0xff}}},
{{{ 77, 640, -25}, 0, { 0, -3098}, {0x5a, 0x59, 0x00, 0xff}}},
{{{ 230, 486, -25}, 0, { 0, 1236}, {0x5a, 0x59, 0x00, 0xff}}},
{{{ 230, 486, -178}, 0, { 5078, 1236}, {0x5a, 0x59, 0x00, 0xff}}},
{{{ 230, 486, -178}, 0, { 5078, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 230, 486, -25}, 0, { 0, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 230, 154, -25}, 0, { 0, 1500}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 230, 154, -178}, 0, { 5078, 1500}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x070170A0 - 0x07017190
static const Vtx lll_seg7_vertex_070170A0[] = {
{{{ -229, 486, -25}, 0, { -7694, -5142}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -153, 154, -25}, 0, { -6162, 1498}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -153, 486, -25}, 0, { -6162, -5142}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -229, 154, -25}, 0, { -7694, 1498}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -76, 563, -25}, 0, { -4628, -6674}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -76, 640, -25}, 0, { -4628, -8208}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 77, 563, -25}, 0, { -1562, -6674}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 154, 486, -25}, 0, { 0, -5142}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 230, 486, -25}, 0, { 1500, -5142}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 77, 640, -25}, 0, { -1564, -8208}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 154, 154, -25}, 0, { 0, 1498}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 230, 154, -25}, 0, { 1502, 1498}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -153, 486, -178}, 0, { 6612, -5142}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -153, 154, -178}, 0, { 6612, 1500}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -229, 486, -178}, 0, { 8144, -5142}, {0x00, 0x00, 0x81, 0xff}}},
};
// 0x07017190 - 0x07017250
static const Vtx lll_seg7_vertex_07017190[] = {
{{{ -76, 563, -178}, 0, { 5078, -6674}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -76, 640, -178}, 0, { 5078, -8208}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 77, 640, -178}, 0, { 2012, -8208}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -153, 154, -178}, 0, { 6612, 1500}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -229, 154, -178}, 0, { 8144, 1500}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -229, 486, -178}, 0, { 8144, -5142}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -153, 486, -178}, 0, { 6612, -5142}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 230, 486, -178}, 0, { -1052, -5142}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 77, 563, -178}, 0, { 2012, -6674}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 230, 154, -178}, 0, { -1052, 1498}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 154, 154, -178}, 0, { 480, 1500}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 154, 486, -178}, 0, { 480, -5142}, {0x00, 0x00, 0x81, 0xff}}},
};
// 0x07017250 - 0x070172B8
static const Gfx lll_seg7_dl_07017250[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09004800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lll_seg7_lights_0700FC00.l, 1),
gsSPLight(&lll_seg7_lights_0700FC00.a, 2),
gsSPVertex(lll_seg7_vertex_07016B70, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 5, 6, 0x0),
gsSP2Triangles( 0, 7, 5, 0x0, 0, 6, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x070172B8 - 0x07017358
static const Gfx lll_seg7_dl_070172B8[] = {
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_07016BF0, 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, 14, 12, 0x0),
gsSPVertex(lll_seg7_vertex_07016CE0, 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, 2, 14, 0x0),
gsSPEndDisplayList(),
};
// 0x07017358 - 0x070174E0
static const Gfx lll_seg7_dl_07017358[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07002000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07016DD0, 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(lll_seg7_vertex_07016EC0, 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_07016FB0, 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(lll_seg7_vertex_070170A0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 5, 4, 6, 0x0),
gsSP2Triangles( 7, 8, 9, 0x0, 6, 7, 9, 0x0),
gsSP2Triangles( 7, 10, 11, 0x0, 7, 11, 8, 0x0),
gsSP2Triangles( 6, 9, 5, 0x0, 12, 13, 14, 0x0),
gsSPVertex(lll_seg7_vertex_07017190, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 5, 1, 0x0, 2, 7, 8, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 7, 10, 11, 0x0),
gsSP2Triangles( 7, 11, 8, 0x0, 2, 8, 0, 0x0),
gsSP1Triangle( 0, 6, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x070174E0 - 0x07017578
const Gfx lll_seg7_dl_070174E0[] = {
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_07017250),
gsSPDisplayList(lll_seg7_dl_07017358),
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_070172B8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};