mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 23:43: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>
325 lines
14 KiB
C
325 lines
14 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x07008E98 - 0x07008F98
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07008E98, 0x00437870, 75979, 0x00008e98, 256);
|
|
|
|
// 0x07008F98 - 0x07009098
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07008F98, 0x00437870, 75979, 0x00008f98, 256);
|
|
|
|
// 0x07009098 - 0x07009188
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009098, 0x00437870, 75979, 0x00009098, 240);
|
|
|
|
// 0x07009188 - 0x07009268
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009188, 0x00437870, 75979, 0x00009188, 224);
|
|
|
|
// 0x07009268 - 0x07009358
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009268, 0x00437870, 75979, 0x00009268, 240);
|
|
|
|
// 0x07009358 - 0x07009448
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009358, 0x00437870, 75979, 0x00009358, 240);
|
|
|
|
// 0x07009448 - 0x07009538
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009448, 0x00437870, 75979, 0x00009448, 240);
|
|
|
|
// 0x07009538 - 0x07009628
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009538, 0x00437870, 75979, 0x00009538, 240);
|
|
|
|
// 0x07009628 - 0x07009718
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009628, 0x00437870, 75979, 0x00009628, 240);
|
|
|
|
// 0x07009718 - 0x07009808
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009718, 0x00437870, 75979, 0x00009718, 240);
|
|
|
|
// 0x07009808 - 0x070098F8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009808, 0x00437870, 75979, 0x00009808, 240);
|
|
|
|
// 0x070098F8 - 0x070099E8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070098F8, 0x00437870, 75979, 0x000098f8, 240);
|
|
|
|
// 0x070099E8 - 0x07009AD8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_070099E8, 0x00437870, 75979, 0x000099e8, 240);
|
|
|
|
// 0x07009AD8 - 0x07009BD8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009AD8, 0x00437870, 75979, 0x00009ad8, 256);
|
|
|
|
// 0x07009BD8 - 0x07009CD8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009BD8, 0x00437870, 75979, 0x00009bd8, 256);
|
|
|
|
// 0x07009CD8 - 0x07009DD8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009CD8, 0x00437870, 75979, 0x00009cd8, 256);
|
|
|
|
// 0x07009DD8 - 0x07009EB8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009DD8, 0x00437870, 75979, 0x00009dd8, 224);
|
|
|
|
// 0x07009EB8 - 0x07009FB8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009EB8, 0x00437870, 75979, 0x00009eb8, 256);
|
|
|
|
// 0x07009FB8 - 0x0700A098
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_07009FB8, 0x00437870, 75979, 0x00009fb8, 224);
|
|
|
|
// 0x0700A098 - 0x0700A188
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A098, 0x00437870, 75979, 0x0000a098, 240);
|
|
|
|
// 0x0700A188 - 0x0700A288
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A188, 0x00437870, 75979, 0x0000a188, 256);
|
|
|
|
// 0x0700A288 - 0x0700A388
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A288, 0x00437870, 75979, 0x0000a288, 256);
|
|
|
|
// 0x0700A388 - 0x0700A468
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A388, 0x00437870, 75979, 0x0000a388, 224);
|
|
|
|
// 0x0700A468 - 0x0700A568
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A468, 0x00437870, 75979, 0x0000a468, 256);
|
|
|
|
// 0x0700A568 - 0x0700A658
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A568, 0x00437870, 75979, 0x0000a568, 240);
|
|
|
|
// 0x0700A658 - 0x0700A748
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A658, 0x00437870, 75979, 0x0000a658, 240);
|
|
|
|
// 0x0700A748 - 0x0700A838
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A748, 0x00437870, 75979, 0x0000a748, 240);
|
|
|
|
// 0x0700A838 - 0x0700A928
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A838, 0x00437870, 75979, 0x0000a838, 240);
|
|
|
|
// 0x0700A928 - 0x0700AA18
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700A928, 0x00437870, 75979, 0x0000a928, 240);
|
|
|
|
// 0x0700AA18 - 0x0700AB18
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700AA18, 0x00437870, 75979, 0x0000aa18, 256);
|
|
|
|
// 0x0700AB18 - 0x0700AC08
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700AB18, 0x00437870, 75979, 0x0000ab18, 240);
|
|
|
|
// 0x0700AC08 - 0x0700ACE8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700AC08, 0x00437870, 75979, 0x0000ac08, 224);
|
|
|
|
// 0x0700ACE8 - 0x0700ADC8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700ACE8, 0x00437870, 75979, 0x0000ace8, 224);
|
|
|
|
// 0x0700ADC8 - 0x0700AEB8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700ADC8, 0x00437870, 75979, 0x0000adc8, 240);
|
|
|
|
// 0x0700AEB8 - 0x0700AFB8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700AEB8, 0x00437870, 75979, 0x0000aeb8, 256);
|
|
|
|
// 0x0700AFB8 - 0x0700B0B8
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700AFB8, 0x00437870, 75979, 0x0000afb8, 256);
|
|
|
|
// 0x0700B0B8 - 0x0700B138
|
|
ROM_ASSET_LOAD_VTX(rr_seg7_vertex_0700B0B8, 0x00437870, 75979, 0x0000b0b8, 128);
|
|
|
|
// 0x0700B138 - 0x0700BB48
|
|
static const Gfx rr_seg7_dl_0700B138[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(rr_seg7_vertex_07008E98, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 3, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 4, 8, 9, 0x0, 4, 9, 10, 0x0),
|
|
gsSP2Triangles( 4, 7, 8, 0x0, 11, 0, 12, 0x0),
|
|
gsSP2Triangles( 0, 13, 1, 0x0, 11, 12, 14, 0x0),
|
|
gsSP1Triangle(14, 12, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07008F98, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 0, 4, 5, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009098, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 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_07009188, 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_07009268, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 0, 5, 0x0, 4, 6, 0, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 7, 10, 8, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 11, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009358, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009448, 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_07009538, 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_07009628, 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, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009718, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009808, 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_070098F8, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_070099E8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 8, 9, 6, 0x0),
|
|
gsSP2Triangles( 8, 10, 11, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles( 6, 12, 13, 0x0, 6, 13, 7, 0x0),
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009AD8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 8, 9, 6, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 8, 11, 10, 0x0),
|
|
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009BD8, 16, 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),
|
|
gsSP2Triangles(11, 14, 12, 0x0, 11, 13, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009CD8, 16, 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(13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009DD8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 3, 7, 8, 0x0),
|
|
gsSP2Triangles( 3, 8, 4, 0x0, 3, 9, 5, 0x0),
|
|
gsSP2Triangles( 3, 10, 7, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009EB8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 3, 5, 0x0, 6, 7, 3, 0x0),
|
|
gsSP2Triangles( 6, 5, 8, 0x0, 9, 6, 8, 0x0),
|
|
gsSP2Triangles( 8, 10, 11, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_07009FB8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
|
|
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 6, 0x0),
|
|
gsSP2Triangles( 2, 6, 3, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 7, 10, 11, 0x0),
|
|
gsSP2Triangles( 7, 11, 12, 0x0, 7, 12, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A098, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 3, 6, 7, 0x0),
|
|
gsSP2Triangles( 7, 8, 3, 0x0, 7, 9, 10, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 0, 2, 0x0),
|
|
gsSP2Triangles( 0, 12, 1, 0x0, 2, 13, 11, 0x0),
|
|
gsSP1Triangle( 2, 14, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A188, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 12, 13, 14, 0x0),
|
|
gsSP2Triangles(12, 14, 10, 0x0, 10, 15, 11, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A288, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 0, 0x0, 0, 6, 4, 0x0),
|
|
gsSP2Triangles( 0, 7, 6, 0x0, 0, 2, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 2, 11, 7, 0x0),
|
|
gsSP2Triangles( 7, 12, 6, 0x0, 4, 13, 5, 0x0),
|
|
gsSP1Triangle( 4, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A388, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_0700A468, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A568, 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, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700A658, 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_0700A748, 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_0700A838, 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(rr_seg7_vertex_0700A928, 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_0700AA18, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles( 0, 10, 1, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 15, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700AB18, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 0, 5, 3, 0x0, 0, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700AC08, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_0700ACE8, 14, 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),
|
|
gsSPVertex(rr_seg7_vertex_0700ADC8, 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_0700AEB8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 9, 10, 7, 0x0, 7, 11, 8, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 14, 15, 12, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700AFB8, 16, 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, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(rr_seg7_vertex_0700B0B8, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700BB48 - 0x0700BBB8
|
|
const Gfx rr_seg7_dl_0700BB48[] = {
|
|
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_0700B138),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|