110 lines
6.0 KiB
C
110 lines
6.0 KiB
C
// 0x0700B6D0 - 0x0700B6D8
|
|
static const Ambient ttm_seg7_light_0700B6D0 = {
|
|
{{0x4c, 0x4c, 0x4c}, 0, {0x4c, 0x4c, 0x4c}, 0}
|
|
};
|
|
|
|
// 0x0700B6D8 - 0x0700B6E8
|
|
static const Light ttm_seg7_light_0700B6D8 = {
|
|
{{0x99, 0x99, 0x99}, 0, {0x99, 0x99, 0x99}, 0, {0x28, 0x28, 0x28}, 0}
|
|
};
|
|
|
|
// 0x0700B6E8 - 0x0700B7D8
|
|
static const Vtx ttm_seg7_vertex_0700B6E8[] = {
|
|
{{{ -24, 1595, -186}, 0, { 534, 478}, {0xef, 0x29, 0x8a, 0xff}}},
|
|
{{{ 100, 1595, -155}, 0, { 142, 480}, {0x3a, 0x50, 0xb1, 0xff}}},
|
|
{{{ 100, 1528, -155}, 0, { 142, 684}, {0x4b, 0x00, 0x9a, 0xff}}},
|
|
{{{ 112, 1629, -32}, 0, { 346, -154}, {0x27, 0x78, 0xfb, 0xff}}},
|
|
{{{ 135, 1596, 80}, 0, { -102, 68}, {0x50, 0x42, 0x48, 0xff}}},
|
|
{{{ 167, 1595, -44}, 0, { 454, 74}, {0x76, 0x29, 0xef, 0xff}}},
|
|
{{{ 135, 1528, 80}, 0, { -104, 332}, {0x6f, 0x00, 0x3d, 0xff}}},
|
|
{{{ 166, 1528, -44}, 0, { 454, 332}, {0x7d, 0xff, 0xee, 0xff}}},
|
|
{{{ 100, 1528, -155}, 0, { 114, 1692}, {0x4b, 0x00, 0x9a, 0xff}}},
|
|
{{{ 167, 1595, -44}, 0, { 404, 1134}, {0x76, 0x29, 0xef, 0xff}}},
|
|
{{{ 166, 1528, -44}, 0, { 114, 1134}, {0x7d, 0xff, 0xee, 0xff}}},
|
|
{{{ 100, 1595, -155}, 0, { 406, 1692}, {0x3a, 0x50, 0xb1, 0xff}}},
|
|
{{{ -135, 1528, -120}, 0, { 810, 684}, {0x9b, 0x00, 0xb5, 0xff}}},
|
|
{{{ -24, 1528, -186}, 0, { 534, 682}, {0xee, 0x00, 0x83, 0xff}}},
|
|
{{{ -135, 1595, -120}, 0, { 810, 480}, {0xaf, 0x4c, 0xc4, 0xff}}},
|
|
};
|
|
|
|
// 0x0700B7D8 - 0x0700B8D8
|
|
static const Vtx ttm_seg7_vertex_0700B7D8[] = {
|
|
{{{ 24, 1528, 146}, 0, { 586, 752}, {0x12, 0x00, 0x7d, 0xff}}},
|
|
{{{ 24, 1596, 146}, 0, { 586, 480}, {0x0f, 0x3b, 0x6f, 0xff}}},
|
|
{{{ -100, 1597, 115}, 0, { 104, 480}, {0xc6, 0x3e, 0x5e, 0xff}}},
|
|
{{{ -123, 1629, 2}, 0, { -110, 234}, {0xd3, 0x76, 0x06, 0xff}}},
|
|
{{{ -166, 1596, 4}, 0, { 18, 292}, {0x89, 0x26, 0x11, 0xff}}},
|
|
{{{ -100, 1597, 115}, 0, { 174, -216}, {0xc6, 0x3e, 0x5e, 0xff}}},
|
|
{{{ -135, 1595, -120}, 0, { -130, 802}, {0xaf, 0x4c, 0xc4, 0xff}}},
|
|
{{{ -135, 1528, -120}, 0, { 156, 890}, {0x9b, 0x00, 0xb5, 0xff}}},
|
|
{{{ -100, 1528, 115}, 0, { 468, -126}, {0xa7, 0x00, 0x5a, 0xff}}},
|
|
{{{ -166, 1528, 4}, 0, { 312, 382}, {0x83, 0x00, 0x12, 0xff}}},
|
|
{{{ 135, 1528, 80}, 0, { 1068, 752}, {0x6f, 0x00, 0x3d, 0xff}}},
|
|
{{{ 135, 1596, 80}, 0, { 1068, 480}, {0x50, 0x42, 0x48, 0xff}}},
|
|
{{{ -100, 1528, 115}, 0, { 104, 752}, {0xa7, 0x00, 0x5a, 0xff}}},
|
|
{{{ -22, 1629, -133}, 0, { 458, 40}, {0xfb, 0x7a, 0xde, 0xff}}},
|
|
{{{ 100, 1595, -155}, 0, { 936, 24}, {0x3a, 0x50, 0xb1, 0xff}}},
|
|
{{{ -24, 1595, -186}, 0, { 484, -162}, {0xef, 0x29, 0x8a, 0xff}}},
|
|
};
|
|
|
|
// 0x0700B8D8 - 0x0700B998
|
|
static const Vtx ttm_seg7_vertex_0700B8D8[] = {
|
|
{{{ 112, 1629, -32}, 0, { 910, 492}, {0x27, 0x78, 0xfb, 0xff}}},
|
|
{{{ 100, 1595, -155}, 0, { 936, 24}, {0x3a, 0x50, 0xb1, 0xff}}},
|
|
{{{ -22, 1629, -133}, 0, { 458, 40}, {0xfb, 0x7a, 0xde, 0xff}}},
|
|
{{{ 11, 1629, 102}, 0, { 458, 942}, {0x04, 0x79, 0x25, 0xff}}},
|
|
{{{ -123, 1629, 2}, 0, { 8, 492}, {0xd3, 0x76, 0x06, 0xff}}},
|
|
{{{ -135, 1595, -120}, 0, { 32, 24}, {0xaf, 0x4c, 0xc4, 0xff}}},
|
|
{{{ -24, 1595, -186}, 0, { 484, -162}, {0xef, 0x29, 0x8a, 0xff}}},
|
|
{{{ -100, 1597, 115}, 0, { 32, 928}, {0xc6, 0x3e, 0x5e, 0xff}}},
|
|
{{{ -166, 1596, 4}, 0, { -154, 476}, {0x89, 0x26, 0x11, 0xff}}},
|
|
{{{ 24, 1596, 146}, 0, { 484, 1112}, {0x0f, 0x3b, 0x6f, 0xff}}},
|
|
{{{ 135, 1596, 80}, 0, { 936, 928}, {0x50, 0x42, 0x48, 0xff}}},
|
|
{{{ 167, 1595, -44}, 0, { 1122, 476}, {0x76, 0x29, 0xef, 0xff}}},
|
|
};
|
|
|
|
// 0x0700B998 - 0x0700BAD0
|
|
static const Gfx ttm_seg7_dl_0700B998[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&ttm_seg7_light_0700B6D8, 1),
|
|
gsSPLight(&ttm_seg7_light_0700B6D0, 2),
|
|
gsSPVertex(ttm_seg7_vertex_0700B6E8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 5, 4, 6, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 0, 13, 0x0, 12, 14, 0, 0x0),
|
|
gsSP1Triangle( 0, 2, 13, 0x0),
|
|
gsSPVertex(ttm_seg7_vertex_0700B7D8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 7, 0x0, 8, 4, 9, 0x0),
|
|
gsSP2Triangles( 8, 5, 4, 0x0, 4, 7, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 0, 0x0, 11, 1, 0, 0x0),
|
|
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(ttm_seg7_vertex_0700B8D8, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
|
|
gsSP2Triangles( 2, 4, 3, 0x0, 2, 5, 4, 0x0),
|
|
gsSP2Triangles( 2, 6, 5, 0x0, 4, 7, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 8, 0x0, 3, 9, 10, 0x0),
|
|
gsSP2Triangles( 3, 10, 0, 0x0, 3, 7, 9, 0x0),
|
|
gsSP1Triangle( 0, 11, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700BAD0 - 0x0700BB30
|
|
const Gfx ttm_seg7_dl_0700BAD0[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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_CLAMP, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(ttm_seg7_dl_0700B998),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|