sm64coopdx/levels/lll/areas/1/6/model.inc.c
2019-12-01 21:52:53 -05:00

113 lines
6.3 KiB
C

// 0x07014818 - 0x07014908
static const Vtx lll_seg7_vertex_07014818[] = {
{{{ 256, 0, 768}, 0, { 2524, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 307, 768}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 0, 768}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -767, 0, 256}, 0, { 2012, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -767, 307, -255}, 0, { -542, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -767, 0, -255}, 0, { -542, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -767, 307, 256}, 0, { 2012, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 768, 0, -255}, 0, { 2522, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 768, 307, -255}, 0, { 2522, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 768, 307, 256}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 768, 0, 256}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 768, 0, 256}, 0, { 3582, 990}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 256, 307, 768}, 0, { 0, 0}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 256, 0, 768}, 0, { 0, 990}, {0x59, 0x00, 0x59, 0xff}}},
{{{ 768, 307, 256}, 0, { 3582, 0}, {0x59, 0x00, 0x59, 0xff}}},
};
// 0x07014908 - 0x070149F8
static const Vtx lll_seg7_vertex_07014908[] = {
{{{ -255, 0, -767}, 0, { 2524, 990}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -255, 307, -767}, 0, { 2524, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 256, 307, -767}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 256, 0, 768}, 0, { 2524, 990}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 256, 307, 768}, 0, { 2524, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 307, 768}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -255, 0, 768}, 0, { 3034, 990}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -767, 307, 256}, 0, { -578, 0}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -767, 0, 256}, 0, { -578, 990}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -255, 307, 768}, 0, { 3034, 0}, {0xa7, 0x00, 0x59, 0xff}}},
{{{ -767, 0, -255}, 0, { 3034, 990}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -767, 307, -255}, 0, { 3034, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -255, 307, -767}, 0, { -578, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -255, 0, -767}, 0, { -578, 990}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ 256, 0, -767}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
};
// 0x070149F8 - 0x07014A38
static const Vtx lll_seg7_vertex_070149F8[] = {
{{{ 256, 0, -767}, 0, { 3582, 990}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 768, 307, -255}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 768, 0, -255}, 0, { 0, 990}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 256, 307, -767}, 0, { 3582, 0}, {0x59, 0x00, 0xa7, 0xff}}},
};
// 0x07014A38 - 0x07014AB8
static const Vtx lll_seg7_vertex_07014A38[] = {
{{{ -255, 307, -767}, 0, { 3034, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -255, 307, 768}, 0, { 3034, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 256, 307, 768}, 0, { 990, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -767, 307, -255}, 0, { 5078, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -767, 307, 256}, 0, { 5078, -3098}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 768, 307, -255}, 0, { -1052, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 256, 307, -767}, 0, { 990, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 768, 307, 256}, 0, { -1052, -3098}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07014AB8 - 0x07014B80
static const Gfx lll_seg7_dl_07014AB8[] = {
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)),
gsSPLight(&lll_seg7_lights_0700FC00.l, 1),
gsSPLight(&lll_seg7_lights_0700FC00.a, 2),
gsSPVertex(lll_seg7_vertex_07014818, 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_07014908, 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(lll_seg7_vertex_070149F8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x07014B80 - 0x07014BD8
static const Gfx lll_seg7_dl_07014B80[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07002800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07014A38, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 5, 6, 0x0),
gsSP2Triangles( 0, 2, 7, 0x0, 0, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07014BD8 - 0x07014C68
const Gfx lll_seg7_dl_07014BD8[] = {
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_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_07014AB8),
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_07014B80),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};