sm64coopdx/levels/ssl/areas/2/3/model.inc.c

88 lines
5.0 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x0701F9D8 - 0x0701FAD8
static const Vtx ssl_seg7_vertex_0701F9D8[] = {
{{{ 1024, 1485, 2621}, 0, {-10762, 2520}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 1024, 1485, 3113}, 0, {-10762, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 1352, 1298, 3113}, 0, {-14850, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 2970, 640, -3378}, 0, { 2524, -4120}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 2355, 640, -3378}, 0, { -5140, -4120}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 2355, 640, -3276}, 0, { -5140, -2842}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 2970, 640, -3276}, 0, { 2524, -2842}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 3174, 640, -2559}, 0, { 5078, 6098}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 3174, 640, -3173}, 0, { 5078, -1566}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 3072, 640, -3173}, 0, { 3800, -1566}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 3072, 640, -2559}, 0, { 3800, 6098}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1485, 2621}, 0, { -8844, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 1352, 1298, 2621}, 0, {-14850, 2520}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 819, 1536, 2621}, 0, { -8206, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1536, 3113}, 0, { -8844, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1536, 2621}, 0, { -8844, 2522}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x0701FAD8 - 0x0701FBD8
static const Vtx ssl_seg7_vertex_0701FAD8[] = {
{{{ 1024, 1485, 3113}, 0, {-10762, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1485, 2621}, 0, { -8844, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1485, 3113}, 0, { -8844, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -1023, 1485, 2621}, 0, { 14788, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -1023, 1485, 3113}, 0, { 14788, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -869, 1485, 3113}, 0, { 12870, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -1351, 1298, 2621}, 0, { 18876, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -1351, 1298, 3113}, 0, { 18876, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -869, 1485, 2621}, 0, { 12870, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 819, 1536, 2621}, 0, { -8206, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 819, 1536, 3113}, 0, { -8206, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 870, 1536, 3113}, 0, { -8844, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 819, 1510, 3113}, 0, { -8206, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -818, 1306, 2621}, 0, { 12232, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -818, 1510, 3113}, 0, { 12232, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 819, 1306, 2621}, 0, { -8206, 2522}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x0701FBD8 - 0x0701FC18
static const Vtx ssl_seg7_vertex_0701FBD8[] = {
{{{ -869, 1536, 2621}, 0, { 12870, 2522}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -869, 1536, 3113}, 0, { 12870, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -818, 1536, 3113}, 0, { 12232, -3610}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -818, 1536, 2621}, 0, { 12232, 2522}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x0701FC18 - 0x0701FCE0
static const Gfx ssl_seg7_dl_0701FC18[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(ssl_seg7_vertex_0701F9D8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 1, 0, 11, 0x0),
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(ssl_seg7_vertex_0701FAD8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 3, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 3, 5, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPVertex(ssl_seg7_vertex_0701FBD8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0701FCE0 - 0x0701FD60
const Gfx ssl_seg7_dl_0701FCE0[] = {
gsDPPipeSync(),
gsDPSetEnvColor(255, 255, 255, 100),
gsDPSetCombineMode(G_CC_MODULATERGBFADEA, G_CC_MODULATERGBFADEA),
gsSPClearGeometryMode(G_LIGHTING),
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(ssl_seg7_dl_0701FC18),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsDPSetEnvColor(255, 255, 255, 255),
gsSPEndDisplayList(),
};