mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 07:23:01 +00:00
95 lines
4.4 KiB
C
95 lines
4.4 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x07008040 - 0x07008140
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008040, 0x00371c40, 68724, 0x00008040, 256);
|
|
|
|
// 0x07008140 - 0x07008240
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008140, 0x00371c40, 68724, 0x00008140, 256);
|
|
|
|
// 0x07008240 - 0x07008330
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008240, 0x00371c40, 68724, 0x00008240, 240);
|
|
|
|
// 0x07008330 - 0x07008430
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008330, 0x00371c40, 68724, 0x00008330, 256);
|
|
|
|
// 0x07008430 - 0x07008530
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008430, 0x00371c40, 68724, 0x00008430, 256);
|
|
|
|
// 0x07008530 - 0x07008620
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008530, 0x00371c40, 68724, 0x00008530, 240);
|
|
|
|
// 0x07008620 - 0x07008720
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008620, 0x00371c40, 68724, 0x00008620, 256);
|
|
|
|
// 0x07008720 - 0x07008820
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008720, 0x00371c40, 68724, 0x00008720, 256);
|
|
|
|
// 0x07008820 - 0x070088E0
|
|
ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07008820, 0x00371c40, 68724, 0x00008820, 192);
|
|
|
|
// 0x070088E0 - 0x07008B58
|
|
static const Gfx bbh_seg7_dl_070088E0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008040, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 0, 8, 0x0),
|
|
gsSP2Triangles( 9, 1, 10, 0x0, 9, 11, 1, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008140, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 1, 6, 7, 0x0, 1, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 9, 11, 12, 0x0),
|
|
gsSP2Triangles(13, 14, 10, 0x0, 13, 10, 15, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008240, 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, 13, 6, 14, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008330, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 5, 10, 11, 0x0, 5, 11, 12, 0x0),
|
|
gsSP2Triangles(13, 14, 10, 0x0, 13, 10, 15, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008430, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 5, 2, 10, 0x0, 5, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008530, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 0, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 12, 13, 14, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008620, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 2, 5, 0x0, 4, 5, 6, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 7, 9, 10, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 14, 10, 15, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008720, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 5, 0x0, 10, 12, 11, 0x0),
|
|
gsSP2Triangles(13, 14, 15, 0x0, 13, 11, 14, 0x0),
|
|
gsSPVertexNonGlobal(bbh_seg7_vertex_07008820, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 3, 8, 0x0),
|
|
gsSP2Triangles( 9, 2, 10, 0x0, 9, 10, 11, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07008B58 - 0x07008BC8
|
|
const Gfx bbh_seg7_dl_07008B58[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
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(bbh_seg7_dl_070088E0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|