mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +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>
306 lines
13 KiB
C
306 lines
13 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x070266C0 - 0x070267B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070266C0, 0x00437870, 75979, 0x0001e518, 240);
|
|
|
|
// 0x070267B0 - 0x070268A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070267B0, 0x00437870, 75979, 0x0001e608, 240);
|
|
|
|
// 0x070268A0 - 0x07026990
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070268A0, 0x00437870, 75979, 0x0001e6f8, 240);
|
|
|
|
// 0x07026990 - 0x07026A70
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026990, 0x00437870, 75979, 0x0001e7e8, 224);
|
|
|
|
// 0x07026A70 - 0x07026B50
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026A70, 0x00437870, 75979, 0x0001e8c8, 224);
|
|
|
|
// 0x07026B50 - 0x07026C40
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026B50, 0x00437870, 75979, 0x0001c020, 240);
|
|
|
|
// 0x07026C40 - 0x07026D30
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026C40, 0x00437870, 75979, 0x0001ea98, 240);
|
|
|
|
// 0x07026D30 - 0x07026E20
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026D30, 0x00437870, 75979, 0x0001eb88, 240);
|
|
|
|
// 0x07026E20 - 0x07026F20
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026E20, 0x00437870, 75979, 0x0001ec78, 256);
|
|
|
|
// 0x07026F20 - 0x07027010
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07026F20, 0x00437870, 75979, 0x0001ed78, 240);
|
|
|
|
// 0x07027010 - 0x07027100
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027010, 0x00437870, 75979, 0x000218f8, 240);
|
|
|
|
// 0x07027100 - 0x07027200
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027100, 0x00437870, 75979, 0x0001ef58, 256);
|
|
|
|
// 0x07027200 - 0x070272F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027200, 0x00437870, 75979, 0x0001f058, 240);
|
|
|
|
// 0x070272F0 - 0x070273F0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070272F0, 0x00437870, 75979, 0x00027108, 256);
|
|
|
|
// 0x070273F0 - 0x070274D0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070273F0, 0x00437870, 75979, 0x00027208, 224);
|
|
|
|
// 0x070274D0 - 0x070275B0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070274D0, 0x00437870, 75979, 0x00021db8, 224);
|
|
|
|
// 0x070275B0 - 0x070276A0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070275B0, 0x00437870, 75979, 0x0001ca80, 240);
|
|
|
|
// 0x070276A0 - 0x07027790
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070276A0, 0x00437870, 75979, 0x000274b8, 240);
|
|
|
|
// 0x07027790 - 0x07027880
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027790, 0x00437870, 75979, 0x000275a8, 240);
|
|
|
|
// 0x07027880 - 0x07027970
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027880, 0x00437870, 75979, 0x00022168, 240);
|
|
|
|
// 0x07027970 - 0x07027A60
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027970, 0x00437870, 75979, 0x00027788, 240);
|
|
|
|
// 0x07027A60 - 0x07027B50
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027A60, 0x00437870, 75979, 0x00022348, 240);
|
|
|
|
// 0x07027B50 - 0x07027C40
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027B50, 0x00437870, 75979, 0x00027968, 240);
|
|
|
|
// 0x07027C40 - 0x07027CE0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027C40, 0x00437870, 75979, 0x00027a58, 160);
|
|
|
|
// 0x07027CE0 - 0x07027DD0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027CE0, 0x00437870, 75979, 0x00027af8, 240);
|
|
|
|
// 0x07027DD0 - 0x07027EC0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027DD0, 0x00437870, 75979, 0x00027be8, 240);
|
|
|
|
// 0x07027EC0 - 0x07027FB0
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027EC0, 0x00437870, 75979, 0x00027cd8, 240);
|
|
|
|
// 0x07027FB0 - 0x07028090
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07027FB0, 0x00437870, 75979, 0x00027dc8, 224);
|
|
|
|
// 0x07028090 - 0x07028190
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028090, 0x00437870, 75979, 0x00027ea8, 256);
|
|
|
|
// 0x07028190 - 0x07028280
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028190, 0x00437870, 75979, 0x00027fa8, 240);
|
|
|
|
// 0x07028280 - 0x07028380
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028280, 0x00437870, 75979, 0x00028098, 256);
|
|
|
|
// 0x07028380 - 0x07028470
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028380, 0x00437870, 75979, 0x00028198, 240);
|
|
|
|
// 0x07028470 - 0x07028570
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028470, 0x00437870, 75979, 0x00028288, 256);
|
|
|
|
// 0x07028570 - 0x07028650
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028570, 0x00437870, 75979, 0x00028388, 224);
|
|
|
|
// 0x07028650 - 0x07028720
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07028650, 0x00437870, 75979, 0x00028468, 208);
|
|
|
|
// 0x07028720 - 0x07028D30
|
|
static const Gfx rr_seg7_dl_07028720[] = {
|
|
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_070266C0, 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_070267B0, 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_070268A0, 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_07026990, 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_07026A70, 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_07026B50, 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_07026C40, 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_07026D30, 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_07026E20, 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_07026F20, 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_07027010, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 6, 7, 8, 0x0),
|
|
gsSP2Triangles( 6, 8, 4, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 12, 13, 10, 0x0),
|
|
gsSP1Triangle(12, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07027100, 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_07027200, 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_070272F0, 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_070273F0, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_070274D0, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_070275B0, 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_070276A0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP1Triangle( 4, 14, 5, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07027790, 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_07027880, 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, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07027970, 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_07027A60, 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, 14, 1, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07027B50, 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, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07027C40, 10, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 1, 7, 0x0, 6, 7, 8, 0x0),
|
|
gsSP1Triangle( 0, 9, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07028D30 - 0x07028FA8
|
|
static const Gfx rr_seg7_dl_07028D30[] = {
|
|
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_07027CE0, 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_07027DD0, 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_07027EC0, 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_07027FB0, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 7, 11, 12, 0x0, 13, 7, 6, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07028090, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 4, 0x0, 8, 3, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07028190, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 6, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 7, 6, 13, 0x0),
|
|
gsSP1Triangle(12, 11, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07028280, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 8, 9, 10, 0x0),
|
|
gsSP2Triangles( 9, 11, 12, 0x0, 13, 14, 11, 0x0),
|
|
gsSP1Triangle(10, 9, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07028380, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 5, 7, 0x0, 8, 6, 9, 0x0),
|
|
gsSP2Triangles(10, 0, 11, 0x0, 12, 13, 1, 0x0),
|
|
gsSP1Triangle(11, 0, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07028470, 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_07028570, 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_07028650, 13, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 8, 9, 6, 0x0),
|
|
gsSP1Triangle(10, 11, 12, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07028FA8 - 0x07029038
|
|
const Gfx rr_seg7_dl_07028FA8[] = {
|
|
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_07028720),
|
|
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_07028D30),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|