2024-03-23 20:11:30 +00:00
|
|
|
#include "pc/rom_assets.h"
|
2019-11-03 19:36:27 +00:00
|
|
|
// 0x07019470 - 0x07019530
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(lll_seg7_vertex_07019470, 0x004784a0, 83204, 0x00019470, 192);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x07019530 - 0x07019620
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(lll_seg7_vertex_07019530, 0x004784a0, 83204, 0x00019530, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x07019620 - 0x07019710
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(lll_seg7_vertex_07019620, 0x004784a0, 83204, 0x00019620, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x07019710 - 0x07019800
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(lll_seg7_vertex_07019710, 0x004784a0, 83204, 0x00019710, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x07019800 - 0x07019870
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(lll_seg7_vertex_07019800, 0x004784a0, 83204, 0x00019800, 112);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x07019870 - 0x07019908
|
|
|
|
static const Gfx lll_seg7_dl_07019870[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07003000),
|
|
|
|
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(&lll_seg7_lights_0700FC00.l, 1),
|
|
|
|
gsSPLight(&lll_seg7_lights_0700FC00.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
gsSPVertex(lll_seg7_vertex_07019470, 12, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
|
|
|
|
gsSP2Triangles( 3, 1, 0, 0x0, 5, 6, 7, 0x0),
|
|
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 9, 8, 5, 0x0),
|
|
|
|
gsSP2Triangles( 9, 2, 8, 0x0, 10, 11, 4, 0x0),
|
|
|
|
gsSP2Triangles( 0, 2, 9, 0x0, 7, 11, 10, 0x0),
|
|
|
|
gsSP2Triangles( 7, 6, 11, 0x0, 10, 4, 3, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x07019908 - 0x07019A08
|
|
|
|
static const Gfx lll_seg7_dl_07019908[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(lll_seg7_vertex_07019530, 15, 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),
|
|
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
|
|
gsSPVertex(lll_seg7_vertex_07019620, 15, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
|
|
gsSPVertex(lll_seg7_vertex_07019710, 15, 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),
|
|
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
|
|
gsSPVertex(lll_seg7_vertex_07019800, 7, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
|
|
gsSP1Triangle( 0, 2, 6, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x07019A08 - 0x07019A98
|
|
|
|
const Gfx lll_seg7_dl_07019A08[] = {
|
|
|
|
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(lll_seg7_dl_07019870),
|
|
|
|
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(lll_seg7_dl_07019908),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|