sm64coopdx/levels/bitfs/areas/1/2/model.inc.c

121 lines
5.5 KiB
C

#include "pc/rom_assets.h"
// 0x07002188 - 0x07002288
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002188, 0x004614d0, 37742, 0x00002188, 256);
// 0x07002288 - 0x07002308
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002288, 0x004614d0, 37742, 0x00002288, 128);
// 0x07002308 - 0x07002408
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002308, 0x004614d0, 37742, 0x00002308, 256);
// 0x07002408 - 0x07002488
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002408, 0x004614d0, 37742, 0x00002408, 128);
// 0x07002488 - 0x07002588
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002488, 0x004614d0, 37742, 0x00002488, 256);
// 0x07002588 - 0x07002688
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002588, 0x004614d0, 37742, 0x00002588, 256);
// 0x07002688 - 0x07002788
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002688, 0x004614d0, 37742, 0x00002688, 256);
// 0x07002788 - 0x070027E8
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_07002788, 0x004614d0, 37742, 0x00002788, 96);
// 0x070027E8 - 0x07002878
static const Gfx bitfs_seg7_dl_070027E8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002188, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002288, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07002878 - 0x07002908
static const Gfx bitfs_seg7_dl_07002878[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002308, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002408, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x07002908 - 0x070029C8
static const Gfx bitfs_seg7_dl_07002908[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitfs_seg7_texture_07001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002488, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002588, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 4, 7, 8, 0x0, 9, 5, 4, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 14, 0x0),
gsSP2Triangles(13, 10, 12, 0x0, 14, 15, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x070029C8 - 0x07002A78
static const Gfx bitfs_seg7_dl_070029C8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bitfs_seg7_vertex_07002688, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 1, 5, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 7, 4, 0x0),
gsSP2Triangles( 6, 8, 9, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 14, 0x0),
gsSP2Triangles(11, 15, 13, 0x0, 11, 14, 12, 0x0),
gsSPVertex(bitfs_seg7_vertex_07002788, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07002A78 - 0x07002B30
const Gfx bitfs_seg7_dl_07002A78[] = {
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_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(bitfs_seg7_dl_070027E8),
gsSPDisplayList(bitfs_seg7_dl_07002878),
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(bitfs_seg7_dl_07002908),
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(bitfs_seg7_dl_070029C8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};