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

148 lines
8.5 KiB
C

// 0x07019470 - 0x07019530
static const Vtx lll_seg7_vertex_07019470[] = {
{{{ 0, 154, 1024}, 0, { -2074, 2776}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 0, 154, 1792}, 0, { -2074, 4310}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1536, 154, 896}, 0, { 990, 2520}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -895, 154, 512}, 0, { -3862, 1754}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -1535, 154, 896}, 0, { -5140, 2520}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 896, 154, -511}, 0, { -286, -288}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 0, 154, -1791}, 0, { -2074, -2842}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 0, 154, -1023}, 0, { -2074, -1310}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 1536, 154, -895}, 0, { 990, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 896, 154, 512}, 0, { -286, 1754}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -895, 154, -511}, 0, { -3862, -288}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -1535, 154, -895}, 0, { -5140, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07019530 - 0x07019620
static const Vtx lll_seg7_vertex_07019530[] = {
{{{ 0, 0, 1792}, 0, { 17002, 990}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ 0, 154, 1792}, 0, { 17002, 0}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -1535, 154, 896}, 0, { 0, 0}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ 0, 0, 1024}, 0, { 10188, 990}, {0xc1, 0x00, 0x92, 0xff}}},
{{{ 0, 154, 1024}, 0, { 10188, 0}, {0xc1, 0x00, 0x92, 0xff}}},
{{{ 896, 154, 512}, 0, { 0, 0}, {0xc1, 0x00, 0x92, 0xff}}},
{{{ 896, 0, 512}, 0, { 0, 990}, {0xc1, 0x00, 0x92, 0xff}}},
{{{ 1536, 0, 896}, 0, { 990, 990}, {0x3f, 0x00, 0x6d, 0xff}}},
{{{ 1536, 154, 896}, 0, { 990, 0}, {0x3f, 0x00, 0x6d, 0xff}}},
{{{ 0, 154, 1792}, 0, {-16042, 0}, {0x3f, 0x00, 0x6d, 0xff}}},
{{{ 0, 0, 1792}, 0, {-16042, 990}, {0x3f, 0x00, 0x6d, 0xff}}},
{{{ -895, 0, 512}, 0, { 10188, 990}, {0x3f, 0x00, 0x92, 0xff}}},
{{{ 0, 154, 1024}, 0, { 0, 0}, {0x3f, 0x00, 0x92, 0xff}}},
{{{ 0, 0, 1024}, 0, { 0, 990}, {0x3f, 0x00, 0x92, 0xff}}},
{{{ -895, 154, 512}, 0, { 10188, 0}, {0x3f, 0x00, 0x92, 0xff}}},
};
// 0x07019620 - 0x07019710
static const Vtx lll_seg7_vertex_07019620[] = {
{{{ 0, 0, -1023}, 0, { 10188, 990}, {0x3f, 0x00, 0x6e, 0xff}}},
{{{ 0, 154, -1023}, 0, { 10188, 0}, {0x3f, 0x00, 0x6e, 0xff}}},
{{{ -895, 154, -511}, 0, { 0, 0}, {0x3f, 0x00, 0x6e, 0xff}}},
{{{ 0, 0, 1792}, 0, { 17002, 990}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -1535, 154, 896}, 0, { 0, 0}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -1535, 0, 896}, 0, { 0, 990}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -895, 0, -511}, 0, { 10188, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -895, 154, 512}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -895, 0, 512}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -895, 154, -511}, 0, { 10188, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -1535, 0, 896}, 0, { 16320, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 154, -895}, 0, { -712, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 0, -895}, 0, { -712, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 154, 896}, 0, { 16320, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -895, 0, -511}, 0, { 0, 990}, {0x3f, 0x00, 0x6e, 0xff}}},
};
// 0x07019710 - 0x07019800
static const Vtx lll_seg7_vertex_07019710[] = {
{{{ 896, 0, 512}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 896, 154, -511}, 0, { -9228, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 896, 0, -511}, 0, { -9228, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -1535, 0, -895}, 0, { 17002, 990}, {0xc0, 0x00, 0x93, 0xff}}},
{{{ -1535, 154, -895}, 0, { 17002, 0}, {0xc0, 0x00, 0x93, 0xff}}},
{{{ 0, 154, -1791}, 0, { 0, 0}, {0xc0, 0x00, 0x93, 0xff}}},
{{{ 0, 0, -1791}, 0, { 0, 990}, {0xc0, 0x00, 0x93, 0xff}}},
{{{ 896, 0, -511}, 0, { 10188, 990}, {0xc1, 0x00, 0x6e, 0xff}}},
{{{ 896, 154, -511}, 0, { 10188, 0}, {0xc1, 0x00, 0x6e, 0xff}}},
{{{ 0, 154, -1023}, 0, { 0, 0}, {0xc1, 0x00, 0x6e, 0xff}}},
{{{ 0, 0, -1023}, 0, { 0, 990}, {0xc1, 0x00, 0x6e, 0xff}}},
{{{ 0, 0, -1791}, 0, { 16320, 990}, {0x3f, 0x00, 0x93, 0xff}}},
{{{ 1536, 154, -895}, 0, { -712, 0}, {0x3f, 0x00, 0x93, 0xff}}},
{{{ 1536, 0, -895}, 0, { -712, 990}, {0x3f, 0x00, 0x93, 0xff}}},
{{{ 0, 154, -1791}, 0, { 16320, 0}, {0x3f, 0x00, 0x93, 0xff}}},
};
// 0x07019800 - 0x07019870
static const Vtx lll_seg7_vertex_07019800[] = {
{{{ 1536, 0, -895}, 0, { 17002, 990}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1536, 154, -895}, 0, { 17002, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 1536, 154, 896}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 896, 0, 512}, 0, { 990, 990}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 896, 154, 512}, 0, { 990, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 896, 154, -511}, 0, { -9228, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 1536, 0, 896}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x07019870 - 0x07019908
static const Gfx lll_seg7_dl_07019870[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07003000),
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_07019470, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
gsSP2Triangles( 3, 1, 0, 0x0, 5, 6, 7, 0x0),
gsSP2Triangles( 5, 8, 6, 0x0, 9, 8, 5, 0x0),
gsSP2Triangles( 9, 2, 8, 0x0, 10, 11, 4, 0x0),
gsSP2Triangles( 0, 2, 9, 0x0, 7, 11, 10, 0x0),
gsSP2Triangles( 7, 6, 11, 0x0, 10, 4, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07019908 - 0x07019A08
static const Gfx lll_seg7_dl_07019908[] = {
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_07019530, 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_07019620, 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_07019710, 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_07019800, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 2, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x07019A08 - 0x07019A98
const Gfx lll_seg7_dl_07019A08[] = {
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_07019870),
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_07019908),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};