2024-03-23 20:11:30 +00:00
|
|
|
#include "pc/rom_assets.h"
|
2019-12-02 02:52:53 +00:00
|
|
|
// 0x0700AED8 - 0x0700AEF0
|
|
|
|
static const Lights1 ttc_seg7_lights_0700AED8 = gdSPDefLights1(
|
|
|
|
0x7f, 0x7f, 0x7f,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0700AEF0 - 0x0700AFE0
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700AEF0, 0x0042cf20, 42199, 0x0000aef0, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0700AFE0 - 0x0700B0D0
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700AFE0, 0x0042cf20, 42199, 0x0000afe0, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0700B0D0 - 0x0700B110
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B0D0, 0x0042cf20, 42199, 0x0000b0d0, 64);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0700B110 - 0x0700B1D8
|
|
|
|
static const Gfx ttc_seg7_dl_0700B110[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09002800),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&ttc_seg7_lights_0700AED8.l, 1),
|
|
|
|
gsSPLight(&ttc_seg7_lights_0700AED8.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
gsSPVertex(ttc_seg7_vertex_0700AEF0, 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(ttc_seg7_vertex_0700AFE0, 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, 13, 11, 0x0),
|
|
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
|
|
gsSPVertex(ttc_seg7_vertex_0700B0D0, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x0700B1D8 - 0x0700B238
|
|
|
|
const Gfx ttc_seg7_dl_0700B1D8[] = {
|
|
|
|
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_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(ttc_seg7_dl_0700B110),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|