82 lines
3.6 KiB
C
82 lines
3.6 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x07014370 - 0x07014460
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014370, 0x003d0dc0, 89137, 0x00014370, 240);
|
|
|
|
// 0x07014460 - 0x07014550
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014460, 0x003d0dc0, 89137, 0x00014460, 240);
|
|
|
|
// 0x07014550 - 0x07014640
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014550, 0x003d0dc0, 89137, 0x00014550, 240);
|
|
|
|
// 0x07014640 - 0x07014730
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014640, 0x003d0dc0, 89137, 0x00014640, 240);
|
|
|
|
// 0x07014730 - 0x07014820
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014730, 0x003d0dc0, 89137, 0x00014730, 240);
|
|
|
|
// 0x07014820 - 0x07014910
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014820, 0x003d0dc0, 89137, 0x00014820, 240);
|
|
|
|
// 0x07014910 - 0x07014950
|
|
ROM_ASSET_LOAD_VTX(hmc_seg7_vertex_07014910, 0x003d0dc0, 89137, 0x00014910, 64);
|
|
|
|
// 0x07014950 - 0x07014B08
|
|
static const Gfx hmc_seg7_dl_07014950[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cave_09007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(hmc_seg7_vertex_07014370, 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(hmc_seg7_vertex_07014460, 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, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(hmc_seg7_vertex_07014550, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(hmc_seg7_vertex_07014640, 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, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(hmc_seg7_vertex_07014730, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(hmc_seg7_vertex_07014820, 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, 14, 1, 0x0),
|
|
gsSPVertex(hmc_seg7_vertex_07014910, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07014B08 - 0x07014B88
|
|
const Gfx hmc_seg7_dl_07014B08[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetEnvColor(255, 255, 255, 128),
|
|
gsDPSetCombineMode(G_CC_DECALFADEA, G_CC_DECALFADEA),
|
|
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
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(hmc_seg7_dl_07014950),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsDPSetEnvColor(255, 255, 255, 255),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|