142 lines
7.1 KiB
C
142 lines
7.1 KiB
C
// 0x070111A0 - 0x070111B8
|
|
static const Lights1 ttm_seg7_lights_070111A0 = gdSPDefLights1(
|
|
0x7f, 0x7f, 0x7f,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x070111B8 - 0x070111D0
|
|
static const Lights1 ttm_seg7_lights_070111B8 = gdSPDefLights1(
|
|
0x4c, 0x4c, 0x4c,
|
|
0x99, 0x99, 0x99, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x070111D0 - 0x070111E8
|
|
static const Lights1 ttm_seg7_lights_070111D0 = gdSPDefLights1(
|
|
0x5d, 0x5d, 0x5d,
|
|
0xbb, 0xbb, 0xbb, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x070111E8 - 0x07011228
|
|
static const Vtx ttm_seg7_vertex_070111E8[] = {
|
|
{{{ 375, -306, -295}, 0, { 0, 650}, {0xf3, 0x00, 0x82, 0xff}}},
|
|
{{{ -133, -409, -241}, 0, { 1672, 990}, {0xf3, 0x00, 0x82, 0xff}}},
|
|
{{{ -133, -306, -241}, 0, { 1672, 650}, {0xf3, 0x00, 0x82, 0xff}}},
|
|
{{{ 375, -409, -295}, 0, { 0, 990}, {0xf3, 0x00, 0x82, 0xff}}},
|
|
};
|
|
|
|
// 0x07011228 - 0x070112F8
|
|
static const Vtx ttm_seg7_vertex_07011228[] = {
|
|
{{{ -206, -409, 682}, 0, { 3042, -7070}, {0x00, 0x81, 0x00, 0xff}}},
|
|
{{{ -498, -409, 585}, 0, { 4012, -6746}, {0x00, 0x81, 0x00, 0xff}}},
|
|
{{{ -133, -409, -241}, 0, { 2798, -3998}, {0x00, 0x81, 0x00, 0xff}}},
|
|
{{{ 168, 205, 53}, 0, { 1796, -4978}, {0xec, 0x88, 0x22, 0xff}}},
|
|
{{{ -271, 205, -208}, 0, { 3258, -4106}, {0xec, 0x88, 0x22, 0xff}}},
|
|
{{{ 325, 102, -210}, 0, { 1272, -4100}, {0xec, 0x88, 0x22, 0xff}}},
|
|
{{{ 325, 102, -210}, 0, { 1272, -4100}, {0x1d, 0x8f, 0xd0, 0xff}}},
|
|
{{{ -185, 205, -753}, 0, { 2972, -2294}, {0x1d, 0x8f, 0xd0, 0xff}}},
|
|
{{{ 430, 205, -386}, 0, { 924, -3514}, {0x1d, 0x8f, 0xd0, 0xff}}},
|
|
{{{ 325, 102, -210}, 0, { 1272, -4100}, {0xeb, 0x83, 0xfd, 0xff}}},
|
|
{{{ -271, 205, -208}, 0, { 3258, -4106}, {0xeb, 0x83, 0xfd, 0xff}}},
|
|
{{{ -185, 205, -753}, 0, { 2972, -2294}, {0xeb, 0x83, 0xfd, 0xff}}},
|
|
{{{ 375, -409, -295}, 0, { 1104, -3818}, {0x00, 0x81, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x070112F8 - 0x07011378
|
|
static const Vtx ttm_seg7_vertex_070112F8[] = {
|
|
{{{ -7, 205, -51}, 0, { 308, 990}, {0x93, 0x00, 0xc1, 0xff}}},
|
|
{{{ 44, 410, -139}, 0, { 0, 308}, {0x93, 0x00, 0xc1, 0xff}}},
|
|
{{{ 44, 205, -139}, 0, { 0, 990}, {0x93, 0x00, 0xc1, 0xff}}},
|
|
{{{ -7, 410, -51}, 0, { 308, 308}, {0x93, 0x00, 0xc1, 0xff}}},
|
|
{{{ -133, -306, -241}, 0, { 5254, -5824}, {0x8c, 0x00, 0xcd, 0xff}}},
|
|
{{{ -133, -409, -241}, 0, { 5254, -5482}, {0x8c, 0x00, 0xcd, 0xff}}},
|
|
{{{ -498, -409, 585}, 0, { 8046, -5482}, {0x8c, 0x00, 0xcd, 0xff}}},
|
|
{{{ -498, -306, 585}, 0, { 8046, -5824}, {0x8c, 0x00, 0xcd, 0xff}}},
|
|
};
|
|
|
|
// 0x07011378 - 0x070113F8
|
|
static const Vtx ttm_seg7_vertex_07011378[] = {
|
|
{{{ 168, 205, 53}, 0, { 650, 990}, {0xc0, 0x00, 0x6d, 0xff}}},
|
|
{{{ -7, 410, -51}, 0, { 0, 308}, {0xc0, 0x00, 0x6d, 0xff}}},
|
|
{{{ -7, 205, -51}, 0, { 0, 990}, {0xc0, 0x00, 0x6d, 0xff}}},
|
|
{{{ 168, 410, 53}, 0, { 650, 308}, {0xc0, 0x00, 0x6d, 0xff}}},
|
|
{{{ 44, 205, -139}, 0, { 730, 990}, {0x09, 0x00, 0x82, 0xff}}},
|
|
{{{ 44, 410, -139}, 0, { 730, 308}, {0x09, 0x00, 0x82, 0xff}}},
|
|
{{{ 272, 410, -122}, 0, { 0, 308}, {0x09, 0x00, 0x82, 0xff}}},
|
|
{{{ 272, 205, -122}, 0, { 0, 990}, {0x09, 0x00, 0x82, 0xff}}},
|
|
};
|
|
|
|
// 0x070113F8 - 0x070114B8
|
|
static const Vtx ttm_seg7_vertex_070113F8[] = {
|
|
{{{ 272, 410, -122}, 0, { 1126, -16018}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 44, 410, -139}, 0, { 670, -16052}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -7, 410, -51}, 0, { 564, -15878}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 168, 410, 53}, 0, { 916, -15668}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 375, -306, -295}, 0, { 1332, -16364}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -133, -306, -241}, 0, { 314, -16256}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -498, -306, 585}, 0, { -412, -14606}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -206, -306, 682}, 0, { 168, -14412}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 430, 205, -386}, 0, { 1440, -16546}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -185, 205, -753}, 0, { 210, -17278}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ -271, 205, -208}, 0, { 38, -16192}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
{{{ 168, 205, 53}, 0, { 916, -15668}, {0x00, 0x7f, 0x00, 0xff}}},
|
|
};
|
|
|
|
// 0x070114B8 - 0x070115B0
|
|
static const Gfx ttm_seg7_dl_070114B8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&ttm_seg7_lights_070111A0.l, 1),
|
|
gsSPLight(&ttm_seg7_lights_070111A0.a, 2),
|
|
gsSPVertex(ttm_seg7_vertex_070111E8, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPLight(&ttm_seg7_lights_070111B8.l, 1),
|
|
gsSPLight(&ttm_seg7_lights_070111B8.a, 2),
|
|
gsSPVertex(ttm_seg7_vertex_07011228, 13, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle( 0, 2, 12, 0x0),
|
|
gsSPLight(&ttm_seg7_lights_070111D0.l, 1),
|
|
gsSPLight(&ttm_seg7_lights_070111D0.a, 2),
|
|
gsSPVertex(ttm_seg7_vertex_070112F8, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPLight(&ttm_seg7_lights_070111A0.l, 1),
|
|
gsSPLight(&ttm_seg7_lights_070111A0.a, 2),
|
|
gsSPVertex(ttm_seg7_vertex_07011378, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070115B0 - 0x07011608
|
|
static const Gfx ttm_seg7_dl_070115B0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09003800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(ttm_seg7_vertex_070113F8, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07011608 - 0x07011680
|
|
const Gfx ttm_seg7_dl_07011608[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_SHADING_SMOOTH),
|
|
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(ttm_seg7_dl_070114B8),
|
|
gsSPDisplayList(ttm_seg7_dl_070115B0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|