sm64coopdx/levels/bitfs/areas/1/8/model.inc.c

110 lines
6.4 KiB
C
Raw Normal View History

2019-11-03 19:36:27 +00:00
// 0x07006C58 - 0x07006D58
static const Vtx bitfs_seg7_vertex_07006C58[] = {
{{{ 1280, -153, 512}, 0, { 308, 1328}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 1280, -153, -511}, 0, { -3092, 4736}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 256, -152, -511}, 0, { -6500, 1328}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 256, -152, 512}, 0, { -3092, -2076}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ -50, -153, -204}, 0, { -6500, -714}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ -50, -153, 205}, 0, { -5136, -2076}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 256, -153, 512}, 0, { -3092, -2076}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 256, -153, -511}, 0, { -6500, 1328}, {0x9a, 0xfe, 0xb3, 0xff}}},
{{{ 256, -153, 512}, 0, { 0, 990}, {0x8e, 0xf0, 0x98, 0xff}}},
{{{ 256, -767, 512}, 0, { 2012, 3032}, {0x8e, 0xf0, 0x98, 0xff}}},
{{{ 1280, -767, 512}, 0, { 5420, -372}, {0x8e, 0xf0, 0x98, 0xff}}},
{{{ 1280, -153, 512}, 0, { 3376, -2416}, {0x8e, 0xf0, 0x98, 0xff}}},
{{{ -50, -153, 205}, 0, { -1732, -372}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -50, -153, -204}, 0, { -368, -1736}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -50, 512, -204}, 0, { -2584, -3950}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -50, 512, 205}, 0, { -3944, -2586}, {0xce, 0xaf, 0x16, 0xff}}},
};
// 0x07006D58 - 0x07006E58
static const Vtx bitfs_seg7_vertex_07006D58[] = {
{{{ -460, -613, 205}, 0, { -200, 1158}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -460, 512, 205}, 0, { -3944, -2586}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -460, -613, -204}, 0, { 1160, -202}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -460, 512, -204}, 0, { -2584, -3950}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -50, -153, 205}, 0, { -368, 1670}, {0x8c, 0xd8, 0x8c, 0xff}}},
{{{ -50, -613, 205}, 0, { 1160, 3202}, {0x8c, 0xd8, 0x8c, 0xff}}},
{{{ 256, -767, 512}, 0, { 3716, 1670}, {0x8c, 0xd8, 0x8c, 0xff}}},
{{{ 256, -153, 512}, 0, { 1672, -372}, {0x8c, 0xd8, 0x8c, 0xff}}},
{{{ -50, -613, 205}, 0, { -4968, 4906}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -50, 512, 205}, 0, { -8716, 1158}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -460, 511, 205}, 0, {-10076, 2524}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -460, -613, 205}, 0, { -6332, 6268}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -50, 512, -204}, 0, { -8716, 1158}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -460, -613, -204}, 0, { -6332, 6268}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -50, -613, -204}, 0, { -4968, 4906}, {0xff, 0xd4, 0x00, 0xff}}},
{{{ -460, 512, -204}, 0, {-10076, 2520}, {0xff, 0xd4, 0x00, 0xff}}},
};
// 0x07006E58 - 0x07006F58
static const Vtx bitfs_seg7_vertex_07006E58[] = {
{{{ -1381, 819, 205}, 0, { 308, 2350}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1381, 922, 205}, 0, { 0, 2350}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1381, 922, -204}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1381, 819, -204}, 0, { 308, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -665, 922, -204}, 0, { 1672, -1394}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1381, 922, 205}, 0, { 308, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -665, 922, 205}, 0, { 308, -1394}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1381, 922, -204}, 0, { 1672, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -665, 922, -206}, 0, { 0, -1394}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1381, 717, -204}, 0, { 648, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -665, 717, -206}, 0, { 648, -1394}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1381, 922, -204}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1381, 717, 205}, 0, { 648, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -665, 717, 205}, 0, { 648, -1394}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -665, 922, 205}, 0, { 0, -1394}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1381, 922, 205}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
};
// 0x07006F58 - 0x07007008
static const Gfx bitfs_seg7_dl_07006F58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitfs_seg7_texture_07000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07006C58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 8, 10, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_07006D58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 10, 11, 8, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x07007008 - 0x07007070
static const Gfx bitfs_seg7_dl_07007008[] = {
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_07006E58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x07007070 - 0x070070E8
const Gfx bitfs_seg7_dl_07007070[] = {
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_07006F58),
gsSPDisplayList(bitfs_seg7_dl_07007008),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};