mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +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>
668 lines
30 KiB
C
668 lines
30 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0704C8B0 - 0x0704C8C8
|
|
static const Lights1 inside_castle_seg7_lights_0704C8B0 = gdSPDefLights1(
|
|
0x2d, 0x3b, 0x58,
|
|
0x79, 0x9f, 0xeb, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C8C8 - 0x0704C8E0
|
|
static const Lights1 inside_castle_seg7_lights_0704C8C8 = gdSPDefLights1(
|
|
0x25, 0x39, 0x5f,
|
|
0x65, 0x98, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C8E0 - 0x0704C8F8
|
|
static const Lights1 inside_castle_seg7_lights_0704C8E0 = gdSPDefLights1(
|
|
0x1e, 0x2a, 0x40,
|
|
0x52, 0x70, 0xac, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C8F8 - 0x0704C910
|
|
static const Lights1 inside_castle_seg7_lights_0704C8F8 = gdSPDefLights1(
|
|
0x17, 0x27, 0x47,
|
|
0x3f, 0x6a, 0xbf, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C910 - 0x0704C928
|
|
static const Lights1 inside_castle_seg7_lights_0704C910 = gdSPDefLights1(
|
|
0x0b, 0x23, 0x53,
|
|
0x1f, 0x5f, 0xdf, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C928 - 0x0704C940
|
|
static const Lights1 inside_castle_seg7_lights_0704C928 = gdSPDefLights1(
|
|
0x00, 0x1f, 0x5f,
|
|
0x00, 0x55, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C940 - 0x0704C958
|
|
static const Lights1 inside_castle_seg7_lights_0704C940 = gdSPDefLights1(
|
|
0x5f, 0x5f, 0x5f,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C958 - 0x0704C970
|
|
static const Lights1 inside_castle_seg7_lights_0704C958 = gdSPDefLights1(
|
|
0x4c, 0x4c, 0x4c,
|
|
0xcc, 0xcc, 0xcc, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C970 - 0x0704C988
|
|
static const Lights1 inside_castle_seg7_lights_0704C970 = gdSPDefLights1(
|
|
0x13, 0x09, 0x00,
|
|
0x35, 0x1a, 0x00, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C988 - 0x0704C9A0
|
|
static const Lights1 inside_castle_seg7_lights_0704C988 = gdSPDefLights1(
|
|
0x19, 0x0c, 0x00,
|
|
0x43, 0x21, 0x00, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C9A0 - 0x0704C9B8
|
|
static const Lights1 inside_castle_seg7_lights_0704C9A0 = gdSPDefLights1(
|
|
0x2d, 0x16, 0x00,
|
|
0x78, 0x3c, 0x00, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0704C9B8 - 0x0704CA98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704C9B8, 0x00396340, 232834, 0x0004c9b8, 224);
|
|
|
|
// 0x0704CA98 - 0x0704CB18
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CA98, 0x00396340, 232834, 0x0004ca98, 128);
|
|
|
|
// 0x0704CB18 - 0x0704CB98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CB18, 0x00396340, 232834, 0x0004cb18, 128);
|
|
|
|
// 0x0704CB98 - 0x0704CC18
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CB98, 0x00396340, 232834, 0x0004cb98, 128);
|
|
|
|
// 0x0704CC18 - 0x0704CC98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CC18, 0x00396340, 232834, 0x0004cc18, 128);
|
|
|
|
// 0x0704CC98 - 0x0704CCD8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CC98, 0x00396340, 232834, 0x0004cc98, 64);
|
|
|
|
// 0x0704CCD8 - 0x0704CDC8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CCD8, 0x00396340, 232834, 0x0004ccd8, 240);
|
|
|
|
// 0x0704CDC8 - 0x0704CEC8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CDC8, 0x00396340, 232834, 0x0004cdc8, 256);
|
|
|
|
// 0x0704CEC8 - 0x0704CFB8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CEC8, 0x00396340, 232834, 0x0004cec8, 240);
|
|
|
|
// 0x0704CFB8 - 0x0704D0A8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704CFB8, 0x00396340, 232834, 0x0004cfb8, 240);
|
|
|
|
// 0x0704D0A8 - 0x0704D168
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D0A8, 0x00396340, 232834, 0x0004d0a8, 192);
|
|
|
|
// 0x0704D168 - 0x0704D258
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D168, 0x00396340, 232834, 0x0004d168, 240);
|
|
|
|
// 0x0704D258 - 0x0704D348
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D258, 0x00396340, 232834, 0x0004d258, 240);
|
|
|
|
// 0x0704D348 - 0x0704D438
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D348, 0x00396340, 232834, 0x0004d348, 240);
|
|
|
|
// 0x0704D438 - 0x0704D528
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D438, 0x00396340, 232834, 0x0004d438, 240);
|
|
|
|
// 0x0704D528 - 0x0704D618
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D528, 0x00396340, 232834, 0x0004d528, 240);
|
|
|
|
// 0x0704D618 - 0x0704D708
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D618, 0x00396340, 232834, 0x0004d618, 240);
|
|
|
|
// 0x0704D708 - 0x0704D7F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D708, 0x00396340, 232834, 0x0004d708, 240);
|
|
|
|
// 0x0704D7F8 - 0x0704D8E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D7F8, 0x00396340, 232834, 0x0004d7f8, 240);
|
|
|
|
// 0x0704D8E8 - 0x0704D9E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D8E8, 0x00396340, 232834, 0x0004d8e8, 256);
|
|
|
|
// 0x0704D9E8 - 0x0704DAE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704D9E8, 0x00396340, 232834, 0x0004d9e8, 256);
|
|
|
|
// 0x0704DAE8 - 0x0704DB68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DAE8, 0x00396340, 232834, 0x0004dae8, 128);
|
|
|
|
// 0x0704DB68 - 0x0704DC68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DB68, 0x00396340, 232834, 0x0004db68, 256);
|
|
|
|
// 0x0704DC68 - 0x0704DD58
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DC68, 0x00396340, 232834, 0x0004dc68, 240);
|
|
|
|
// 0x0704DD58 - 0x0704DE08
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DD58, 0x00396340, 232834, 0x0004dd58, 176);
|
|
|
|
// 0x0704DE08 - 0x0704DEF8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DE08, 0x00396340, 232834, 0x0004de08, 240);
|
|
|
|
// 0x0704DEF8 - 0x0704DFF8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DEF8, 0x00396340, 232834, 0x0004def8, 256);
|
|
|
|
// 0x0704DFF8 - 0x0704E0F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704DFF8, 0x00396340, 232834, 0x0004dff8, 256);
|
|
|
|
// 0x0704E0F8 - 0x0704E1D8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E0F8, 0x00396340, 232834, 0x0004e0f8, 224);
|
|
|
|
// 0x0704E1D8 - 0x0704E288
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E1D8, 0x00396340, 232834, 0x0004e1d8, 176);
|
|
|
|
// 0x0704E288 - 0x0704E308
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E288, 0x00396340, 232834, 0x0004e288, 128);
|
|
|
|
// 0x0704E308 - 0x0704E388
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E308, 0x00396340, 232834, 0x0004e308, 128);
|
|
|
|
// 0x0704E388 - 0x0704E408
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E388, 0x00396340, 232834, 0x0004e388, 128);
|
|
|
|
// 0x0704E408 - 0x0704E488
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E408, 0x00396340, 232834, 0x0004e408, 128);
|
|
|
|
// 0x0704E488 - 0x0704E578
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E488, 0x00396340, 232834, 0x0004e488, 240);
|
|
|
|
// 0x0704E578 - 0x0704E668
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E578, 0x00396340, 232834, 0x0004e578, 240);
|
|
|
|
// 0x0704E668 - 0x0704E758
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E668, 0x00396340, 232834, 0x0004e668, 240);
|
|
|
|
// 0x0704E758 - 0x0704E848
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E758, 0x00396340, 232834, 0x0004e758, 240);
|
|
|
|
// 0x0704E848 - 0x0704E8C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E848, 0x00396340, 232834, 0x0004e848, 128);
|
|
|
|
// 0x0704E8C8 - 0x0704E988
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E8C8, 0x00396340, 232834, 0x0004e8c8, 192);
|
|
|
|
// 0x0704E988 - 0x0704E9E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E988, 0x00396340, 232834, 0x0004e988, 96);
|
|
|
|
// 0x0704E9E8 - 0x0704EAE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704E9E8, 0x00396340, 232834, 0x0004e9e8, 256);
|
|
|
|
// 0x0704EAE8 - 0x0704EBE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704EAE8, 0x00396340, 232834, 0x0004eae8, 256);
|
|
|
|
// 0x0704EBE8 - 0x0704ECE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704EBE8, 0x00396340, 232834, 0x0004ebe8, 256);
|
|
|
|
// 0x0704ECE8 - 0x0704ED28
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704ECE8, 0x00396340, 232834, 0x0004ece8, 64);
|
|
|
|
// 0x0704ED28 - 0x0704EE28
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704ED28, 0x00396340, 232834, 0x0004ed28, 256);
|
|
|
|
// 0x0704EE28 - 0x0704EF18
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704EE28, 0x00396340, 232834, 0x0004ee28, 240);
|
|
|
|
// 0x0704EF18 - 0x0704F018
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704EF18, 0x00396340, 232834, 0x0004ef18, 256);
|
|
|
|
// 0x0704F018 - 0x0704F118
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F018, 0x00396340, 232834, 0x0004f018, 256);
|
|
|
|
// 0x0704F118 - 0x0704F218
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F118, 0x00396340, 232834, 0x0004f118, 256);
|
|
|
|
// 0x0704F218 - 0x0704F318
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F218, 0x00396340, 232834, 0x0004f218, 256);
|
|
|
|
// 0x0704F318 - 0x0704F418
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F318, 0x00396340, 232834, 0x0004f318, 256);
|
|
|
|
// 0x0704F418 - 0x0704F518
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F418, 0x00396340, 232834, 0x0004f418, 256);
|
|
|
|
// 0x0704F518 - 0x0704F608
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F518, 0x00396340, 232834, 0x0004f518, 240);
|
|
|
|
// 0x0704F608 - 0x0704F6F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F608, 0x00396340, 232834, 0x0004f608, 240);
|
|
|
|
// 0x0704F6F8 - 0x0704F7F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F6F8, 0x00396340, 232834, 0x0004f6f8, 256);
|
|
|
|
// 0x0704F7F8 - 0x0704F8E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F7F8, 0x00396340, 232834, 0x0004f7f8, 240);
|
|
|
|
// 0x0704F8E8 - 0x0704F928
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0704F8E8, 0x00396340, 232834, 0x0004f8e8, 64);
|
|
|
|
// 0x0704F928 - 0x0704FB98
|
|
static const Gfx inside_castle_seg7_dl_0704F928[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09004000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8B0.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8B0.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704C9B8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 0, 2, 4, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 5, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8C8.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8C8.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CA98, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8E0.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8E0.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CB18, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8F8.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C8F8.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CB98, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C910.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C910.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CC18, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C928.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C928.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CC98, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CCD8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 3, 7, 6, 0x0),
|
|
gsSP2Triangles( 4, 8, 9, 0x0, 4, 9, 5, 0x0),
|
|
gsSP2Triangles(10, 11, 6, 0x0, 7, 10, 6, 0x0),
|
|
gsSP2Triangles(10, 12, 11, 0x0, 12, 13, 11, 0x0),
|
|
gsSP2Triangles(13, 8, 11, 0x0, 13, 14, 8, 0x0),
|
|
gsSP1Triangle(14, 9, 8, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CDC8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
|
gsSP2Triangles( 0, 2, 4, 0x0, 5, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 5, 3, 9, 0x0, 6, 5, 10, 0x0),
|
|
gsSP2Triangles( 5, 9, 10, 0x0, 6, 10, 11, 0x0),
|
|
gsSP2Triangles( 6, 11, 7, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle(12, 15, 13, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0704FB98 - 0x0704FED8
|
|
static const Gfx inside_castle_seg7_dl_0704FB98[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09003000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C958.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C958.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704CEC8, 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(inside_castle_seg7_vertex_0704CFB8, 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(inside_castle_seg7_vertex_0704D0A8, 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, 11, 9, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704D168, 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, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704D258, 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(inside_castle_seg7_vertex_0704D348, 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, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704D438, 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(inside_castle_seg7_vertex_0704D528, 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(inside_castle_seg7_vertex_0704D618, 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(inside_castle_seg7_vertex_0704D708, 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(inside_castle_seg7_vertex_0704D7F8, 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(inside_castle_seg7_vertex_0704D8E8, 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, 13, 14, 0x0, 0, 2, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0704FED8 - 0x0704FF60
|
|
static const Gfx inside_castle_seg7_dl_0704FED8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_0900B000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704D9E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
|
|
gsSP2Triangles( 0, 5, 1, 0x0, 0, 6, 5, 0x0),
|
|
gsSP2Triangles( 0, 4, 6, 0x0, 0, 2, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles( 8, 12, 13, 0x0, 8, 14, 12, 0x0),
|
|
gsSP2Triangles( 8, 15, 9, 0x0, 8, 13, 15, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0704FF60 - 0x0704FFA8
|
|
static const Gfx inside_castle_seg7_dl_0704FF60[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DAE8, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0704FFA8 - 0x07050080
|
|
static const Gfx inside_castle_seg7_dl_0704FFA8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09003800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DB68, 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, 0, 2, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DC68, 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(11, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DD58, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
|
|
gsSP1Triangle( 0, 2, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07050080 - 0x070501E8
|
|
static const Gfx inside_castle_seg7_dl_07050080[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09005800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DE08, 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( 0, 2, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DEF8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSP2Triangles( 2, 4, 5, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 7, 8, 0x0, 9, 10, 3, 0x0),
|
|
gsSP2Triangles( 8, 9, 5, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 9, 3, 2, 0x0),
|
|
gsSP2Triangles( 9, 2, 5, 0x0, 10, 15, 3, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704DFF8, 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(inside_castle_seg7_vertex_0704E0F8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles( 3, 10, 4, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E1D8, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP1Triangle( 8, 9, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070501E8 - 0x07050230
|
|
static const Gfx inside_castle_seg7_dl_070501E8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E288, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07050230 - 0x07050278
|
|
static const Gfx inside_castle_seg7_dl_07050230[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07006000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E308, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07050278 - 0x070502C0
|
|
static const Gfx inside_castle_seg7_dl_07050278[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07007800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E388, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070502C0 - 0x07050308
|
|
static const Gfx inside_castle_seg7_dl_070502C0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07006800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E408, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07050308 - 0x070505D0
|
|
static const Gfx inside_castle_seg7_dl_07050308[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E488, 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(inside_castle_seg7_vertex_0704E578, 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(inside_castle_seg7_vertex_0704E668, 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(inside_castle_seg7_vertex_0704E758, 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(inside_castle_seg7_vertex_0704E848, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C970.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C970.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E8C8, 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),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C988.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C988.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E988, 6, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
|
|
gsSP2Triangles( 0, 2, 3, 0x0, 3, 5, 4, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C9A0.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C9A0.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704E9E8, 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, 0, 11, 1, 0x0),
|
|
gsSP2Triangles(12, 0, 2, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704EAE8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 1, 4, 2, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 9, 12, 10, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704EBE8, 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, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704ECE8, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070505D0 - 0x07050938
|
|
static const Gfx inside_castle_seg7_dl_070505D0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09002000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0704C940.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704ED28, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 10, 8, 0x0, 4, 6, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704EE28, 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(inside_castle_seg7_vertex_0704EF18, 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(inside_castle_seg7_vertex_0704F018, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 3, 12, 4, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F118, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 3, 4, 5, 0x0, 3, 5, 6, 0x0),
|
|
gsSP2Triangles( 0, 2, 7, 0x0, 5, 0, 7, 0x0),
|
|
gsSP2Triangles( 5, 7, 6, 0x0, 8, 9, 10, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 8, 14, 15, 0x0),
|
|
gsSP1Triangle( 8, 15, 9, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F218, 16, 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, 8, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F318, 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, 0, 2, 0x0),
|
|
gsSP2Triangles(11, 12, 0, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F418, 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(inside_castle_seg7_vertex_0704F518, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles( 3, 10, 4, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F608, 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( 0, 14, 1, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F6F8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F7F8, 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, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0704F8E8, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07050938 - 0x07050A78
|
|
const Gfx inside_castle_seg7_dl_07050938[] = {
|
|
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(inside_castle_seg7_dl_0704F928),
|
|
gsSPDisplayList(inside_castle_seg7_dl_0704FB98),
|
|
gsSPDisplayList(inside_castle_seg7_dl_0704FED8),
|
|
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(inside_castle_seg7_dl_0704FF60),
|
|
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(inside_castle_seg7_dl_0704FFA8),
|
|
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_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(inside_castle_seg7_dl_07050080),
|
|
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(inside_castle_seg7_dl_070501E8),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07050230),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07050278),
|
|
gsSPDisplayList(inside_castle_seg7_dl_070502C0),
|
|
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(inside_castle_seg7_dl_07050308),
|
|
gsSPDisplayList(inside_castle_seg7_dl_070505D0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|