mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 16:27:27 +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"
|
|
// 0x07023C20 - 0x07023D10
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07023C20, 0x00437870, 75979, 0x0001e518, 240);
|
|
|
|
// 0x07023D10 - 0x07023E00
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07023D10, 0x00437870, 75979, 0x0001e608, 240);
|
|
|
|
// 0x07023E00 - 0x07023EF0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07023E00, 0x00437870, 75979, 0x0001e6f8, 240);
|
|
|
|
// 0x07023EF0 - 0x07023FD0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07023EF0, 0x00437870, 75979, 0x0001e7e8, 224);
|
|
|
|
// 0x07023FD0 - 0x070240B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07023FD0, 0x00437870, 75979, 0x0001e8c8, 224);
|
|
|
|
// 0x070240B0 - 0x070241A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070240B0, 0x00437870, 75979, 0x0001c020, 240);
|
|
|
|
// 0x070241A0 - 0x07024290
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070241A0, 0x00437870, 75979, 0x0001ea98, 240);
|
|
|
|
// 0x07024290 - 0x07024380
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024290, 0x00437870, 75979, 0x0001eb88, 240);
|
|
|
|
// 0x07024380 - 0x07024480
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024380, 0x00437870, 75979, 0x0001ec78, 256);
|
|
|
|
// 0x07024480 - 0x07024570
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024480, 0x00437870, 75979, 0x0001ed78, 240);
|
|
|
|
// 0x07024570 - 0x07024660
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024570, 0x00437870, 75979, 0x0001ee68, 240);
|
|
|
|
// 0x07024660 - 0x07024760
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024660, 0x00437870, 75979, 0x0001ef58, 256);
|
|
|
|
// 0x07024760 - 0x07024850
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024760, 0x00437870, 75979, 0x0001f058, 240);
|
|
|
|
// 0x07024850 - 0x07024950
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024850, 0x00437870, 75979, 0x0001f148, 256);
|
|
|
|
// 0x07024950 - 0x07024A30
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024950, 0x00437870, 75979, 0x0001f248, 224);
|
|
|
|
// 0x07024A30 - 0x07024B10
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024A30, 0x00437870, 75979, 0x0001f328, 224);
|
|
|
|
// 0x07024B10 - 0x07024C00
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024B10, 0x00437870, 75979, 0x0001f408, 240);
|
|
|
|
// 0x07024C00 - 0x07024CF0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024C00, 0x00437870, 75979, 0x0001f4f8, 240);
|
|
|
|
// 0x07024CF0 - 0x07024DE0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024CF0, 0x00437870, 75979, 0x0001f5e8, 240);
|
|
|
|
// 0x07024DE0 - 0x07024ED0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024DE0, 0x00437870, 75979, 0x0001cd50, 240);
|
|
|
|
// 0x07024ED0 - 0x07024FC0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024ED0, 0x00437870, 75979, 0x0001f7c8, 240);
|
|
|
|
// 0x07024FC0 - 0x070250B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07024FC0, 0x00437870, 75979, 0x0001f8b8, 240);
|
|
|
|
// 0x070250B0 - 0x070251A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070250B0, 0x00437870, 75979, 0x0001f9a8, 240);
|
|
|
|
// 0x070251A0 - 0x07025240
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070251A0, 0x00437870, 75979, 0x0001d110, 160);
|
|
|
|
// 0x07025240 - 0x07025340
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025240, 0x00437870, 75979, 0x00025058, 256);
|
|
|
|
// 0x07025340 - 0x07025420
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025340, 0x00437870, 75979, 0x00025158, 224);
|
|
|
|
// 0x07025420 - 0x07025520
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025420, 0x00437870, 75979, 0x00025238, 256);
|
|
|
|
// 0x07025520 - 0x07025610
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025520, 0x00437870, 75979, 0x00025338, 240);
|
|
|
|
// 0x07025610 - 0x07025700
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025610, 0x00437870, 75979, 0x00025428, 240);
|
|
|
|
// 0x07025700 - 0x070257F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025700, 0x00437870, 75979, 0x00025518, 240);
|
|
|
|
// 0x070257F0 - 0x070258F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070257F0, 0x00437870, 75979, 0x00025608, 256);
|
|
|
|
// 0x070258F0 - 0x070259D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070258F0, 0x00437870, 75979, 0x00025708, 224);
|
|
|
|
// 0x070259D0 - 0x07025AD0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070259D0, 0x00437870, 75979, 0x000257e8, 256);
|
|
|
|
// 0x07025AD0 - 0x07025BC0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025AD0, 0x00437870, 75979, 0x000258e8, 240);
|
|
|
|
// 0x07025BC0 - 0x07025CB0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025BC0, 0x00437870, 75979, 0x000259d8, 240);
|
|
|
|
// 0x07025CB0 - 0x07025DA0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07025CB0, 0x00437870, 75979, 0x00025ac8, 240);
|
|
|
|
// 0x07025DA0 - 0x070263B0
|
|
static const Gfx rr_seg7_dl_07025DA0[] = {
|
|
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_07023C20, 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_07023D10, 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_07023E00, 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_07023EF0, 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_07023FD0, 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_070240B0, 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_070241A0, 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_07024290, 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_07024380, 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_07024480, 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_07024570, 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_07024660, 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_07024760, 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_07024850, 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_07024950, 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_07024A30, 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_07024B10, 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_07024C00, 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_07024CF0, 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_07024DE0, 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_07024ED0, 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_07024FC0, 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_070250B0, 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_070251A0, 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(),
|
|
};
|
|
|
|
// 0x070263B0 - 0x07026630
|
|
static const Gfx rr_seg7_dl_070263B0[] = {
|
|
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_07025240, 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_07025340, 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_07025420, 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_07025520, 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_07025610, 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_07025700, 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_070257F0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 3, 7, 0x0, 8, 9, 10, 0x0),
|
|
gsSP2Triangles( 9, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070258F0, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 7, 0x0, 8, 9, 10, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070259D0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 8, 5, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07025AD0, 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_07025BC0, 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_07025CB0, 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),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07026630 - 0x070266C0
|
|
const Gfx rr_seg7_dl_07026630[] = {
|
|
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_07025DA0),
|
|
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_070263B0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|