sm64pc/levels/sl/areas/1/4/model.inc.c

117 lines
6.6 KiB
C
Raw Permalink Normal View History

2020-05-05 12:15:53 +00:00
// 0x07007480 - 0x07007570
static const Vtx sl_seg7_vertex_07007480[] = {
{{{ -33, 2150, 1233}, 0, { -3506, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 34, 2253, 1766}, 0, { 1854, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -33, 2253, 1233}, 0, { -3506, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1504, 1741, 1650}, 0, { 5130, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1404, 1843, 2246}, 0, { -898, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1404, 1741, 2246}, 0, { -898, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1504, 1843, 1650}, 0, { 5130, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2116, 1998, 862}, 0, { 9124, -20}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1504, 1741, 1650}, 0, { -956, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2116, 1896, 862}, 0, { 9124, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1504, 1843, 1650}, 0, { -956, -20}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2116, 1896, 862}, 0, { -630, 994}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1897, 1896, 716}, 0, { 1994, 994}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1897, 1999, 716}, 0, { 1994, -26}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2116, 1999, 862}, 0, { -630, -26}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07007570 - 0x070075E0
static const Vtx sl_seg7_vertex_07007570[] = {
{{{ 34, 2150, 1766}, 0, { -800, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 899, 2150, 1531}, 0, { 8144, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 899, 2253, 1531}, 0, { 8144, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -33, 2150, 1233}, 0, { -3506, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 34, 2150, 1766}, 0, { 1854, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 34, 2253, 1766}, 0, { 1854, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 34, 2253, 1766}, 0, { -800, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070075E0 - 0x070076E0
static const Vtx sl_seg7_vertex_070075E0[] = {
{{{ -522, 1352, -5052}, 0, { 8824, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -522, 1249, -5052}, 0, { 8824, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -200, 1249, -3761}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1725, 3328, 260}, 0, { 14616, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 63, 3226, 1704}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 63, 3328, 1704}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1725, 3226, 260}, 0, { 14616, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 365, 3328, 2052}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2027, 3226, 608}, 0, { 14616, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2027, 3328, 608}, 0, { 14616, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 365, 3226, 2052}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -200, 1352, -3761}, 0, { 8824, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1091, 1249, -4084}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1091, 1352, -4084}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -200, 1249, -3761}, 0, { 8824, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 768, 1249, -5375}, 0, { 8824, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070076E0 - 0x07007770
static const Vtx sl_seg7_vertex_070076E0[] = {
{{{ -522, 1352, -5052}, 0, { 8824, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -200, 1249, -3761}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -200, 1352, -3761}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 768, 1249, -5375}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 768, 1352, -5375}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -522, 1249, -5052}, 0, { 8824, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1091, 1352, -4084}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 768, 1249, -5375}, 0, { 8824, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 768, 1352, -5375}, 0, { 8824, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07007770 - 0x070077F0
static const Gfx sl_seg7_dl_07007770[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09005800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(sl_seg7_vertex_07007480, 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(sl_seg7_vertex_07007570, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 2, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x070077F0 - 0x07007880
static const Gfx sl_seg7_dl_070077F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(sl_seg7_vertex_070075E0, 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, 13, 12, 15, 0x0),
gsSPVertex(sl_seg7_vertex_070076E0, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 3, 5, 0, 0x0, 6, 7, 8, 0x0),
gsSPEndDisplayList(),
};
// 0x07007880 - 0x07007910
const Gfx sl_seg7_dl_07007880[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
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(sl_seg7_dl_07007770),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(sl_seg7_dl_070077F0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};