sm64pc/levels/bitfs/areas/1/6/model.inc.c

124 lines
7.4 KiB
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
// 0x07004120 - 0x07004210
static const Vtx bitfs_seg7_vertex_07004120[] = {
{{{ -153, 922, -890}, 0, { 0, -5074}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 922, -1197}, 0, { 2012, -986}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1074, 922, -890}, 0, { 0, 1056}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, 922, -1811}, 0, { 0, -5142}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -460, 922, -1197}, 0, { 2012, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, 922, -890}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -460, 922, -1504}, 0, { 2012, -3098}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1074, 922, -1811}, 0, { 0, -5074}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 922, -1504}, 0, { 2012, -3030}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -460, 922, -1504}, 0, { 2012, -986}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, 922, -1811}, 0, { 0, 1056}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1074, 922, -890}, 0, { 0, -5142}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 922, -1197}, 0, { 2012, -3098}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 922, -1504}, 0, { 2012, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1074, 922, -1811}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
};
// 0x07004210 - 0x07004300
static const Vtx bitfs_seg7_vertex_07004210[] = {
{{{ 1178, 614, -521}, 0, { 2012, -5078}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 0, 614, -521}, 0, { 2012, -1406}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 0, 614, -214}, 0, { 1000, -1406}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, 922, -890}, 0, { 0, -5074}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -460, 922, -1197}, 0, { 2012, -3030}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 922, -1197}, 0, { 2012, -986}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, -521}, 0, { 2012, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -818, 614, -521}, 0, { 1816, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -818, 614, 92}, 0, { 1816, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, 92}, 0, { 2012, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, -214}, 0, { 1000, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -409, 614, -521}, 0, { 2012, -128}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, -521}, 0, { 2012, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -409, 614, -214}, 0, { 1000, -128}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, 614, -214}, 0, { 1000, -5078}, {0xc8, 0xc8, 0xc8, 0xff}}},
};
// 0x07004300 - 0x07004400
static const Vtx bitfs_seg7_vertex_07004300[] = {
{{{ 1178, 614, 92}, 0, { 2012, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1229, 614, 92}, 0, { 1816, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, 614, -521}, 0, { 2012, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, 614, -214}, 0, { 1000, -5078}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 819, 614, 92}, 0, { 2012, -3960}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, 614, 92}, 0, { 2012, -5078}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 819, 614, -214}, 0, { 1000, -3960}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 410, 614, -214}, 0, { 1000, -2682}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, -214}, 0, { 1000, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -767, 614, 92}, 0, { 2012, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 410, 614, 92}, 0, { 2012, -2682}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1229, 307, 461}, 0, { 2012, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 819, 307, 461}, 0, { 0, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 819, 307, 870}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1229, 307, 870}, 0, { 2012, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1229, 614, -521}, 0, { 1816, -1054}, {0xc8, 0xc8, 0xc8, 0xff}}},
};
// 0x07004400 - 0x07004500
static const Vtx bitfs_seg7_vertex_07004400[] = {
{{{ 1229, 307, 870}, 0, { 0, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 819, 0, 870}, 0, { 1244, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1229, 0, 870}, 0, { 1244, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 819, 307, 870}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1229, 307, 461}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 819, 307, 461}, 0, { 2012, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1229, 0, 461}, 0, { 736, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 819, 0, 461}, 0, { 736, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -818, 922, -890}, 0, { 0, -1576}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -409, 614, -521}, 0, { 2012, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -409, 922, -890}, 0, { 2012, -1576}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -818, 614, -521}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 819, 614, 92}, 0, { 0, -1576}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1229, 307, 461}, 0, { 2012, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 1229, 614, 92}, 0, { 2012, -1576}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 819, 307, 461}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07004500 - 0x07004630
static const Gfx bitfs_seg7_dl_07004500[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07004120, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(bitfs_seg7_vertex_07004210, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSP1Triangle( 0, 2, 14, 0x0),
gsSPVertex(bitfs_seg7_vertex_07004300, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP2Triangles(11, 13, 14, 0x0, 1, 15, 2, 0x0),
gsSPVertex(bitfs_seg7_vertex_07004400, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x07004630 - 0x070046A0
const Gfx bitfs_seg7_dl_07004630[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
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, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 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(bitfs_seg7_dl_07004500),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};