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

134 lines
7.0 KiB
C

// 0x07016658 - 0x07016670
static const Lights1 lll_seg7_lights_07016658 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x07016670 - 0x07016770
static const Vtx lll_seg7_vertex_07016670[] = {
{{{ 325, 282, -210}, 0, { 180, 494}, {0x43, 0x58, 0xc4, 0xff}}},
{{{ 186, 512, -107}, 0, { 526, 236}, {0xe3, 0x7b, 0x09, 0xff}}},
{{{ 335, 282, 194}, 0, { 154, -514}, {0x51, 0x5a, 0x23, 0xff}}},
{{{ 186, 512, 108}, 0, { 526, -300}, {0xe8, 0x7a, 0xeb, 0xff}}},
{{{ 0, 282, 387}, 0, { 990, -998}, {0x00, 0x55, 0x5d, 0xff}}},
{{{ 640, 0, -383}, 0, { -604, 926}, {0x4b, 0x62, 0xe6, 0xff}}},
{{{ 640, 0, 384}, 0, { -604, -990}, {0x44, 0x63, 0x26, 0xff}}},
{{{ 0, 0, 768}, 0, { 990, -1948}, {0x00, 0x65, 0x4c, 0xff}}},
{{{ 0, 512, 215}, 0, { 990, -568}, {0x26, 0x53, 0xa9, 0xff}}},
{{{ -185, 512, 108}, 0, { 1454, -300}, {0x36, 0x6b, 0x26, 0xff}}},
{{{ -334, 282, 194}, 0, { 1826, -514}, {0xaf, 0x5a, 0x23, 0xff}}},
{{{ -639, 0, 384}, 0, { 2586, -990}, {0xbc, 0x63, 0x26, 0xff}}},
{{{ 0, 0, -767}, 0, { 990, 1882}, {0x00, 0x65, 0xb4, 0xff}}},
{{{ 0, 282, -386}, 0, { 990, 934}, {0x00, 0x5a, 0xa7, 0xff}}},
{{{ 0, 512, -214}, 0, { 990, 504}, {0xe5, 0x7a, 0xf0, 0xff}}},
{{{ -324, 282, -210}, 0, { 1800, 494}, {0xbd, 0x58, 0xc5, 0xff}}},
};
// 0x07016770 - 0x070167F0
static const Vtx lll_seg7_vertex_07016770[] = {
{{{ -324, 282, -210}, 0, { 1800, 494}, {0xbd, 0x58, 0xc5, 0xff}}},
{{{ -185, 512, -107}, 0, { 1454, 236}, {0xfa, 0x6c, 0x42, 0xff}}},
{{{ 0, 512, -214}, 0, { 990, 504}, {0xe5, 0x7a, 0xf0, 0xff}}},
{{{ -334, 282, 194}, 0, { 1826, -514}, {0xaf, 0x5a, 0x23, 0xff}}},
{{{ -639, 0, -383}, 0, { 2586, 926}, {0xb5, 0x62, 0xe6, 0xff}}},
{{{ 0, 0, -767}, 0, { 990, 1882}, {0x00, 0x65, 0xb4, 0xff}}},
{{{ -185, 512, 108}, 0, { 1454, -300}, {0x36, 0x6b, 0x26, 0xff}}},
{{{ -639, 0, 384}, 0, { 2586, -990}, {0xbc, 0x63, 0x26, 0xff}}},
};
// 0x070167F0 - 0x07016850
static const Vtx lll_seg7_vertex_070167F0[] = {
{{{ 0, 102, -214}, 0, { 990, 478}, {0x0d, 0x69, 0x44, 0xff}}},
{{{ 186, 102, 108}, 0, { 224, 922}, {0xa1, 0x4c, 0xdf, 0xff}}},
{{{ 186, 102, -107}, 0, { 734, 922}, {0xa7, 0x2c, 0x4d, 0xff}}},
{{{ 0, 102, 215}, 0, { 0, 480}, {0xed, 0x4c, 0x9d, 0xff}}},
{{{ -185, 102, -107}, 0, { 734, 36}, {0x70, 0x2c, 0x26, 0xff}}},
{{{ -185, 102, 108}, 0, { 224, 36}, {0x4c, 0x4c, 0xbe, 0xff}}},
};
// 0x07016850 - 0x07016930
static const Vtx lll_seg7_vertex_07016850[] = {
{{{ 186, 512, -107}, 0, { 3546, 0}, {0xe3, 0x7b, 0x09, 0xff}}},
{{{ 186, 102, -107}, 0, { 3546, 942}, {0xa7, 0x2c, 0x4d, 0xff}}},
{{{ 186, 102, 108}, 0, { 2524, 942}, {0xa1, 0x4c, 0xdf, 0xff}}},
{{{ 186, 512, 108}, 0, { 2524, 0}, {0xe8, 0x7a, 0xeb, 0xff}}},
{{{ 0, 512, -214}, 0, { 4568, 0}, {0xe5, 0x7a, 0xf0, 0xff}}},
{{{ 0, 102, -214}, 0, { 4568, 942}, {0x0d, 0x69, 0x44, 0xff}}},
{{{ 0, 102, 215}, 0, { 1502, 942}, {0xed, 0x4c, 0x9d, 0xff}}},
{{{ 0, 512, 215}, 0, { 1502, 0}, {0x26, 0x53, 0xa9, 0xff}}},
{{{ -185, 102, 108}, 0, { 480, 942}, {0x4c, 0x4c, 0xbe, 0xff}}},
{{{ -185, 512, 108}, 0, { 480, 0}, {0x36, 0x6b, 0x26, 0xff}}},
{{{ -185, 512, 108}, 0, { 6612, 0}, {0x36, 0x6b, 0x26, 0xff}}},
{{{ -185, 102, -107}, 0, { 5590, 942}, {0x70, 0x2c, 0x26, 0xff}}},
{{{ -185, 512, -107}, 0, { 5590, 0}, {0xfa, 0x6c, 0x42, 0xff}}},
{{{ -185, 102, 108}, 0, { 6612, 942}, {0x4c, 0x4c, 0xbe, 0xff}}},
};
// 0x07016930 - 0x07016A30
static const Gfx lll_seg7_dl_07016930[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09003000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lll_seg7_lights_07016658.l, 1),
gsSPLight(&lll_seg7_lights_07016658.a, 2),
gsSPVertex(lll_seg7_vertex_07016670, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 5, 0, 2, 0x0, 5, 2, 6, 0x0),
gsSP2Triangles( 1, 3, 2, 0x0, 2, 4, 7, 0x0),
gsSP2Triangles( 6, 2, 7, 0x0, 4, 8, 9, 0x0),
gsSP2Triangles( 4, 9, 10, 0x0, 3, 8, 4, 0x0),
gsSP2Triangles( 7, 4, 10, 0x0, 7, 10, 11, 0x0),
gsSP2Triangles(12, 13, 0, 0x0, 12, 0, 5, 0x0),
gsSP2Triangles( 0, 14, 1, 0x0, 0, 13, 14, 0x0),
gsSP2Triangles(13, 15, 14, 0x0, 15, 13, 12, 0x0),
gsSPVertex(lll_seg7_vertex_07016770, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 0, 5, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 3, 6, 1, 0x0, 7, 3, 4, 0x0),
gsSPEndDisplayList(),
};
// 0x07016A30 - 0x07016A78
static const Gfx lll_seg7_dl_07016A30[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09009000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_070167F0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 0, 4, 5, 0x0, 0, 5, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07016A78 - 0x07016B00
static const Gfx lll_seg7_dl_07016A78[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09009800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(lll_seg7_vertex_07016850, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 1, 0, 0x0, 4, 5, 1, 0x0),
gsSP2Triangles( 3, 2, 6, 0x0, 3, 6, 7, 0x0),
gsSP2Triangles( 7, 6, 8, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSP2Triangles(12, 11, 5, 0x0, 12, 5, 4, 0x0),
gsSPEndDisplayList(),
};
// 0x07016B00 - 0x07016B70
const Gfx lll_seg7_dl_07016B00[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
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_07016930),
gsSPDisplayList(lll_seg7_dl_07016A30),
gsSPDisplayList(lll_seg7_dl_07016A78),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};