101 lines
5.4 KiB
C
101 lines
5.4 KiB
C
// 0x0701D888 - 0x0701D8A0
|
|
static const Lights1 ttm_seg7_lights_0701D888 = gdSPDefLights1(
|
|
0x3f, 0x3f, 0x3f,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0701D8A0 - 0x0701D9A0
|
|
static const Vtx ttm_seg7_vertex_0701D8A0[] = {
|
|
{{{ -5967, -1533, -5572}, 0, { 0, 448}, {0x0d, 0x00, 0x7e, 0xff}}},
|
|
{{{ -5943, -1533, -5572}, 0, { 0, 522}, {0xe5, 0x00, 0x7c, 0xff}}},
|
|
{{{ -5943, -1021, -5572}, 0, { 2012, 522}, {0xf3, 0x00, 0x7e, 0xff}}},
|
|
{{{ -5907, -1021, -5560}, 0, { 2012, 632}, {0xd0, 0x00, 0x75, 0xff}}},
|
|
{{{ -5907, -1533, -5560}, 0, { 0, 632}, {0xd0, 0x00, 0x75, 0xff}}},
|
|
{{{ -5967, -1021, -5572}, 0, { 2012, 448}, {0x1b, 0x00, 0x7c, 0xff}}},
|
|
{{{ -6003, -1533, -5560}, 0, { 0, 336}, {0x2d, 0x00, 0x76, 0xff}}},
|
|
{{{ -6121, -1533, -5501}, 0, { 0, 0}, {0x44, 0x00, 0x6a, 0xff}}},
|
|
{{{ -6003, -1021, -5560}, 0, { 2012, 336}, {0x33, 0x00, 0x74, 0xff}}},
|
|
{{{ -6121, -1021, -5501}, 0, { 2012, 0}, {0x4f, 0x00, 0x62, 0xff}}},
|
|
{{{ -7548, -1533, -4074}, 0, { 2012, -3088}, {0x5d, 0x00, 0x56, 0xff}}},
|
|
{{{ -7548, -2045, -4074}, 0, { 0, -3088}, {0x5b, 0x00, 0x58, 0xff}}},
|
|
{{{ -6679, -1124, -4943}, 0, { 2012, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6389, -1533, -5233}, 0, { 0, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6121, -1021, -5501}, 0, { 2012, 990}, {0x4f, 0x00, 0x62, 0xff}}},
|
|
{{{ -6389, -1021, -5233}, 0, { 2012, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
};
|
|
|
|
// 0x0701D9A0 - 0x0701DA80
|
|
static const Vtx ttm_seg7_vertex_0701D9A0[] = {
|
|
{{{ -6389, -1533, -5233}, 0, { 0, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6121, -1533, -5501}, 0, { 0, 990}, {0x44, 0x00, 0x6a, 0xff}}},
|
|
{{{ -6121, -1021, -5501}, 0, { 2012, 990}, {0x4f, 0x00, 0x62, 0xff}}},
|
|
{{{ -7961, -2076, -3611}, 0, { 0, -1056}, {0x5e, 0x00, 0x54, 0xff}}},
|
|
{{{ -7548, -2045, -4074}, 0, { 0, 990}, {0x5b, 0x00, 0x58, 0xff}}},
|
|
{{{ -7548, -1533, -4074}, 0, { 2012, 990}, {0x5d, 0x00, 0x56, 0xff}}},
|
|
{{{ -7961, -1564, -3611}, 0, { 2012, -1056}, {0x5e, 0x00, 0x54, 0xff}}},
|
|
{{{ -5792, -1533, -5502}, 0, { 0, 990}, {0xc7, 0x00, 0x71, 0xff}}},
|
|
{{{ -5792, -1021, -5502}, 0, { 2012, 990}, {0xc7, 0x00, 0x71, 0xff}}},
|
|
{{{ -5907, -1021, -5560}, 0, { 2012, 632}, {0xd0, 0x00, 0x75, 0xff}}},
|
|
{{{ -5907, -1533, -5560}, 0, { 0, 632}, {0xd0, 0x00, 0x75, 0xff}}},
|
|
{{{ -6679, -1124, -4943}, 0, { 2012, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6679, -1636, -4943}, 0, { 0, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6389, -1533, -5233}, 0, { 0, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
};
|
|
|
|
// 0x0701DA80 - 0x0701DAE0
|
|
static const Vtx ttm_seg7_vertex_0701DA80[] = {
|
|
{{{ -6679, -1636, -4943}, 0, { 0, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6679, -1124, -4943}, 0, { 2012, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -7548, -2045, -4074}, 0, { 0, -3088}, {0x5b, 0x00, 0x58, 0xff}}},
|
|
{{{ -6389, -1021, -5233}, 0, { 2012, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6679, -1124, -4943}, 0, { 2012, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
|
{{{ -6389, -1533, -5233}, 0, { 0, 990}, {0x59, 0x00, 0x59, 0xff}}},
|
|
};
|
|
|
|
// 0x0701DAE0 - 0x0701DBB8
|
|
static const Gfx ttm_seg7_dl_0701DAE0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09000800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&ttm_seg7_lights_0701D888.l, 1),
|
|
gsSPLight(&ttm_seg7_lights_0701D888.a, 2),
|
|
gsSPVertex(ttm_seg7_vertex_0701D8A0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 1, 4, 3, 0x0, 0, 2, 5, 0x0),
|
|
gsSP2Triangles( 6, 0, 5, 0x0, 7, 6, 8, 0x0),
|
|
gsSP2Triangles( 6, 5, 8, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(ttm_seg7_vertex_0701D9A0, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(ttm_seg7_vertex_0701DA80, 6, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0701DBB8 - 0x0701DC60
|
|
const Gfx ttm_seg7_dl_0701DBB8[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(0, 0, 0, 255),
|
|
gsSPFogPosition(980, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2),
|
|
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_CLAMP, 6, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(ttm_seg7_dl_0701DAE0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|