mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-30 07:53:01 +00:00
134 lines
7.9 KiB
C
134 lines
7.9 KiB
C
// 0x07008E80 - 0x07008F70
|
|
static const Vtx vcutm_seg7_vertex_07008E80[] = {
|
|
{{{ 0, -6553, 6554}, 0, { -6160, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -6553, -6553, 6554}, 0, { 10188, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -6553, -4505, 6554}, 0, { 10188, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -1637, -6553, -2917}, 0, { 3172, 5076}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -2457, -4505, -2917}, 0, { 1128, 0}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -2457, -6553, -2917}, 0, { 1128, 5076}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -2917}, 0, { 3172, 0}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -2457, -6553, -1177}, 0, { 2012, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -1177}, 0, { 992, 6610}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -1637, -6553, -1177}, 0, { 992, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -2457, -4505, -1177}, 0, { 2012, 6610}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -6553, -4505, 1638}, 0, { -8204, 990}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -6553, -6553, 1638}, 0, { -8204, 6098}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -6553, 1638}, 0, { 4056, 6098}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, 1638}, 0, { 4056, 990}, {0x99, 0x99, 0x99, 0xff}}},
|
|
};
|
|
|
|
// 0x07008F70 - 0x07009060
|
|
static const Vtx vcutm_seg7_vertex_07008F70[] = {
|
|
{{{ -1637, -6553, -6553}, 0, { 0, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 0, -4505, -6553}, 0, { 4056, -2076}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ -1637, -4505, -6553}, 0, { 0, -2076}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 0, -6553, 6554}, 0, { -6160, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -6553, -4505, 6554}, 0, { 10188, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 0, -4505, 6554}, 0, { -6160, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 4915, -4505, 6554}, 0, { -6160, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 4915, -6553, 6554}, 0, { -6160, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 0, -6553, 6554}, 0, { 6100, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 0, -4505, 6554}, 0, { 6100, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 0, -6553, -6553}, 0, { -4116, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 3738, -6553, -6553}, 0, { 5076, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 3738, -4505, -6553}, 0, { 5076, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 0, -4505, -6553}, 0, { -4116, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 0, -6553, -6553}, 0, { 4056, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07009060 - 0x07009140
|
|
static const Vtx vcutm_seg7_vertex_07009060[] = {
|
|
{{{ 3738, -6553, -5938}, 0, { 4568, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -4505, -5938}, 0, { 7632, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 3738, -4505, -5938}, 0, { 4568, 4054}, {0x99, 0x99, 0x99, 0xff}}},
|
|
{{{ 4915, -6553, -5938}, 0, { 7632, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -4914}, 0, { 2012, -2076}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1637, -6553, -6553}, 0, { 6100, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -6553}, 0, { 6100, -2076}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1637, -6553, -4914}, 0, { 2012, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -6553, -2917}, 0, { -2968, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -2917}, 0, { -2968, -2076}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2457, -6553, -1177}, 0, { -7308, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -2457, -4505, -2917}, 0, { -2968, -2076}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2457, -4505, -1177}, 0, { -7308, -2076}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2457, -6553, -2917}, 0, { -2968, 3032}, {0x00, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07009140 - 0x07009230
|
|
static const Vtx vcutm_seg7_vertex_07009140[] = {
|
|
{{{ -6553, -6553, 6554}, 0, { -6160, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -6553, -6553, 1638}, 0, { 6100, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -6553, -4505, 1638}, 0, { 6100, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -6553, -4505, 6554}, 0, { -6160, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 4915, -6553, 0}, 0, { -8204, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -4505, 6554}, 0, { 8144, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 4915, -4505, 0}, 0, { -8204, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1637, -6553, 1638}, 0, { -4116, 4054}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -6553, -1177}, 0, { 2908, 4054}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ -1637, -4505, -1177}, 0, { 2908, -1054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1637, -4505, 1638}, 0, { -4116, -1054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3738, -4505, -6553}, 0, { -9228, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3738, -6553, -5938}, 0, { -7692, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 3738, -4505, -5938}, 0, { -7692, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 3738, -6553, -6553}, 0, { -9228, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x07009230 - 0x070092A0
|
|
static const Vtx vcutm_seg7_vertex_07009230[] = {
|
|
{{{ 4915, -6553, -5938}, 0, { -6672, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -6553, 0}, 0, { 8144, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -4505, 0}, 0, { 8144, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 4915, -4505, -5938}, 0, { -6672, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 4915, -6553, 0}, 0, { -8204, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -6553, 6554}, 0, { 8144, 9164}, {0x00, 0x00, 0x00, 0xff}}},
|
|
{{{ 4915, -4505, 6554}, 0, { 8144, 4054}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x070092A0 - 0x070093E8
|
|
static const Gfx vcutm_seg7_dl_070092A0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, vcutm_seg7_texture_07000800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(vcutm_seg7_vertex_07008E80, 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(vcutm_seg7_vertex_07008F70, 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, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(vcutm_seg7_vertex_07009060, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 7, 4, 0x0, 8, 4, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPVertex(vcutm_seg7_vertex_07009140, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(vcutm_seg7_vertex_07009230, 7, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP1Triangle( 4, 5, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070093E8 - 0x07009458
|
|
const Gfx vcutm_seg7_dl_070093E8[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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, 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(vcutm_seg7_dl_070092A0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|