mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-03 17: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>
305 lines
13 KiB
C
305 lines
13 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0700D318 - 0x0700D330
|
|
static const Lights1 jrb_seg7_lights_0700D318 = gdSPDefLights1(
|
|
0x14, 0x30, 0x2c,
|
|
0x32, 0x78, 0x6e, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0700D330 - 0x0700D348
|
|
static const Lights1 jrb_seg7_lights_0700D330 = gdSPDefLights1(
|
|
0x3c, 0x52, 0x4a,
|
|
0x97, 0xcd, 0xbb, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0700D348 - 0x0700D360
|
|
static const Lights1 jrb_seg7_lights_0700D348 = gdSPDefLights1(
|
|
0x66, 0x66, 0x66,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0700D360 - 0x0700D378
|
|
static const Lights1 jrb_seg7_lights_0700D360 = gdSPDefLights1(
|
|
0x50, 0x66, 0x58,
|
|
0xc8, 0xff, 0xdc, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0700D378 - 0x0700D3F8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D378, 0x0041a760, 37817, 0x0000d378, 128);
|
|
|
|
// 0x0700D3F8 - 0x0700D4E8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D3F8, 0x0041a760, 37817, 0x0000d3f8, 240);
|
|
|
|
// 0x0700D4E8 - 0x0700D5D8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D4E8, 0x0041a760, 37817, 0x0000d4e8, 240);
|
|
|
|
// 0x0700D5D8 - 0x0700D6D8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D5D8, 0x0041a760, 37817, 0x0000d5d8, 256);
|
|
|
|
// 0x0700D6D8 - 0x0700D7C8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D6D8, 0x0041a760, 37817, 0x0000d6d8, 240);
|
|
|
|
// 0x0700D7C8 - 0x0700D878
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D7C8, 0x0041a760, 37817, 0x0000d7c8, 176);
|
|
|
|
// 0x0700D878 - 0x0700D928
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D878, 0x0041a760, 37817, 0x0000d878, 176);
|
|
|
|
// 0x0700D928 - 0x0700D968
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D928, 0x0041a760, 37817, 0x0000d928, 64);
|
|
|
|
// 0x0700D968 - 0x0700DA28
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700D968, 0x0041a760, 37817, 0x0000d968, 192);
|
|
|
|
// 0x0700DA28 - 0x0700DB28
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DA28, 0x0041a760, 37817, 0x0000da28, 256);
|
|
|
|
// 0x0700DB28 - 0x0700DC08
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DB28, 0x0041a760, 37817, 0x0000db28, 224);
|
|
|
|
// 0x0700DC08 - 0x0700DCF8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DC08, 0x0041a760, 37817, 0x0000dc08, 240);
|
|
|
|
// 0x0700DCF8 - 0x0700DDD8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DCF8, 0x0041a760, 37817, 0x0000dcf8, 224);
|
|
|
|
// 0x0700DDD8 - 0x0700DED8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DDD8, 0x0041a760, 37817, 0x0000ddd8, 256);
|
|
|
|
// 0x0700DED8 - 0x0700DFD8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DED8, 0x0041a760, 37817, 0x0000ded8, 256);
|
|
|
|
// 0x0700DFD8 - 0x0700E0C8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700DFD8, 0x0041a760, 37817, 0x0000dfd8, 240);
|
|
|
|
// 0x0700E0C8 - 0x0700E1C8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E0C8, 0x0041a760, 37817, 0x0000e0c8, 256);
|
|
|
|
// 0x0700E1C8 - 0x0700E298
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E1C8, 0x0041a760, 37817, 0x0000e1c8, 208);
|
|
|
|
// 0x0700E298 - 0x0700E398
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E298, 0x0041a760, 37817, 0x0000e298, 256);
|
|
|
|
// 0x0700E398 - 0x0700E458
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E398, 0x0041a760, 37817, 0x0000e398, 192);
|
|
|
|
// 0x0700E458 - 0x0700E518
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E458, 0x0041a760, 37817, 0x0000e458, 192);
|
|
|
|
// 0x0700E518 - 0x0700E558
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E518, 0x0041a760, 37817, 0x0000e518, 64);
|
|
|
|
// 0x0700E558 - 0x0700E658
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E558, 0x0041a760, 37817, 0x0000e558, 256);
|
|
|
|
// 0x0700E658 - 0x0700E6E8
|
|
ROM_ASSET_LOAD_VTX(jrb_seg7_vertex_0700E658, 0x0041a760, 37817, 0x0000e658, 144);
|
|
|
|
// 0x0700E6E8 - 0x0700E8C8
|
|
static const Gfx jrb_seg7_dl_0700E6E8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09005800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700D378, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSP2Triangles( 3, 2, 4, 0x0, 5, 3, 4, 0x0),
|
|
gsSP2Triangles( 5, 4, 6, 0x0, 7, 6, 1, 0x0),
|
|
gsSP2Triangles( 7, 5, 6, 0x0, 0, 7, 1, 0x0),
|
|
gsSPLight(&jrb_seg7_lights_0700D330.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D330.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700D3F8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 4, 3, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 6, 8, 4, 0x0, 5, 7, 9, 0x0),
|
|
gsSP2Triangles( 5, 9, 10, 0x0, 10, 8, 6, 0x0),
|
|
gsSP2Triangles(10, 9, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700D4E8, 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, 13, 11, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700D5D8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(12, 14, 13, 0x0, 0, 2, 15, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700D6D8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle( 9, 14, 10, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700D7C8, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP1Triangle( 8, 9, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E8C8 - 0x0700E998
|
|
static const Gfx jrb_seg7_dl_0700E8C8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_0900A000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700D878, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP1Triangle(10, 0, 2, 0x0),
|
|
gsSPLight(&jrb_seg7_lights_0700D330.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D330.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700D928, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSPLight(&jrb_seg7_lights_0700D348.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D348.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700D968, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E998 - 0x0700ECB8
|
|
static const Gfx jrb_seg7_dl_0700E998[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09000800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&jrb_seg7_lights_0700D360.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D360.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700DA28, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
|
|
gsSP2Triangles( 1, 4, 5, 0x0, 5, 2, 1, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSP2Triangles(13, 12, 14, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DB28, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 1, 6, 0x0, 3, 7, 1, 0x0),
|
|
gsSP2Triangles( 1, 8, 2, 0x0, 9, 2, 8, 0x0),
|
|
gsSP2Triangles( 7, 3, 5, 0x0, 9, 8, 10, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DC08, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 5, 4, 0x0),
|
|
gsSP2Triangles( 7, 8, 5, 0x0, 9, 10, 5, 0x0),
|
|
gsSP2Triangles(11, 5, 10, 0x0, 11, 6, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 5, 0x0, 12, 6, 11, 0x0),
|
|
gsSP1Triangle( 9, 13, 14, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DCF8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 2, 1, 0x0, 4, 5, 2, 0x0),
|
|
gsSP2Triangles( 2, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 7, 9, 0x0, 11, 12, 9, 0x0),
|
|
gsSP2Triangles(11, 9, 13, 0x0, 12, 10, 9, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DDD8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
|
|
gsSP2Triangles( 1, 4, 2, 0x0, 4, 5, 2, 0x0),
|
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 7, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(14, 15, 13, 0x0, 14, 13, 12, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DED8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
|
gsSP2Triangles( 1, 4, 3, 0x0, 5, 1, 6, 0x0),
|
|
gsSP2Triangles( 5, 4, 1, 0x0, 7, 3, 4, 0x0),
|
|
gsSP2Triangles( 8, 4, 5, 0x0, 7, 4, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 9, 12, 10, 0x0),
|
|
gsSP2Triangles( 9, 13, 14, 0x0, 9, 14, 12, 0x0),
|
|
gsSP1Triangle(15, 11, 10, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700DFD8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP1Triangle(10, 14, 13, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700E0C8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 6, 5, 7, 0x0),
|
|
gsSP2Triangles( 6, 8, 9, 0x0, 6, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 8, 10, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700E1C8, 13, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(11, 10, 12, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700ECB8 - 0x0700EE28
|
|
static const Gfx jrb_seg7_dl_0700ECB8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_0900A800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(jrb_seg7_vertex_0700E298, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 5, 6, 7, 0x0, 7, 3, 5, 0x0),
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 5, 4, 8, 0x0),
|
|
gsSP2Triangles( 4, 9, 8, 0x0, 10, 7, 11, 0x0),
|
|
gsSP2Triangles( 7, 10, 3, 0x0, 7, 12, 11, 0x0),
|
|
gsSP2Triangles( 7, 6, 12, 0x0, 1, 13, 2, 0x0),
|
|
gsSP2Triangles(13, 14, 2, 0x0, 15, 0, 2, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700E398, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 4, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 6, 0x0, 10, 8, 6, 0x0),
|
|
gsSP2Triangles( 9, 4, 6, 0x0, 11, 5, 7, 0x0),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D318.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700E458, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 1, 4, 2, 0x0, 2, 4, 5, 0x0),
|
|
gsSP2Triangles( 2, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 7, 9, 0x0, 3, 10, 9, 0x0),
|
|
gsSP2Triangles( 3, 11, 10, 0x0, 0, 11, 3, 0x0),
|
|
gsSPLight(&jrb_seg7_lights_0700D348.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D348.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700E518, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700EE28 - 0x0700EF00
|
|
static const Gfx jrb_seg7_dl_0700EE28[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09002800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&jrb_seg7_lights_0700D360.l, 1),
|
|
gsSPLight(&jrb_seg7_lights_0700D360.a, 2),
|
|
gsSPVertex(jrb_seg7_vertex_0700E558, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 0, 5, 3, 0x0, 0, 6, 5, 0x0),
|
|
gsSP2Triangles( 0, 7, 6, 0x0, 0, 8, 7, 0x0),
|
|
gsSP2Triangles( 0, 4, 1, 0x0, 0, 9, 10, 0x0),
|
|
gsSP2Triangles( 0, 11, 9, 0x0, 0, 12, 11, 0x0),
|
|
gsSP2Triangles( 0, 13, 12, 0x0, 0, 2, 13, 0x0),
|
|
gsSP2Triangles( 0, 10, 14, 0x0, 0, 14, 15, 0x0),
|
|
gsSPVertex(jrb_seg7_vertex_0700E658, 9, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 7, 0x0, 3, 5, 6, 0x0),
|
|
gsSP1Triangle( 3, 8, 4, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700EF00 - 0x0700EF98
|
|
const Gfx jrb_seg7_dl_0700EF00[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
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(jrb_seg7_dl_0700E6E8),
|
|
gsSPDisplayList(jrb_seg7_dl_0700E8C8),
|
|
gsDPTileSync(),
|
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(jrb_seg7_dl_0700E998),
|
|
gsSPDisplayList(jrb_seg7_dl_0700ECB8),
|
|
gsSPDisplayList(jrb_seg7_dl_0700EE28),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|