mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-02 16:57:25 +00:00
232 lines
13 KiB
C
232 lines
13 KiB
C
// combined model file. LLL is weird
|
|
|
|
// 0x070154F8 - 0x070155E8
|
|
static const Vtx lll_seg7_vertex_070154F8[] = {
|
|
{{{ 640, 307, 512}, 0, { 0, 224}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 896, 307, 512}, 0, { 606, 224}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 819, 410, 512}, 0, { 416, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 640, 307, 0}, 0, { 0, 224}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 896, 0, 0}, 0, { 606, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 896, 307, 0}, 0, { 606, 224}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 640, 0, 0}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 819, 410, 0}, 0, { 416, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 640, 0, 384}, 0, { 3162, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 896, 307, 384}, 0, { 2524, 224}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 896, 0, 384}, 0, { 2524, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 307, 384}, 0, { 3162, 224}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 819, 410, 384}, 0, { 2714, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 0, 512}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 896, 0, 512}, 0, { 606, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
};
|
|
|
|
// 0x070155E8 - 0x070156E8
|
|
static const Vtx lll_seg7_vertex_070155E8[] = {
|
|
{{{ 896, 0, -127}, 0, { 2268, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 307, -127}, 0, { 2268, 224}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 307, 0}, 0, { 1948, 224}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 0, 384}, 0, { 990, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 307, 512}, 0, { 670, 224}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 0, 512}, 0, { 670, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 896, 307, 384}, 0, { 990, 224}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, -127}, 0, { 3162, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 896, 307, -127}, 0, { 2524, 224}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 896, 0, -127}, 0, { 2524, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 307, -127}, 0, { 3162, 224}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 819, 410, -127}, 0, { 2714, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 896, 0, 0}, 0, { 1948, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, -127}, 0, { -604, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, 0}, 0, { -286, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, 0}, 0, { -286, 224}, {0x81, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x070156E8 - 0x07015758
|
|
static const Vtx lll_seg7_vertex_070156E8[] = {
|
|
{{{ 640, 0, -127}, 0, { -604, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, 0}, 0, { -286, 224}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, -127}, 0, { -604, 224}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, 384}, 0, { 670, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, 512}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, 512}, 0, { 990, 224}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, 384}, 0, { 670, 224}, {0x81, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07015758 - 0x07015858
|
|
static const Vtx lll_seg7_vertex_07015758[] = {
|
|
{{{ 819, 410, -127}, 0, { -1052, 990}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 640, 307, -127}, 0, { -1052, 1502}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 640, 307, 0}, 0, { -732, 1502}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 896, 307, 384}, 0, { 990, 990}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, 512}, 0, { 670, 670}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 896, 307, 512}, 0, { 670, 990}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, 384}, 0, { 990, 670}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, 384}, 0, { 224, 990}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 640, 307, 512}, 0, { 542, 1502}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 819, 410, 512}, 0, { 542, 990}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 640, 307, 384}, 0, { 224, 1502}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
{{{ 896, 307, -127}, 0, { 2268, 990}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, 0}, 0, { 1948, 670}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 896, 307, 0}, 0, { 1948, 990}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, -127}, 0, { 2268, 670}, {0x65, 0x4c, 0x00, 0xff}}},
|
|
{{{ 819, 410, 0}, 0, { -732, 990}, {0xc1, 0x6e, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07015858 - 0x07015948
|
|
static const Vtx lll_seg7_vertex_07015858[] = {
|
|
{{{ 128, 0, 128}, 0, { 990, 1192}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 128, 307, -127}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 128, 0, -127}, 0, { 0, 1192}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, 768}, 0, { 5078, 1192}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -639, 307, 768}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -639, 0, 768}, 0, { 0, 1192}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 640, 307, 768}, 0, { 5078, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -639, 0, -767}, 0, { 990, 1192}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 307, -767}, 0, { -4118, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 0, -767}, 0, { -4118, 1192}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ -639, 307, -767}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 640, 0, -767}, 0, { 990, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, -767}, 0, { 990, -236}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 307, 768}, 0, { -5140, -236}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 640, 0, 768}, 0, { -5140, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07015948 - 0x07015A38
|
|
static const Vtx lll_seg7_vertex_07015948[] = {
|
|
{{{ -127, 0, 128}, 0, { 990, 1192}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ -127, 307, 128}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 128, 307, 128}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
|
{{{ 128, 0, 128}, 0, { 990, 1192}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 128, 307, 128}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ 128, 307, -127}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ -639, 0, 768}, 0, { 990, 1192}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ -639, 307, -767}, 0, { -5140, 0}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ -639, 0, -767}, 0, { -5140, 1192}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ -639, 307, 768}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}},
|
|
{{{ -127, 0, -127}, 0, { 990, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ -127, 307, 128}, 0, { 0, -236}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ -127, 0, 128}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ -127, 307, -127}, 0, { 990, -236}, {0x7f, 0x00, 0x00, 0xff}}},
|
|
{{{ 128, 0, 128}, 0, { 0, 1192}, {0x00, 0x00, 0x81, 0xff}}},
|
|
};
|
|
|
|
// 0x07015A38 - 0x07015B38
|
|
static const Vtx lll_seg7_vertex_07015A38[] = {
|
|
{{{ 128, 0, -127}, 0, { 990, 1192}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -127, 307, -127}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -127, 0, -127}, 0, { 0, 1192}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ 128, 307, -127}, 0, { 990, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
|
{{{ -127, 307, -127}, 0, { 2012, -2586}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 128, 307, -767}, 0, { 3034, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -127, 307, -767}, 0, { 2012, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 128, 307, -127}, 0, { 3034, -2586}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 640, 307, 768}, 0, { 5078, 990}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 640, 307, -767}, 0, { 5078, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 128, 307, 768}, 0, { 3034, 990}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -639, 307, 768}, 0, { 0, 990}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -639, 307, -767}, 0, { 0, -5142}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -127, 307, 768}, 0, { 2012, 990}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 128, 307, 128}, 0, { 3034, -1564}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -127, 307, 128}, 0, { 2012, -1564}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07015B38 - 0x07015C20
|
|
static const Gfx lll_seg7_dl_07015B38[] = {
|
|
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)),
|
|
gsSPLight(&lll_seg7_lights_0700FC00.l, 1),
|
|
gsSPLight(&lll_seg7_lights_0700FC00.a, 2),
|
|
gsSPVertex(lll_seg7_vertex_070154F8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 3, 5, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 9, 11, 0x0, 0, 13, 14, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(lll_seg7_vertex_070155E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 8, 10, 0x0),
|
|
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(lll_seg7_vertex_070156E8, 7, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP1Triangle( 3, 5, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07015C20 - 0x07015C88
|
|
static const Gfx lll_seg7_dl_07015C20[] = {
|
|
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_07015758, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(11, 14, 12, 0x0, 0, 2, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07015C88 - 0x07015D18
|
|
const Gfx lll_seg7_dl_07015C88[] = {
|
|
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_07015B38),
|
|
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_07015C20),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07015D18 - 0x07015E20
|
|
static const Gfx lll_seg7_dl_07015D18[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09000800),
|
|
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_07015858, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(lll_seg7_vertex_07015948, 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, 13, 11, 0x0),
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
gsSPVertex(lll_seg7_vertex_07015A38, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 5, 8, 9, 0x0, 5, 10, 8, 0x0),
|
|
gsSP2Triangles(11, 6, 12, 0x0, 11, 13, 6, 0x0),
|
|
gsSP2Triangles(13, 10, 14, 0x0, 13, 14, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07015E20 - 0x07015E90
|
|
const Gfx lll_seg7_dl_07015E20[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
gsSPClearGeometryMode(G_CULL_BACK | 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_07015D18),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|