mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 14:03:01 +00:00
156 lines
9 KiB
C
156 lines
9 KiB
C
// 0x070070E8 - 0x070071C8
|
|
static const Vtx bitfs_seg7_vertex_070070E8[] = {
|
|
{{{ -3737, 0, -1177}, 0, { 9352, -514}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 1280, 0, 108}, 0, { 18458, 308}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 1280, 1, 519}, 0, { 18456, 582}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 3533, 0, 1133}, 0, { 22544, 990}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 1690, 0, 519}, 0, { 19200, 582}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 1690, 0, 109}, 0, { 19200, 308}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ -255, 0, 1133}, 0, { 15670, 990}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 3533, 0, -1177}, 0, { 22544, -548}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ -255, 0, -1177}, 0, { 15668, -514}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ -3737, 0, 1133}, 0, { 9352, 990}, {0x44, 0x44, 0x44, 0xff}}},
|
|
{{{ 3507, 256, 1107}, 0, { 14532, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -255, 256, 1133}, 0, { 7020, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3533, 256, 1133}, 0, { 14582, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -255, 256, 1107}, 0, { 7020, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x070071C8 - 0x070072A8
|
|
static const Vtx bitfs_seg7_vertex_070071C8[] = {
|
|
{{{ -255, 256, -1177}, 0, { 7018, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -3737, 256, -1177}, 0, { 70, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -3737, 256, -1125}, 0, { 70, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -255, 256, -1151}, 0, { 7018, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3507, 256, -1151}, 0, { 14532, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3533, 256, -1177}, 0, { 14582, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3533, 256, -1177}, 0, { 3864, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3507, 256, -1151}, 0, { 3814, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3507, 256, 1107}, 0, { -694, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3533, 256, 1133}, 0, { -746, 478}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -255, 256, 1107}, 0, { 7020, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -3737, 256, 1133}, 0, { 70, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -255, 256, 1133}, 0, { 7020, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -3737, 256, 1082}, 0, { 70, 480}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x070072A8 - 0x070073A8
|
|
static const Vtx bitfs_seg7_vertex_070072A8[] = {
|
|
{{{ 3533, 0, -1177}, 0, { 3864, 990}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3533, 256, -1177}, 0, { 3864, 478}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3533, 256, 1133}, 0, { -746, 478}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3533, 0, 1133}, 0, { -746, 990}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3507, 256, 1107}, 0, { -694, 478}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3456, 205, -1100}, 0, { 3712, 582}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3456, 205, 1056}, 0, { -592, 582}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ 3507, 256, -1151}, 0, { 3814, 478}, {0x64, 0x64, 0x64, 0xff}}},
|
|
{{{ -255, 205, -1100}, 0, { 7018, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3456, 205, -1100}, 0, { 14430, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3507, 256, -1151}, 0, { 14532, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, -1151}, 0, { 7018, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3456, 205, 1056}, 0, { 14430, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, 1107}, 0, { 7020, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3507, 256, 1107}, 0, { 14532, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 205, 1056}, 0, { 7020, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x070073A8 - 0x07007488
|
|
static const Vtx bitfs_seg7_vertex_070073A8[] = {
|
|
{{{ -255, 205, 1056}, 0, { 7020, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 256, 1082}, 0, { 70, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, 1107}, 0, { 7020, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 205, 1031}, 0, { 70, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3533, 256, 1133}, 0, { 14582, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 0, 1133}, 0, { 7020, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3533, 0, 1133}, 0, { 14582, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, 1133}, 0, { 7020, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 0, -1177}, 0, { 7020, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 0, -1177}, 0, { 70, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, -1177}, 0, { 7020, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, 1133}, 0, { 7020, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 0, 1133}, 0, { 70, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 256, 1133}, 0, { 70, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x07007488 - 0x07007538
|
|
static const Vtx bitfs_seg7_vertex_07007488[] = {
|
|
{{{ -255, 256, -1151}, 0, { 7018, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 256, -1125}, 0, { 70, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 205, -1074}, 0, { 70, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 205, -1100}, 0, { 7018, 582}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3533, 0, -1177}, 0, { 14582, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 0, -1177}, 0, { 7020, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ 3533, 256, -1177}, 0, { 14582, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, -1177}, 0, { 7020, 478}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 0, -1177}, 0, { 70, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -3737, 256, -1177}, 0, { 70, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
{{{ -255, 256, -1177}, 0, { 7020, 480}, {0x8c, 0x8c, 0x8c, 0xff}}},
|
|
};
|
|
|
|
// 0x07007538 - 0x07007578
|
|
static const Vtx bitfs_seg7_vertex_07007538[] = {
|
|
{{{ 1280, 246, 519}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 1690, 246, 519}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 1690, 246, 109}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 1280, 246, 109}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07007578 - 0x07007700
|
|
static const Gfx bitfs_seg7_dl_07007578[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bitfs_seg7_vertex_070070E8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 3, 6, 0x0, 4, 6, 2, 0x0),
|
|
gsSP2Triangles( 3, 5, 7, 0x0, 8, 5, 1, 0x0),
|
|
gsSP2Triangles( 8, 7, 5, 0x0, 2, 6, 9, 0x0),
|
|
gsSP2Triangles( 9, 0, 2, 0x0, 0, 8, 1, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPVertex(bitfs_seg7_vertex_070071C8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 0, 4, 5, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPVertex(bitfs_seg7_vertex_070072A8, 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, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(bitfs_seg7_vertex_070073A8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 5, 0x0),
|
|
gsSP1Triangle(11, 13, 12, 0x0),
|
|
gsSPVertex(bitfs_seg7_vertex_07007488, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSP1Triangle( 8, 9, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07007700 - 0x07007720
|
|
static const Gfx bitfs_seg7_dl_07007700[] = {
|
|
gsSPVertex(bitfs_seg7_vertex_07007538, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07007720 - 0x07007798
|
|
const Gfx bitfs_seg7_dl_07007720[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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_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(bitfs_seg7_dl_07007578),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPDisplayList(bitfs_seg7_dl_07007700),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|