mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 16:27:27 +00:00
96 lines
5.3 KiB
C
96 lines
5.3 KiB
C
|
// 0x070106D8 - 0x07010758
|
||
|
static const Vtx ccm_seg7_vertex_070106D8[] = {
|
||
|
{{{ -1457, -890, 550}, 0, { 23466, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -377, -397, 185}, 0, { 11430, 24}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -377, -499, 185}, 0, { 11436, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1457, -787, 550}, 0, { 23460, 24}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 703, -6, -178}, 0, { -2624, 24}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 703, -108, -178}, 0, { -2618, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -377, -499, 185}, 0, { 9410, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -377, -397, 185}, 0, { 9404, 24}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07010758 - 0x07010848
|
||
|
static const Vtx ccm_seg7_vertex_07010758[] = {
|
||
|
{{{ -1120, 297, 770}, 0, { 3368, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 553, 770}, 0, { 3376, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1586, 553, 983}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 348, 770}, 0, { -5376, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -12, 336, 667}, 0, { 2028, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 553, 770}, 0, { -5392, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -12, 540, 667}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -55, 336, 574}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1163, 348, 677}, 0, { 7372, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1163, 553, 677}, 0, { 7388, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -55, 540, 574}, 0, { -16, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1333, 297, 304}, 0, { 0, -34}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1333, 553, 304}, 0, { 0, 988}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 553, 770}, 0, { 3376, 988}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 297, 770}, 0, { 3372, -34}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07010848 - 0x070108F8
|
||
|
static const Vtx ccm_seg7_vertex_07010848[] = {
|
||
|
{{{ -1799, 297, 517}, 0, { -36, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1799, 553, 517}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1333, 553, 304}, 0, { 3376, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1120, 297, 770}, 0, { 3368, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1586, 553, 983}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1586, 297, 983}, 0, { -36, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1586, 297, 982}, 0, { 3368, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1586, 553, 982}, 0, { 3372, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1799, 553, 516}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1799, 297, 516}, 0, { -36, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -1333, 297, 304}, 0, { 3368, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070108F8 - 0x07010940
|
||
|
static const Gfx ccm_seg7_dl_070108F8[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09005800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(ccm_seg7_vertex_070106D8, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07010940 - 0x070109D0
|
||
|
static const Gfx ccm_seg7_dl_07010940[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09007000),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(ccm_seg7_vertex_07010758, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(13, 14, 11, 0x0),
|
||
|
gsSPVertex(ccm_seg7_vertex_07010848, 11, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 6, 7, 8, 0x0, 8, 9, 6, 0x0),
|
||
|
gsSP1Triangle( 2, 10, 0, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x070109D0 - 0x07010A60
|
||
|
const Gfx ccm_seg7_dl_070109D0[] = {
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
||
|
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_CLAMP, 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(ccm_seg7_dl_070108F8),
|
||
|
gsDPTileSync(),
|
||
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 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(ccm_seg7_dl_07010940),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|