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>
407 lines
18 KiB
C
407 lines
18 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0700B238 - 0x0700B328
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B238, 0x0042cf20, 42199, 0x0000b238, 240);
|
|
|
|
// 0x0700B328 - 0x0700B408
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B328, 0x0042cf20, 42199, 0x0000b328, 224);
|
|
|
|
// 0x0700B408 - 0x0700B4E8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B408, 0x0042cf20, 42199, 0x0000b408, 224);
|
|
|
|
// 0x0700B4E8 - 0x0700B5D8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B4E8, 0x0042cf20, 42199, 0x0000b4e8, 240);
|
|
|
|
// 0x0700B5D8 - 0x0700B6B8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B5D8, 0x0042cf20, 42199, 0x0000b5d8, 224);
|
|
|
|
// 0x0700B6B8 - 0x0700B7A8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B6B8, 0x0042cf20, 42199, 0x0000b6b8, 240);
|
|
|
|
// 0x0700B7A8 - 0x0700B898
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B7A8, 0x0042cf20, 42199, 0x0000b7a8, 240);
|
|
|
|
// 0x0700B898 - 0x0700B988
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B898, 0x0042cf20, 42199, 0x0000b898, 240);
|
|
|
|
// 0x0700B988 - 0x0700BA78
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700B988, 0x0042cf20, 42199, 0x0000b988, 240);
|
|
|
|
// 0x0700BA78 - 0x0700BB58
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BA78, 0x0042cf20, 42199, 0x0000ba78, 224);
|
|
|
|
// 0x0700BB58 - 0x0700BC58
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BB58, 0x0042cf20, 42199, 0x0000bb58, 256);
|
|
|
|
// 0x0700BC58 - 0x0700BD48
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BC58, 0x0042cf20, 42199, 0x0000bc58, 240);
|
|
|
|
// 0x0700BD48 - 0x0700BE28
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BD48, 0x0042cf20, 42199, 0x0000bd48, 224);
|
|
|
|
// 0x0700BE28 - 0x0700BF18
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BE28, 0x0042cf20, 42199, 0x0000be28, 240);
|
|
|
|
// 0x0700BF18 - 0x0700C008
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700BF18, 0x0042cf20, 42199, 0x0000bf18, 240);
|
|
|
|
// 0x0700C008 - 0x0700C108
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C008, 0x0042cf20, 42199, 0x0000c008, 256);
|
|
|
|
// 0x0700C108 - 0x0700C208
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C108, 0x0042cf20, 42199, 0x0000c108, 256);
|
|
|
|
// 0x0700C208 - 0x0700C308
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C208, 0x0042cf20, 42199, 0x0000c208, 256);
|
|
|
|
// 0x0700C308 - 0x0700C408
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C308, 0x0042cf20, 42199, 0x0000c308, 256);
|
|
|
|
// 0x0700C408 - 0x0700C508
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C408, 0x0042cf20, 42199, 0x0000c408, 256);
|
|
|
|
// 0x0700C508 - 0x0700C5F8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C508, 0x0042cf20, 42199, 0x0000c508, 240);
|
|
|
|
// 0x0700C5F8 - 0x0700C6D8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C5F8, 0x0042cf20, 42199, 0x0000c5f8, 224);
|
|
|
|
// 0x0700C6D8 - 0x0700C7B8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C6D8, 0x0042cf20, 42199, 0x0000c6d8, 224);
|
|
|
|
// 0x0700C7B8 - 0x0700C8B8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C7B8, 0x0042cf20, 42199, 0x0000c7b8, 256);
|
|
|
|
// 0x0700C8B8 - 0x0700C9B8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C8B8, 0x0042cf20, 42199, 0x0000c8b8, 256);
|
|
|
|
// 0x0700C9B8 - 0x0700CA98
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700C9B8, 0x0042cf20, 42199, 0x0000c9b8, 224);
|
|
|
|
// 0x0700CA98 - 0x0700CB78
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CA98, 0x0042cf20, 42199, 0x0000ca98, 224);
|
|
|
|
// 0x0700CB78 - 0x0700CC78
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CB78, 0x0042cf20, 42199, 0x0000cb78, 256);
|
|
|
|
// 0x0700CC78 - 0x0700CD68
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CC78, 0x0042cf20, 42199, 0x0000cc78, 240);
|
|
|
|
// 0x0700CD68 - 0x0700CE58
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CD68, 0x0042cf20, 42199, 0x0000cd68, 240);
|
|
|
|
// 0x0700CE58 - 0x0700CF38
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CE58, 0x0042cf20, 42199, 0x0000ce58, 224);
|
|
|
|
// 0x0700CF38 - 0x0700D028
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700CF38, 0x0042cf20, 42199, 0x0000cf38, 240);
|
|
|
|
// 0x0700D028 - 0x0700D0D8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D028, 0x0042cf20, 42199, 0x0000d028, 176);
|
|
|
|
// 0x0700D0D8 - 0x0700D1C8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D0D8, 0x0042cf20, 42199, 0x0000d0d8, 240);
|
|
|
|
// 0x0700D1C8 - 0x0700D2B8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D1C8, 0x0042cf20, 42199, 0x0000d1c8, 240);
|
|
|
|
// 0x0700D2B8 - 0x0700D3A8
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D2B8, 0x0042cf20, 42199, 0x0000d2b8, 240);
|
|
|
|
// 0x0700D3A8 - 0x0700D498
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D3A8, 0x0042cf20, 42199, 0x0000d3a8, 240);
|
|
|
|
// 0x0700D498 - 0x0700D588
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D498, 0x0042cf20, 42199, 0x0000d498, 240);
|
|
|
|
// 0x0700D588 - 0x0700D678
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D588, 0x0042cf20, 42199, 0x0000d588, 240);
|
|
|
|
// 0x0700D678 - 0x0700D768
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D678, 0x0042cf20, 42199, 0x0000d678, 240);
|
|
|
|
// 0x0700D768 - 0x0700D858
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D768, 0x0042cf20, 42199, 0x0000d768, 240);
|
|
|
|
// 0x0700D858 - 0x0700D948
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D858, 0x0042cf20, 42199, 0x0000d858, 240);
|
|
|
|
// 0x0700D948 - 0x0700DA38
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700D948, 0x0042cf20, 42199, 0x0000d948, 240);
|
|
|
|
// 0x0700DA38 - 0x0700DB28
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700DA38, 0x0042cf20, 42199, 0x0000da38, 240);
|
|
|
|
// 0x0700DB28 - 0x0700DC18
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700DB28, 0x0042cf20, 42199, 0x0000db28, 240);
|
|
|
|
// 0x0700DC18 - 0x0700DC98
|
|
ROM_ASSET_LOAD_VTX(ttc_seg7_vertex_0700DC18, 0x0042cf20, 42199, 0x0000dc18, 128);
|
|
|
|
// 0x0700DC98 - 0x0700E530
|
|
static const Gfx ttc_seg7_dl_0700DC98[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09000000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(ttc_seg7_vertex_0700B238, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 0, 2, 4, 0x0, 0, 5, 6, 0x0),
|
|
gsSP2Triangles( 0, 7, 5, 0x0, 0, 6, 3, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700B328, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700B408, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700B4E8, 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, 11, 9, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700B5D8, 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(ttc_seg7_vertex_0700B6B8, 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(ttc_seg7_vertex_0700B7A8, 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(ttc_seg7_vertex_0700B898, 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(ttc_seg7_vertex_0700B988, 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(ttc_seg7_vertex_0700BA78, 14, 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, 11, 9, 0x0),
|
|
gsSP2Triangles( 8, 12, 11, 0x0, 10, 13, 8, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700BB58, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 9, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700BC58, 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, 11, 9, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700BD48, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700BE28, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 4, 0x0, 4, 10, 11, 0x0),
|
|
gsSP2Triangles( 4, 11, 8, 0x0, 12, 13, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700BF18, 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(ttc_seg7_vertex_0700C008, 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, 0, 15, 1, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C108, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 1, 4, 2, 0x0, 5, 0, 2, 0x0),
|
|
gsSP2Triangles( 5, 2, 6, 0x0, 7, 5, 8, 0x0),
|
|
gsSP2Triangles( 7, 0, 5, 0x0, 0, 9, 3, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 12, 0x0),
|
|
gsSP2Triangles(11, 14, 13, 0x0, 11, 15, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C208, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 0, 4, 1, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C308, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C408, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C508, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP1Triangle(10, 14, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C5F8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 4, 8, 9, 0x0, 10, 11, 12, 0x0),
|
|
gsSP2Triangles( 4, 13, 7, 0x0, 4, 6, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C6D8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C7B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 2, 1, 4, 0x0, 2, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C8B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 0, 2, 4, 0x0, 3, 5, 1, 0x0),
|
|
gsSP2Triangles( 3, 6, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700C9B8, 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(ttc_seg7_vertex_0700CA98, 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(ttc_seg7_vertex_0700CB78, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 2, 0x0),
|
|
gsSP2Triangles( 7, 9, 8, 0x0, 2, 10, 7, 0x0),
|
|
gsSP2Triangles( 2, 11, 10, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle( 0, 15, 1, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700CC78, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 0, 4, 3, 0x0, 0, 5, 4, 0x0),
|
|
gsSP2Triangles( 0, 6, 7, 0x0, 0, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 12, 13, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700CD68, 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, 11, 12, 0x0),
|
|
gsSP2Triangles( 8, 13, 11, 0x0, 8, 14, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700CE58, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 3, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 9, 12, 10, 0x0),
|
|
gsSP1Triangle( 0, 2, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700CF38, 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(ttc_seg7_vertex_0700D028, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP1Triangle( 0, 2, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E530 - 0x0700E878
|
|
static const Gfx ttc_seg7_dl_0700E530[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09004000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(ttc_seg7_vertex_0700D0D8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(12, 14, 13, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700D1C8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700D2B8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700D3A8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(ttc_seg7_vertex_0700D498, 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(ttc_seg7_vertex_0700D588, 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(ttc_seg7_vertex_0700D678, 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(ttc_seg7_vertex_0700D768, 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(ttc_seg7_vertex_0700D858, 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(ttc_seg7_vertex_0700D948, 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(ttc_seg7_vertex_0700DA38, 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(ttc_seg7_vertex_0700DB28, 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(ttc_seg7_vertex_0700DC18, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0700E878 - 0x0700E950
|
|
const Gfx ttc_seg7_dl_0700E878[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_TEX_EDGE2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(200, 255, 255, 255),
|
|
gsSPFogPosition(900, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_PASS2),
|
|
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
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(ttc_seg7_dl_0700DC98),
|
|
gsDPTileSync(),
|
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
|
|
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
|
|
gsSPDisplayList(ttc_seg7_dl_0700E530),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_NOOP2),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|