mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 07:23:01 +00:00
663e4549d8
* Proof of concept for loading rom assets at runtime * Added skybox textures * Adjusted format * Load all texture assets from rom * Adjusted rom asset loading * Load all Vtx lists from rom * clean up toad, wario and his cap conflicts * Load sound samples from rom * fix toad sounds * Loaded sequences from rom * Load collisions from rom * Object animations are now loaded from the rom * Load player animations from rom * Load goddard anims from rom * whoops * fix some compile errors * drag and drop rom checker, everything works now. * fix errors due to merge conflicts * fix compile errors on windows, switch to md5 * fix vertex colors during load Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com> * Load dialogs from rom * Loaded course/act names from rom * Loaded ingame text from rom * rerun autogen & blacklist smlua_text_utils_init * fix ttc_seg7_vertex_0700B238 colors --------- Co-authored-by: MysterD <myster@d> Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
310 lines
14 KiB
C
310 lines
14 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0701E700 - 0x0701E7F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701E700, 0x00437870, 75979, 0x0001e518, 240);
|
|
|
|
// 0x0701E7F0 - 0x0701E8E0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701E7F0, 0x00437870, 75979, 0x0001e608, 240);
|
|
|
|
// 0x0701E8E0 - 0x0701E9D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701E8E0, 0x00437870, 75979, 0x0001e6f8, 240);
|
|
|
|
// 0x0701E9D0 - 0x0701EAB0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701E9D0, 0x00437870, 75979, 0x0001e7e8, 224);
|
|
|
|
// 0x0701EAB0 - 0x0701EB90
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701EAB0, 0x00437870, 75979, 0x0001e8c8, 224);
|
|
|
|
// 0x0701EB90 - 0x0701EC80
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701EB90, 0x00437870, 75979, 0x0001c020, 240);
|
|
|
|
// 0x0701EC80 - 0x0701ED70
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701EC80, 0x00437870, 75979, 0x0001ea98, 240);
|
|
|
|
// 0x0701ED70 - 0x0701EE60
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701ED70, 0x00437870, 75979, 0x0001eb88, 240);
|
|
|
|
// 0x0701EE60 - 0x0701EF60
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701EE60, 0x00437870, 75979, 0x0001ec78, 256);
|
|
|
|
// 0x0701EF60 - 0x0701F050
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701EF60, 0x00437870, 75979, 0x0001ed78, 240);
|
|
|
|
// 0x0701F050 - 0x0701F140
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F050, 0x00437870, 75979, 0x0001ee68, 240);
|
|
|
|
// 0x0701F140 - 0x0701F240
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F140, 0x00437870, 75979, 0x0001ef58, 256);
|
|
|
|
// 0x0701F240 - 0x0701F330
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F240, 0x00437870, 75979, 0x0001f058, 240);
|
|
|
|
// 0x0701F330 - 0x0701F430
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F330, 0x00437870, 75979, 0x0001f148, 256);
|
|
|
|
// 0x0701F430 - 0x0701F510
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F430, 0x00437870, 75979, 0x0001f248, 224);
|
|
|
|
// 0x0701F510 - 0x0701F5F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F510, 0x00437870, 75979, 0x0001f328, 224);
|
|
|
|
// 0x0701F5F0 - 0x0701F6E0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F5F0, 0x00437870, 75979, 0x0001f408, 240);
|
|
|
|
// 0x0701F6E0 - 0x0701F7D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F6E0, 0x00437870, 75979, 0x0001f4f8, 240);
|
|
|
|
// 0x0701F7D0 - 0x0701F8C0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F7D0, 0x00437870, 75979, 0x0001f5e8, 240);
|
|
|
|
// 0x0701F8C0 - 0x0701F9B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F8C0, 0x00437870, 75979, 0x0001cd50, 240);
|
|
|
|
// 0x0701F9B0 - 0x0701FAA0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701F9B0, 0x00437870, 75979, 0x0001f7c8, 240);
|
|
|
|
// 0x0701FAA0 - 0x0701FB90
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FAA0, 0x00437870, 75979, 0x0001f8b8, 240);
|
|
|
|
// 0x0701FB90 - 0x0701FC80
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FB90, 0x00437870, 75979, 0x0001f9a8, 240);
|
|
|
|
// 0x0701FC80 - 0x0701FD20
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FC80, 0x00437870, 75979, 0x0001d110, 160);
|
|
|
|
// 0x0701FD20 - 0x0701FE20
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FD20, 0x00437870, 75979, 0x0001fb38, 256);
|
|
|
|
// 0x0701FE20 - 0x0701FF00
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FE20, 0x00437870, 75979, 0x0001fc38, 224);
|
|
|
|
// 0x0701FF00 - 0x07020000
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701FF00, 0x00437870, 75979, 0x0001fd18, 256);
|
|
|
|
// 0x07020000 - 0x070200F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07020000, 0x00437870, 75979, 0x0001fe18, 240);
|
|
|
|
// 0x070200F0 - 0x070201E0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070200F0, 0x00437870, 75979, 0x0001ff08, 240);
|
|
|
|
// 0x070201E0 - 0x070202D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070201E0, 0x00437870, 75979, 0x0001fff8, 240);
|
|
|
|
// 0x070202D0 - 0x070203C0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070202D0, 0x00437870, 75979, 0x000200e8, 240);
|
|
|
|
// 0x070203C0 - 0x070204B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070203C0, 0x00437870, 75979, 0x000201d8, 240);
|
|
|
|
// 0x070204B0 - 0x070205A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070204B0, 0x00437870, 75979, 0x000202c8, 240);
|
|
|
|
// 0x070205A0 - 0x070206A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070205A0, 0x00437870, 75979, 0x000203b8, 256);
|
|
|
|
// 0x070206A0 - 0x070207A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070206A0, 0x00437870, 75979, 0x000204b8, 256);
|
|
|
|
// 0x070207A0 - 0x07020870
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070207A0, 0x00437870, 75979, 0x000205b8, 208);
|
|
|
|
// 0x07020870 - 0x07020E80
|
|
static const Gfx rr_seg7_dl_07020870[] = {
|
|
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_0701E700, 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, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701E7F0, 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, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701E8E0, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701E9D0, 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, 13, 11, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701EAB0, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701EB90, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701EC80, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701ED70, 15, 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),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701EE60, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 5, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701EF60, 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_0701F050, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 6, 7, 4, 0x0),
|
|
gsSP2Triangles( 6, 8, 7, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 12, 13, 10, 0x0),
|
|
gsSP1Triangle(12, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F140, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 3, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 11, 13, 9, 0x0),
|
|
gsSP2Triangles( 0, 14, 1, 0x0, 14, 15, 1, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F240, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 6, 7, 4, 0x0),
|
|
gsSP2Triangles( 6, 8, 7, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP1Triangle(10, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F330, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 2, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F430, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F510, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_0701F5F0, 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_0701F6E0, 15, 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),
|
|
gsSP1Triangle( 4, 6, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F7D0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701F8C0, 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(rr_seg7_vertex_0701F9B0, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701FAA0, 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, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701FB90, 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, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701FC80, 10, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 2, 7, 0x0),
|
|
gsSP1Triangle( 0, 2, 9, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07020E80 - 0x07021100
|
|
static const Gfx rr_seg7_dl_07020E80[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_0701FD20, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 4, 0x0, 8, 9, 10, 0x0),
|
|
gsSP2Triangles(11, 10, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701FE20, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 5, 7, 0x0, 8, 9, 10, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701FF00, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 8, 9, 6, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07020000, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070200F0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070201E0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070202D0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070203C0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070204B0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070205A0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 6, 10, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070206A0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 10, 0x0),
|
|
gsSP2Triangles( 1, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070207A0, 13, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 8, 5, 9, 0x0),
|
|
gsSP1Triangle(10, 11, 12, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07021100 - 0x07021190
|
|
const Gfx rr_seg7_dl_07021100[] = {
|
|
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_07020870),
|
|
gsDPTileSync(),
|
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(rr_seg7_dl_07020E80),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|