#include "pc/rom_assets.h" // 0x07011228 - 0x07011240 static const Lights1 bbh_seg7_lights_07011228 = gdSPDefLights1( 0x66, 0x66, 0x66, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x07011240 - 0x070112C0 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011240, 0x00371c40, 68724, 0x00011240, 128); // 0x070112C0 - 0x070113A0 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_070112C0, 0x00371c40, 68724, 0x000112c0, 224); // 0x070113A0 - 0x07011490 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_070113A0, 0x00371c40, 68724, 0x000113a0, 240); // 0x07011490 - 0x07011570 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011490, 0x00371c40, 68724, 0x00011490, 224); // 0x07011570 - 0x07011660 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011570, 0x00371c40, 68724, 0x00011570, 240); // 0x07011660 - 0x07011740 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011660, 0x00371c40, 68724, 0x00011660, 224); // 0x07011740 - 0x07011830 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011740, 0x00371c40, 68724, 0x00011740, 240); // 0x07011830 - 0x07011930 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011830, 0x00371c40, 68724, 0x00011830, 256); // 0x07011930 - 0x07011990 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011930, 0x00371c40, 68724, 0x00011930, 96); // 0x07011990 - 0x07011A90 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011990, 0x00371c40, 68724, 0x00011990, 256); // 0x07011A90 - 0x07011B80 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011A90, 0x00371c40, 68724, 0x00011a90, 240); // 0x07011B80 - 0x07011C70 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011B80, 0x00371c40, 68724, 0x00011b80, 240); // 0x07011C70 - 0x07011CF0 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011C70, 0x00371c40, 68724, 0x00011c70, 128); // 0x07011CF0 - 0x07011DF0 ROM_ASSET_LOAD_VTX(bbh_seg7_vertex_07011CF0, 0x00371c40, 68724, 0x00011cf0, 256); // 0x07011DF0 - 0x07011E48 static const Gfx bbh_seg7_dl_07011DF0[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_0900A000), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), gsSPLight(&bbh_seg7_lights_07011228.l, 1), gsSPLight(&bbh_seg7_lights_07011228.a, 2), gsSPVertex(bbh_seg7_vertex_07011240, 8, 0), gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0), gsSPEndDisplayList(), }; // 0x07011E48 - 0x07011EA0 static const Gfx bbh_seg7_dl_07011E48[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), gsSPVertex(bbh_seg7_vertex_070112C0, 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, 13, 11, 0x0), gsSPEndDisplayList(), }; // 0x07011EA0 - 0x07012078 static const Gfx bbh_seg7_dl_07011EA0[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09003800), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), gsSPVertex(bbh_seg7_vertex_070113A0, 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(bbh_seg7_vertex_07011490, 14, 0), gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), gsSP2Triangles( 6, 7, 8, 0x0, 1, 7, 2, 0x0), gsSP2Triangles( 1, 9, 7, 0x0, 9, 8, 7, 0x0), gsSP2Triangles( 0, 2, 10, 0x0, 11, 12, 13, 0x0), gsSPVertex(bbh_seg7_vertex_07011570, 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(bbh_seg7_vertex_07011660, 14, 0), gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), gsSP2Triangles( 6, 7, 8, 0x0, 3, 5, 9, 0x0), gsSP2Triangles( 6, 10, 7, 0x0, 11, 12, 13, 0x0), gsSPVertex(bbh_seg7_vertex_07011740, 15, 0), gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 6, 0x0), gsSP2Triangles( 7, 8, 9, 0x0, 7, 10, 8, 0x0), gsSP2Triangles(11, 12, 13, 0x0, 11, 14, 12, 0x0), gsSPVertex(bbh_seg7_vertex_07011830, 16, 0), gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0), gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 3, 0x0), gsSP2Triangles( 7, 3, 6, 0x0, 5, 4, 9, 0x0), gsSP2Triangles( 5, 9, 10, 0x0, 0, 11, 1, 0x0), gsSP2Triangles( 2, 12, 0, 0x0, 13, 14, 15, 0x0), gsSPVertex(bbh_seg7_vertex_07011930, 6, 0), gsSP1Triangle( 0, 1, 2, 0x0), gsSP1Triangle( 3, 4, 5, 0x0), gsSPEndDisplayList(), }; // 0x07012078 - 0x070120E0 static const Gfx bbh_seg7_dl_07012078[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09005000), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), gsSPVertex(bbh_seg7_vertex_07011990, 16, 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), gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0), gsSPEndDisplayList(), }; // 0x070120E0 - 0x070121A8 static const Gfx bbh_seg7_dl_070120E0[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09002800), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)), gsSPVertex(bbh_seg7_vertex_07011A90, 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(bbh_seg7_vertex_07011B80, 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(bbh_seg7_vertex_07011C70, 8, 0), gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0), gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0), gsSPEndDisplayList(), }; // 0x070121A8 - 0x07012220 static const Gfx bbh_seg7_dl_070121A8[] = { gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09009000), gsDPLoadSync(), gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)), gsSPVertex(bbh_seg7_vertex_07011CF0, 16, 0), gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0), gsSP2Triangles( 1, 4, 2, 0x0, 2, 5, 3, 0x0), gsSP2Triangles( 1, 6, 4, 0x0, 6, 7, 4, 0x0), gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0), gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0), gsSPEndDisplayList(), }; // 0x07012220 - 0x07012318 const Gfx bbh_seg7_dl_07012220[] = { 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(bbh_seg7_dl_07011DF0), gsDPTileSync(), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD), gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), gsSPDisplayList(bbh_seg7_dl_07011E48), 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_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(bbh_seg7_dl_07011EA0), gsSPDisplayList(bbh_seg7_dl_07012078), 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(bbh_seg7_dl_070120E0), gsDPTileSync(), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD), gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC), gsSPDisplayList(bbh_seg7_dl_070121A8), gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_SHADING_SMOOTH), gsSPEndDisplayList(), };