sm64coopdx/levels/bitfs/areas/1/18/model.inc.c
Isaac0-dev 663e4549d8
extract assets from rom at runtime (#4)
* 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>
2024-03-23 16:11:30 -04:00

335 lines
14 KiB
C

#include "pc/rom_assets.h"
// 0x0700C430 - 0x0700C448
static const Lights1 bitfs_seg7_lights_0700C430 = gdSPDefLights1(
0x46, 0x46, 0x46,
0x8c, 0x8c, 0x8c, 0x28, 0x28, 0x28
);
// 0x0700C448 - 0x0700C460
static const Lights1 bitfs_seg7_lights_0700C448 = gdSPDefLights1(
0x64, 0x64, 0x64,
0xc8, 0xc8, 0xc8, 0x28, 0x28, 0x28
);
// 0x0700C460 - 0x0700C478
static const Lights1 bitfs_seg7_lights_0700C460 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700C478 - 0x0700C490
static const Lights1 bitfs_seg7_lights_0700C478 = gdSPDefLights1(
0x32, 0x32, 0x32,
0x64, 0x64, 0x64, 0x28, 0x28, 0x28
);
// 0x0700C490 - 0x0700C4A8
static const Lights1 bitfs_seg7_lights_0700C490 = gdSPDefLights1(
0x62, 0x7f, 0x7f,
0xc4, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700C4A8 - 0x0700C4C0
static const Lights1 bitfs_seg7_lights_0700C4A8 = gdSPDefLights1(
0x32, 0x7f, 0x59,
0x65, 0xff, 0xb2, 0x28, 0x28, 0x28
);
// 0x0700C4C0 - 0x0700C540
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C4C0, 0x004614d0, 37742, 0x0000c4c0, 128);
// 0x0700C540 - 0x0700C580
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C540, 0x004614d0, 37742, 0x0000c540, 64);
// 0x0700C580 - 0x0700C5C0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C580, 0x004614d0, 37742, 0x0000c580, 64);
// 0x0700C5C0 - 0x0700C600
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C5C0, 0x004614d0, 37742, 0x0000c5c0, 64);
// 0x0700C600 - 0x0700C700
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C600, 0x004614d0, 37742, 0x0000c600, 256);
// 0x0700C700 - 0x0700C7E0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C700, 0x004614d0, 37742, 0x0000c700, 224);
// 0x0700C7E0 - 0x0700C8E0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C7E0, 0x004614d0, 37742, 0x0000c7e0, 256);
// 0x0700C8E0 - 0x0700C9E0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C8E0, 0x004614d0, 37742, 0x0000c8e0, 256);
// 0x0700C9E0 - 0x0700CAE0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700C9E0, 0x004614d0, 37742, 0x0000c9e0, 256);
// 0x0700CAE0 - 0x0700CBD0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CAE0, 0x004614d0, 37742, 0x0000cae0, 240);
// 0x0700CBD0 - 0x0700CCB0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CBD0, 0x004614d0, 37742, 0x0000cbd0, 224);
// 0x0700CCB0 - 0x0700CD90
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CCB0, 0x004614d0, 37742, 0x0000ccb0, 224);
// 0x0700CD90 - 0x0700CE70
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CD90, 0x004614d0, 37742, 0x0000cd90, 224);
// 0x0700CE70 - 0x0700CF60
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CE70, 0x004614d0, 37742, 0x0000ce70, 240);
// 0x0700CF60 - 0x0700D060
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700CF60, 0x004614d0, 37742, 0x0000cf60, 256);
// 0x0700D060 - 0x0700D160
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D060, 0x004614d0, 37742, 0x0000d060, 256);
// 0x0700D160 - 0x0700D260
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D160, 0x004614d0, 37742, 0x0000d160, 256);
// 0x0700D260 - 0x0700D360
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D260, 0x004614d0, 37742, 0x0000d260, 256);
// 0x0700D360 - 0x0700D440
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D360, 0x004614d0, 37742, 0x0000d360, 224);
// 0x0700D440 - 0x0700D520
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D440, 0x004614d0, 37742, 0x0000d440, 224);
// 0x0700D520 - 0x0700D620
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D520, 0x004614d0, 37742, 0x0000d520, 256);
// 0x0700D620 - 0x0700D720
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D620, 0x004614d0, 37742, 0x0000d620, 256);
// 0x0700D720 - 0x0700D810
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D720, 0x004614d0, 37742, 0x0000d720, 240);
// 0x0700D810 - 0x0700D910
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D810, 0x004614d0, 37742, 0x0000d810, 256);
// 0x0700D910 - 0x0700D9F0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D910, 0x004614d0, 37742, 0x0000d910, 224);
// 0x0700D9F0 - 0x0700DAF0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700D9F0, 0x004614d0, 37742, 0x0000d9f0, 256);
// 0x0700DAF0 - 0x0700DBF0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DAF0, 0x004614d0, 37742, 0x0000daf0, 256);
// 0x0700DBF0 - 0x0700DCE0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DBF0, 0x004614d0, 37742, 0x0000dbf0, 240);
// 0x0700DCE0 - 0x0700DDC0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DCE0, 0x004614d0, 37742, 0x0000dce0, 224);
// 0x0700DDC0 - 0x0700DEA0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DDC0, 0x004614d0, 37742, 0x0000ddc0, 224);
// 0x0700DEA0 - 0x0700DFA0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DEA0, 0x004614d0, 37742, 0x0000dea0, 256);
// 0x0700DFA0 - 0x0700E0A0
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700DFA0, 0x004614d0, 37742, 0x0000dfa0, 256);
// 0x0700E0A0 - 0x0700E180
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700E0A0, 0x004614d0, 37742, 0x0000e0a0, 224);
// 0x0700E180 - 0x0700E260
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700E180, 0x004614d0, 37742, 0x0000e180, 224);
// 0x0700E260 - 0x0700E350
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700E260, 0x004614d0, 37742, 0x0000e260, 240);
// 0x0700E350 - 0x0700E430
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700E350, 0x004614d0, 37742, 0x0000e350, 224);
// 0x0700E430 - 0x0700E460
ROM_ASSET_LOAD_VTX(bitfs_seg7_vertex_0700E430, 0x004614d0, 37742, 0x0000e430, 48);
// 0x0700E460 - 0x0700E530
static const Gfx bitfs_seg7_dl_0700E460[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bitfs_seg7_lights_0700C430.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C430.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700C4C0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPLight(&bitfs_seg7_lights_0700C448.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C448.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700C540, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPLight(&bitfs_seg7_lights_0700C460.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C460.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700C580, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPLight(&bitfs_seg7_lights_0700C478.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C478.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700C5C0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0700E530 - 0x0700EC78
static const Gfx bitfs_seg7_dl_0700E530[] = {
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)),
gsSPLight(&bitfs_seg7_lights_0700C490.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C490.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700C600, 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(bitfs_seg7_vertex_0700C700, 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(bitfs_seg7_vertex_0700C7E0, 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(bitfs_seg7_vertex_0700C8E0, 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(bitfs_seg7_vertex_0700C9E0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700CAE0, 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(bitfs_seg7_vertex_0700CBD0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700CCB0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 6, 1, 0x0, 3, 7, 4, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700CD90, 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(bitfs_seg7_vertex_0700CE70, 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, 11, 12, 13, 0x0),
gsSP1Triangle(12, 14, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700CF60, 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(bitfs_seg7_vertex_0700D060, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D160, 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(bitfs_seg7_vertex_0700D260, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 6, 8, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D360, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles( 9, 12, 10, 0x0, 6, 13, 7, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D440, 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, 11, 13, 12, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D520, 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, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D620, 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, 13, 15, 14, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D720, 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(bitfs_seg7_vertex_0700D810, 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(bitfs_seg7_vertex_0700D910, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 0, 2, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 6, 8, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700D9F0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles( 3, 5, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700DAF0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700DBF0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles( 9, 12, 10, 0x0, 6, 13, 7, 0x0),
gsSP1Triangle( 3, 14, 4, 0x0),
gsSPLight(&bitfs_seg7_lights_0700C4A8.l, 1),
gsSPLight(&bitfs_seg7_lights_0700C4A8.a, 2),
gsSPVertex(bitfs_seg7_vertex_0700DCE0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 0, 2, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700DDC0, 14, 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),
gsSPVertex(bitfs_seg7_vertex_0700DEA0, 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, 13, 14, 15, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700DFA0, 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(bitfs_seg7_vertex_0700E0A0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 3, 5, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700E180, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 2, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 3, 5, 13, 0x0),
gsSPVertex(bitfs_seg7_vertex_0700E260, 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(bitfs_seg7_vertex_0700E350, 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(bitfs_seg7_vertex_0700E430, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
};
// 0x0700EC78 - 0x0700ECF0
const Gfx bitfs_seg7_dl_0700EC78[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
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(bitfs_seg7_dl_0700E460),
gsSPDisplayList(bitfs_seg7_dl_0700E530),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};