198 lines
8.8 KiB
C
198 lines
8.8 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x070175B0 - 0x070176A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070175B0, 0x00437870, 75979, 0x000173e8, 240);
|
|
|
|
// 0x070176A0 - 0x07017790
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070176A0, 0x00437870, 75979, 0x000174d8, 240);
|
|
|
|
// 0x07017790 - 0x07017880
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017790, 0x00437870, 75979, 0x000175c8, 240);
|
|
|
|
// 0x07017880 - 0x07017980
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017880, 0x00437870, 75979, 0x000176b8, 256);
|
|
|
|
// 0x07017980 - 0x07017A60
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017980, 0x00437870, 75979, 0x000177b8, 224);
|
|
|
|
// 0x07017A60 - 0x07017B40
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017A60, 0x00437870, 75979, 0x00017898, 224);
|
|
|
|
// 0x07017B40 - 0x07017C20
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017B40, 0x00437870, 75979, 0x00017978, 224);
|
|
|
|
// 0x07017C20 - 0x07017D00
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017C20, 0x00437870, 75979, 0x00017a58, 224);
|
|
|
|
// 0x07017D00 - 0x07017DE0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017D00, 0x00437870, 75979, 0x00017b38, 224);
|
|
|
|
// 0x07017DE0 - 0x07017EE0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017DE0, 0x00437870, 75979, 0x00017c18, 256);
|
|
|
|
// 0x07017EE0 - 0x07017F90
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017EE0, 0x00437870, 75979, 0x00017d18, 176);
|
|
|
|
// 0x07017F90 - 0x07018010
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07017F90, 0x00437870, 75979, 0x00017dc8, 128);
|
|
|
|
// 0x07018010 - 0x07018100
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07018010, 0x00437870, 75979, 0x00017e48, 240);
|
|
|
|
// 0x07018100 - 0x070181F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07018100, 0x00437870, 75979, 0x00017f38, 240);
|
|
|
|
// 0x070181F0 - 0x070182F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070181F0, 0x00437870, 75979, 0x00018028, 256);
|
|
|
|
// 0x070182F0 - 0x070183E0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070182F0, 0x00437870, 75979, 0x00018128, 240);
|
|
|
|
// 0x070183E0 - 0x070184D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070183E0, 0x00437870, 75979, 0x00018218, 240);
|
|
|
|
// 0x070184D0 - 0x070185D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070184D0, 0x00437870, 75979, 0x00018308, 256);
|
|
|
|
// 0x070185D0 - 0x07018650
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070185D0, 0x00437870, 75979, 0x00018408, 128);
|
|
|
|
// 0x07018650 - 0x07018938
|
|
static const Gfx rr_seg7_dl_07018650[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_070175B0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 7, 9, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070176A0, 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(rr_seg7_vertex_07017790, 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(14, 11, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017880, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 2, 7, 0x0, 10, 7, 6, 0x0),
|
|
gsSP2Triangles( 0, 2, 10, 0x0, 11, 1, 0, 0x0),
|
|
gsSP2Triangles(11, 12, 1, 0x0, 13, 14, 12, 0x0),
|
|
gsSP2Triangles(13, 12, 11, 0x0, 15, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017980, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
|
|
gsSP2Triangles( 3, 4, 1, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 4, 3, 0x0, 8, 9, 4, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017A60, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017B40, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017C20, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017D00, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017DE0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 0, 0x0, 5, 3, 0, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07017EE0, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP1Triangle( 8, 9, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07018938 - 0x07018980
|
|
static const Gfx rr_seg7_dl_07018938[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09006000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_07017F90, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07018980 - 0x07018B58
|
|
static const Gfx rr_seg7_dl_07018980[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, rr_seg7_texture_07001800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_07018010, 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(12, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07018100, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 12, 0x0),
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070181F0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070182F0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070183E0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070184D0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 1, 6, 2, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(12, 14, 13, 0x0, 3, 5, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070185D0, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07018B58 - 0x07018C18
|
|
const Gfx rr_seg7_dl_07018B58[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetEnvColor(255, 255, 255, 100),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBFADEA, G_CC_MODULATERGBFADEA),
|
|
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_WRAP | G_TX_NOMIRROR, 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(rr_seg7_dl_07018650),
|
|
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(rr_seg7_dl_07018938),
|
|
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(rr_seg7_dl_07018980),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsDPSetEnvColor(255, 255, 255, 255),
|
|
gsSPEndDisplayList(),
|
|
};
|