mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-05 02:07:26 +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>
703 lines
30 KiB
C
703 lines
30 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x07004478 - 0x07004490
|
|
static const Lights1 bob_seg7_lights_07004478 = gdSPDefLights1(
|
|
0x66, 0x66, 0x66,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x07004490 - 0x07004590
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004490, 0x003fc2b0, 38830, 0x00004490, 256);
|
|
|
|
// 0x07004590 - 0x07004690
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004590, 0x003fc2b0, 38830, 0x00004590, 256);
|
|
|
|
// 0x07004690 - 0x07004790
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004690, 0x003fc2b0, 38830, 0x00004690, 256);
|
|
|
|
// 0x07004790 - 0x07004870
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004790, 0x003fc2b0, 38830, 0x00004790, 224);
|
|
|
|
// 0x07004870 - 0x070048A0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004870, 0x003fc2b0, 38830, 0x00004870, 48);
|
|
|
|
// 0x070048A0 - 0x07004990
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070048A0, 0x003fc2b0, 38830, 0x000048a0, 240);
|
|
|
|
// 0x07004990 - 0x07004A80
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004990, 0x003fc2b0, 38830, 0x00004990, 240);
|
|
|
|
// 0x07004A80 - 0x07004B70
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004A80, 0x003fc2b0, 38830, 0x00004a80, 240);
|
|
|
|
// 0x07004B70 - 0x07004C60
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004B70, 0x003fc2b0, 38830, 0x00004b70, 240);
|
|
|
|
// 0x07004C60 - 0x07004D50
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004C60, 0x003fc2b0, 38830, 0x00004c60, 240);
|
|
|
|
// 0x07004D50 - 0x07004E40
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004D50, 0x003fc2b0, 38830, 0x00004d50, 240);
|
|
|
|
// 0x07004E40 - 0x07004F30
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004E40, 0x003fc2b0, 38830, 0x00004e40, 240);
|
|
|
|
// 0x07004F30 - 0x07005020
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07004F30, 0x003fc2b0, 38830, 0x00004f30, 240);
|
|
|
|
// 0x07005020 - 0x07005120
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005020, 0x003fc2b0, 38830, 0x00005020, 256);
|
|
|
|
// 0x07005120 - 0x07005200
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005120, 0x003fc2b0, 38830, 0x00005120, 224);
|
|
|
|
// 0x07005200 - 0x070052F0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005200, 0x003fc2b0, 38830, 0x00005200, 240);
|
|
|
|
// 0x070052F0 - 0x070053E0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070052F0, 0x003fc2b0, 38830, 0x000052f0, 240);
|
|
|
|
// 0x070053E0 - 0x070054C0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070053E0, 0x003fc2b0, 38830, 0x000053e0, 224);
|
|
|
|
// 0x070054C0 - 0x070055B0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070054C0, 0x003fc2b0, 38830, 0x000054c0, 240);
|
|
|
|
// 0x070055B0 - 0x070056A0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070055B0, 0x003fc2b0, 38830, 0x000055b0, 240);
|
|
|
|
// 0x070056A0 - 0x07005790
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070056A0, 0x003fc2b0, 38830, 0x000056a0, 240);
|
|
|
|
// 0x07005790 - 0x07005800
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005790, 0x003fc2b0, 38830, 0x00005790, 112);
|
|
|
|
// 0x07005800 - 0x070058F0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005800, 0x003fc2b0, 38830, 0x00005800, 240);
|
|
|
|
// 0x070058F0 - 0x070059E0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070058F0, 0x003fc2b0, 38830, 0x000058f0, 240);
|
|
|
|
// 0x070059E0 - 0x07005AD0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070059E0, 0x003fc2b0, 38830, 0x000059e0, 240);
|
|
|
|
// 0x07005AD0 - 0x07005BC0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005AD0, 0x003fc2b0, 38830, 0x00005ad0, 240);
|
|
|
|
// 0x07005BC0 - 0x07005CC0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005BC0, 0x003fc2b0, 38830, 0x00005bc0, 256);
|
|
|
|
// 0x07005CC0 - 0x07005DB0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005CC0, 0x003fc2b0, 38830, 0x00005cc0, 240);
|
|
|
|
// 0x07005DB0 - 0x07005EA0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005DB0, 0x003fc2b0, 38830, 0x00005db0, 240);
|
|
|
|
// 0x07005EA0 - 0x07005F90
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005EA0, 0x003fc2b0, 38830, 0x00005ea0, 240);
|
|
|
|
// 0x07005F90 - 0x07006080
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07005F90, 0x003fc2b0, 38830, 0x00005f90, 240);
|
|
|
|
// 0x07006080 - 0x07006170
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006080, 0x003fc2b0, 38830, 0x00006080, 240);
|
|
|
|
// 0x07006170 - 0x07006260
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006170, 0x003fc2b0, 38830, 0x00006170, 240);
|
|
|
|
// 0x07006260 - 0x07006350
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006260, 0x003fc2b0, 38830, 0x00006260, 240);
|
|
|
|
// 0x07006350 - 0x07006440
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006350, 0x003fc2b0, 38830, 0x00006350, 240);
|
|
|
|
// 0x07006440 - 0x07006530
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006440, 0x003fc2b0, 38830, 0x00006440, 240);
|
|
|
|
// 0x07006530 - 0x07006620
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006530, 0x003fc2b0, 38830, 0x00006530, 240);
|
|
|
|
// 0x07006620 - 0x07006680
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006620, 0x003fc2b0, 38830, 0x00006620, 96);
|
|
|
|
// 0x07006680 - 0x07006760
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006680, 0x003fc2b0, 38830, 0x00006680, 224);
|
|
|
|
// 0x07006760 - 0x07006860
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006760, 0x003fc2b0, 38830, 0x00006760, 256);
|
|
|
|
// 0x07006860 - 0x07006950
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006860, 0x003fc2b0, 38830, 0x00006860, 240);
|
|
|
|
// 0x07006950 - 0x070069D0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006950, 0x003fc2b0, 38830, 0x00006950, 128);
|
|
|
|
// 0x070069D0 - 0x07006AC0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070069D0, 0x003fc2b0, 38830, 0x000069d0, 240);
|
|
|
|
// 0x07006AC0 - 0x07006BC0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006AC0, 0x003fc2b0, 38830, 0x00006ac0, 256);
|
|
|
|
// 0x07006BC0 - 0x07006CC0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006BC0, 0x003fc2b0, 38830, 0x00006bc0, 256);
|
|
|
|
// 0x07006CC0 - 0x07006DB0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006CC0, 0x003fc2b0, 38830, 0x00006cc0, 240);
|
|
|
|
// 0x07006DB0 - 0x07006E30
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006DB0, 0x003fc2b0, 38830, 0x00006db0, 128);
|
|
|
|
// 0x07006E30 - 0x07006F30
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006E30, 0x003fc2b0, 38830, 0x00006e30, 256);
|
|
|
|
// 0x07006F30 - 0x07007020
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07006F30, 0x003fc2b0, 38830, 0x00006f30, 240);
|
|
|
|
// 0x07007020 - 0x07007100
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007020, 0x003fc2b0, 38830, 0x00007020, 224);
|
|
|
|
// 0x07007100 - 0x07007200
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007100, 0x003fc2b0, 38830, 0x00007100, 256);
|
|
|
|
// 0x07007200 - 0x070072F0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007200, 0x003fc2b0, 38830, 0x00007200, 240);
|
|
|
|
// 0x070072F0 - 0x07007370
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070072F0, 0x003fc2b0, 38830, 0x000072f0, 128);
|
|
|
|
// 0x07007370 - 0x07007470
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007370, 0x003fc2b0, 38830, 0x00007370, 256);
|
|
|
|
// 0x07007470 - 0x070074C0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007470, 0x003fc2b0, 38830, 0x00007470, 80);
|
|
|
|
// 0x070074C0 - 0x070075B0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070074C0, 0x003fc2b0, 38830, 0x000074c0, 240);
|
|
|
|
// 0x070075B0 - 0x070076A0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070075B0, 0x003fc2b0, 38830, 0x000075b0, 240);
|
|
|
|
// 0x070076A0 - 0x07007790
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070076A0, 0x003fc2b0, 38830, 0x000076a0, 240);
|
|
|
|
// 0x07007790 - 0x07007880
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007790, 0x003fc2b0, 38830, 0x00007790, 240);
|
|
|
|
// 0x07007880 - 0x07007980
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007880, 0x003fc2b0, 38830, 0x00007880, 256);
|
|
|
|
// 0x07007980 - 0x07007A80
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007980, 0x003fc2b0, 38830, 0x00007980, 256);
|
|
|
|
// 0x07007A80 - 0x07007B20
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007A80, 0x003fc2b0, 38830, 0x00007a80, 160);
|
|
|
|
// 0x07007B20 - 0x07007C10
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007B20, 0x003fc2b0, 38830, 0x00007b20, 240);
|
|
|
|
// 0x07007C10 - 0x07007D00
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007C10, 0x003fc2b0, 38830, 0x00007c10, 240);
|
|
|
|
// 0x07007D00 - 0x07007DE0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007D00, 0x003fc2b0, 38830, 0x00007d00, 224);
|
|
|
|
// 0x07007DE0 - 0x07007EE0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007DE0, 0x003fc2b0, 38830, 0x00007de0, 256);
|
|
|
|
// 0x07007EE0 - 0x07007FD0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007EE0, 0x003fc2b0, 38830, 0x00007ee0, 240);
|
|
|
|
// 0x07007FD0 - 0x070080D0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07007FD0, 0x003fc2b0, 38830, 0x00007fd0, 256);
|
|
|
|
// 0x070080D0 - 0x070081D0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070080D0, 0x003fc2b0, 38830, 0x000080d0, 256);
|
|
|
|
// 0x070081D0 - 0x070082C0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070081D0, 0x003fc2b0, 38830, 0x000081d0, 240);
|
|
|
|
// 0x070082C0 - 0x070083C0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070082C0, 0x003fc2b0, 38830, 0x000082c0, 256);
|
|
|
|
// 0x070083C0 - 0x070084A0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070083C0, 0x003fc2b0, 38830, 0x000083c0, 224);
|
|
|
|
// 0x070084A0 - 0x07008580
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_070084A0, 0x003fc2b0, 38830, 0x000084a0, 224);
|
|
|
|
// 0x07008580 - 0x07008660
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008580, 0x003fc2b0, 38830, 0x00008580, 224);
|
|
|
|
// 0x07008660 - 0x07008750
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008660, 0x003fc2b0, 38830, 0x00008660, 240);
|
|
|
|
// 0x07008750 - 0x07008840
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008750, 0x003fc2b0, 38830, 0x00008750, 240);
|
|
|
|
// 0x07008840 - 0x07008930
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008840, 0x003fc2b0, 38830, 0x00008840, 240);
|
|
|
|
// 0x07008930 - 0x07008A30
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008930, 0x003fc2b0, 38830, 0x00008930, 256);
|
|
|
|
// 0x07008A30 - 0x07008AF0
|
|
ROM_ASSET_LOAD_VTX(bob_seg7_vertex_07008A30, 0x003fc2b0, 38830, 0x00008a30, 192);
|
|
|
|
// 0x07008AF0 - 0x07008C28
|
|
static const Gfx bob_seg7_dl_07008AF0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09003800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&bob_seg7_lights_07004478.l, 1),
|
|
gsSPLight(&bob_seg7_lights_07004478.a, 2),
|
|
gsSPVertex(bob_seg7_vertex_07004490, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 3, 5, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 4, 10, 5, 0x0, 4, 11, 10, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07004590, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 8, 7, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07004690, 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),
|
|
gsSP1Triangle(12, 11, 0, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07004790, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 1, 9, 2, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 6, 8, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07004870, 3, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07008C28 - 0x07009050
|
|
static const Gfx bob_seg7_dl_07008C28[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09002000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_070048A0, 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(bob_seg7_vertex_07004990, 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(bob_seg7_vertex_07004A80, 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(bob_seg7_vertex_07004B70, 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(bob_seg7_vertex_07004C60, 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(bob_seg7_vertex_07004D50, 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(bob_seg7_vertex_07004E40, 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(bob_seg7_vertex_07004F30, 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(bob_seg7_vertex_07005020, 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),
|
|
gsSP2Triangles(11, 14, 12, 0x0, 0, 15, 1, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07005120, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07005200, 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, 11, 9, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_070052F0, 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(bob_seg7_vertex_070053E0, 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(bob_seg7_vertex_070054C0, 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(bob_seg7_vertex_070055B0, 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(bob_seg7_vertex_070056A0, 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(bob_seg7_vertex_07005790, 7, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP1Triangle( 0, 2, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009050 - 0x07009370
|
|
static const Gfx bob_seg7_dl_07009050[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09001800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07005800, 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(bob_seg7_vertex_070058F0, 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(bob_seg7_vertex_070059E0, 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(bob_seg7_vertex_07005AD0, 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(bob_seg7_vertex_07005BC0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07005CC0, 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(bob_seg7_vertex_07005DB0, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 6, 11, 7, 0x0, 6, 9, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07005EA0, 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(bob_seg7_vertex_07005F90, 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(bob_seg7_vertex_07006080, 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(bob_seg7_vertex_07006170, 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(bob_seg7_vertex_07006260, 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(bob_seg7_vertex_07006350, 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(bob_seg7_vertex_07006440, 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(bob_seg7_vertex_07006530, 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(bob_seg7_vertex_07006620, 6, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009370 - 0x07009490
|
|
static const Gfx bob_seg7_dl_07009370[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09005000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07006680, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 0, 4, 5, 0x0, 6, 7, 8, 0x0),
|
|
gsSP2Triangles( 6, 8, 9, 0x0, 0, 2, 6, 0x0),
|
|
gsSP2Triangles( 0, 5, 1, 0x0, 2, 7, 6, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 12, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006760, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 5, 8, 0x0),
|
|
gsSP2Triangles( 7, 9, 5, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006860, 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, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006950, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009490 - 0x070095B8
|
|
static const Gfx bob_seg7_dl_07009490[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09004800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_070069D0, 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(bob_seg7_vertex_07006AC0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 0, 2, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006BC0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006CC0, 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(bob_seg7_vertex_07006DB0, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070095B8 - 0x07009768
|
|
static const Gfx bob_seg7_dl_070095B8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09003000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07006E30, 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, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07006F30, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 11, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(10, 12, 11, 0x0, 7, 9, 13, 0x0),
|
|
gsSP2Triangles(10, 14, 12, 0x0, 14, 7, 13, 0x0),
|
|
gsSP1Triangle(14, 13, 12, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007020, 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, 13, 11, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007100, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007200, 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(bob_seg7_vertex_070072F0, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 0, 3, 4, 0x0, 2, 5, 3, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 1, 7, 2, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009768 - 0x070097F8
|
|
static const Gfx bob_seg7_dl_07009768[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bob_seg7_texture_07001000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07007370, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 7, 0x0, 3, 7, 8, 0x0),
|
|
gsSP2Triangles( 3, 8, 4, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 13, 0x0, 9, 11, 12, 0x0),
|
|
gsSP2Triangles( 9, 14, 10, 0x0, 0, 15, 1, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007470, 5, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070097F8 - 0x07009960
|
|
static const Gfx bob_seg7_dl_070097F8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bob_seg7_texture_07001800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_070074C0, 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(bob_seg7_vertex_070075B0, 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(bob_seg7_vertex_070076A0, 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(bob_seg7_vertex_07007790, 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(bob_seg7_vertex_07007880, 16, 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),
|
|
gsSP2Triangles(11, 14, 12, 0x0, 0, 2, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009960 - 0x070099E0
|
|
static const Gfx bob_seg7_dl_07009960[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bob_seg7_texture_07000800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07007980, 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(bob_seg7_vertex_07007A80, 10, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 3, 5, 9, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070099E0 - 0x07009D80
|
|
static const Gfx bob_seg7_dl_070099E0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09006000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(bob_seg7_vertex_07007B20, 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(bob_seg7_vertex_07007C10, 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(bob_seg7_vertex_07007D00, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007DE0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07007EE0, 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(bob_seg7_vertex_07007FD0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_070080D0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_070081D0, 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(bob_seg7_vertex_070082C0, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_070083C0, 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(bob_seg7_vertex_070084A0, 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, 12, 13, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07008580, 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(bob_seg7_vertex_07008660, 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(bob_seg7_vertex_07008750, 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(bob_seg7_vertex_07008840, 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(bob_seg7_vertex_07008930, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(bob_seg7_vertex_07008A30, 12, 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),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07009D80 - 0x07009E98
|
|
const Gfx bob_seg7_dl_07009D80[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_2CYCLE),
|
|
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
|
|
gsDPSetDepthSource(G_ZS_PIXEL),
|
|
gsDPSetFogColor(160, 160, 160, 255),
|
|
gsSPFogPosition(980, 1000),
|
|
gsSPSetGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2),
|
|
gsSPClearGeometryMode(G_SHADING_SMOOTH),
|
|
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(bob_seg7_dl_07008AF0),
|
|
gsSPDisplayList(bob_seg7_dl_07008C28),
|
|
gsSPDisplayList(bob_seg7_dl_07009050),
|
|
gsSPDisplayList(bob_seg7_dl_07009370),
|
|
gsSPDisplayList(bob_seg7_dl_07009490),
|
|
gsSPDisplayList(bob_seg7_dl_070095B8),
|
|
gsSPDisplayList(bob_seg7_dl_07009768),
|
|
gsSPDisplayList(bob_seg7_dl_070097F8),
|
|
gsSPDisplayList(bob_seg7_dl_07009960),
|
|
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(bob_seg7_dl_070099E0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
|
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2),
|
|
gsSPClearGeometryMode(G_FOG),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|