sm64coopdx/levels/rr/areas/1/10/model.inc.c

140 lines
6.1 KiB
C
Raw Normal View History

#include "pc/rom_assets.h"
2019-11-03 19:36:27 +00:00
// 0x0700BBB8 - 0x0700BCB8
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700BBB8, 0x00437870, 75979, 0x0000bbb8, 256);
2019-11-03 19:36:27 +00:00
// 0x0700BCB8 - 0x0700BDB8
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700BCB8, 0x00437870, 75979, 0x0000bcb8, 256);
2019-11-03 19:36:27 +00:00
// 0x0700BDB8 - 0x0700BEB8
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700BDB8, 0x00437870, 75979, 0x0000bdb8, 256);
2019-11-03 19:36:27 +00:00
// 0x0700BEB8 - 0x0700BF98
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700BEB8, 0x00437870, 75979, 0x0000beb8, 224);
2019-11-03 19:36:27 +00:00
// 0x0700BF98 - 0x0700C098
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700BF98, 0x00437870, 75979, 0x0000bf98, 256);
2019-11-03 19:36:27 +00:00
// 0x0700C098 - 0x0700C188
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C098, 0x00437870, 75979, 0x0000c098, 240);
2019-11-03 19:36:27 +00:00
// 0x0700C188 - 0x0700C278
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C188, 0x00437870, 75979, 0x0000c188, 240);
2019-11-03 19:36:27 +00:00
// 0x0700C278 - 0x0700C358
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C278, 0x00437870, 75979, 0x0000c278, 224);
2019-11-03 19:36:27 +00:00
// 0x0700C358 - 0x0700C458
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C358, 0x00437870, 75979, 0x0000c358, 256);
2019-11-03 19:36:27 +00:00
// 0x0700C458 - 0x0700C558
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C458, 0x00437870, 75979, 0x0000c458, 256);
2019-11-03 19:36:27 +00:00
// 0x0700C558 - 0x0700C658
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C558, 0x00437870, 75979, 0x0000c558, 256);
2019-11-03 19:36:27 +00:00
// 0x0700C658 - 0x0700C698
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700C658, 0x00437870, 75979, 0x0000c658, 64);
2019-11-03 19:36:27 +00:00
// 0x0700C698 - 0x0700C820
static const Gfx rr_seg7_dl_0700C698[] = {
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(rr_seg7_vertex_0700BBB8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_0700BCB8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 3, 5, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_0700BDB8, 16, 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),
gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0),
gsSPVertex(rr_seg7_vertex_0700BEB8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 12, 0x0),
gsSP2Triangles( 8, 10, 11, 0x0, 8, 13, 9, 0x0),
gsSPVertex(rr_seg7_vertex_0700BF98, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x0700C820 - 0x0700C9B8
static const Gfx rr_seg7_dl_0700C820[] = {
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(rr_seg7_vertex_0700C098, 15, 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, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_0700C188, 15, 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),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_0700C278, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_0700C358, 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, 15, 13, 0x0),
gsSPVertex(rr_seg7_vertex_0700C458, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 3, 5, 6, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 4, 7, 0, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 0, 7, 1, 0x0),
gsSP2Triangles( 7, 6, 5, 0x0, 7, 5, 1, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x0700C9B8 - 0x0700CA38
static const Gfx rr_seg7_dl_0700C9B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_0700C558, 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(rr_seg7_vertex_0700C658, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0700CA38 - 0x0700CAB8
const Gfx rr_seg7_dl_0700CA38[] = {
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(rr_seg7_dl_0700C698),
gsSPDisplayList(rr_seg7_dl_0700C820),
gsSPDisplayList(rr_seg7_dl_0700C9B8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};