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>
305 lines
13 KiB
C
305 lines
13 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0701BD78 - 0x0701BE68
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701BD78, 0x00437870, 75979, 0x0001bb90, 240);
|
|
|
|
// 0x0701BE68 - 0x0701BF58
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701BE68, 0x00437870, 75979, 0x0001bc80, 240);
|
|
|
|
// 0x0701BF58 - 0x0701C048
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701BF58, 0x00437870, 75979, 0x0001bd70, 240);
|
|
|
|
// 0x0701C048 - 0x0701C128
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C048, 0x00437870, 75979, 0x0001be60, 224);
|
|
|
|
// 0x0701C128 - 0x0701C208
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C128, 0x00437870, 75979, 0x0001bf40, 224);
|
|
|
|
// 0x0701C208 - 0x0701C2F8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C208, 0x00437870, 75979, 0x0001c020, 240);
|
|
|
|
// 0x0701C2F8 - 0x0701C3E8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C2F8, 0x00437870, 75979, 0x0001c110, 240);
|
|
|
|
// 0x0701C3E8 - 0x0701C4D8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C3E8, 0x00437870, 75979, 0x0001c200, 240);
|
|
|
|
// 0x0701C4D8 - 0x0701C5D8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C4D8, 0x00437870, 75979, 0x0001c2f0, 256);
|
|
|
|
// 0x0701C5D8 - 0x0701C6C8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C5D8, 0x00437870, 75979, 0x0001c3f0, 240);
|
|
|
|
// 0x0701C6C8 - 0x0701C7B8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C6C8, 0x00437870, 75979, 0x0001c4e0, 240);
|
|
|
|
// 0x0701C7B8 - 0x0701C8B8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C7B8, 0x00437870, 75979, 0x0001c5d0, 256);
|
|
|
|
// 0x0701C8B8 - 0x0701C9A8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C8B8, 0x00437870, 75979, 0x0001c6d0, 240);
|
|
|
|
// 0x0701C9A8 - 0x0701CAA8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701C9A8, 0x00437870, 75979, 0x0001c7c0, 256);
|
|
|
|
// 0x0701CAA8 - 0x0701CB88
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CAA8, 0x00437870, 75979, 0x0001c8c0, 224);
|
|
|
|
// 0x0701CB88 - 0x0701CC68
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CB88, 0x00437870, 75979, 0x0001c9a0, 224);
|
|
|
|
// 0x0701CC68 - 0x0701CD58
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CC68, 0x00437870, 75979, 0x0001ca80, 240);
|
|
|
|
// 0x0701CD58 - 0x0701CE48
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CD58, 0x00437870, 75979, 0x0001cb70, 240);
|
|
|
|
// 0x0701CE48 - 0x0701CF38
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CE48, 0x00437870, 75979, 0x0001cc60, 240);
|
|
|
|
// 0x0701CF38 - 0x0701D028
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701CF38, 0x00437870, 75979, 0x0001cd50, 240);
|
|
|
|
// 0x0701D028 - 0x0701D118
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D028, 0x00437870, 75979, 0x0001ce40, 240);
|
|
|
|
// 0x0701D118 - 0x0701D208
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D118, 0x00437870, 75979, 0x0001cf30, 240);
|
|
|
|
// 0x0701D208 - 0x0701D2F8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D208, 0x00437870, 75979, 0x0001d020, 240);
|
|
|
|
// 0x0701D2F8 - 0x0701D398
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D2F8, 0x00437870, 75979, 0x0001d110, 160);
|
|
|
|
// 0x0701D398 - 0x0701D478
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D398, 0x00437870, 75979, 0x0001d1b0, 224);
|
|
|
|
// 0x0701D478 - 0x0701D578
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D478, 0x00437870, 75979, 0x0001d290, 256);
|
|
|
|
// 0x0701D578 - 0x0701D678
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D578, 0x00437870, 75979, 0x0001d390, 256);
|
|
|
|
// 0x0701D678 - 0x0701D758
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D678, 0x00437870, 75979, 0x0001d490, 224);
|
|
|
|
// 0x0701D758 - 0x0701D848
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D758, 0x00437870, 75979, 0x0001d570, 240);
|
|
|
|
// 0x0701D848 - 0x0701D938
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D848, 0x00437870, 75979, 0x0001d660, 240);
|
|
|
|
// 0x0701D938 - 0x0701DA28
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701D938, 0x00437870, 75979, 0x0001d750, 240);
|
|
|
|
// 0x0701DA28 - 0x0701DB18
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701DA28, 0x00437870, 75979, 0x0001d840, 240);
|
|
|
|
// 0x0701DB18 - 0x0701DC18
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701DB18, 0x00437870, 75979, 0x0001d930, 256);
|
|
|
|
// 0x0701DC18 - 0x0701DD18
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701DC18, 0x00437870, 75979, 0x0001da30, 256);
|
|
|
|
// 0x0701DD18 - 0x0701DDE8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0701DD18, 0x00437870, 75979, 0x0001db30, 208);
|
|
|
|
// 0x0701DDE8 - 0x0701E3F8
|
|
static const Gfx rr_seg7_dl_0701DDE8[] = {
|
|
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_0701BD78, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701BE68, 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, 14, 1, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701BF58, 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, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C048, 14, 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, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C128, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_0701C208, 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_0701C2F8, 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_0701C3E8, 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_0701C4D8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 4, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C5D8, 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, 11, 9, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C6C8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 4, 8, 7, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle(12, 14, 10, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C7B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 3, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 9, 13, 12, 0x0),
|
|
gsSP2Triangles( 0, 14, 1, 0x0, 14, 15, 1, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C8B8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 4, 8, 5, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 11, 12, 0x0, 10, 13, 14, 0x0),
|
|
gsSP1Triangle(10, 14, 11, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701C9A8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 3, 4, 1, 0x0, 3, 5, 4, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701CAA8, 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_0701CB88, 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_0701CC68, 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_0701CD58, 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, 14, 5, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701CE48, 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, 14, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701CF38, 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_0701D028, 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_0701D118, 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_0701D208, 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_0701D2F8, 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(),
|
|
};
|
|
|
|
// 0x0701E3F8 - 0x0701E670
|
|
static const Gfx rr_seg7_dl_0701E3F8[] = {
|
|
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_0701D398, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 4, 3, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701D478, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
|
|
gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701D578, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 5, 4, 12, 0x0, 11, 10, 13, 0x0),
|
|
gsSP1Triangle(14, 15, 10, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701D678, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 9, 7, 0x0, 8, 7, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701D758, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 7, 0x0, 8, 5, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 0, 11, 0x0),
|
|
gsSP1Triangle(12, 11, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0701D848, 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_0701D938, 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_0701DA28, 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_0701DB18, 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_0701DC18, 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_0701DD18, 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(),
|
|
};
|
|
|
|
// 0x0701E670 - 0x0701E700
|
|
const Gfx rr_seg7_dl_0701E670[] = {
|
|
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_0701DDE8),
|
|
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_0701E3F8),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|