mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
* 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>
755 lines
35 KiB
C
755 lines
35 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x07043D48 - 0x07043E48
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07043D48, 0x00396340, 232834, 0x00043d48, 256);
|
|
|
|
// 0x07043E48 - 0x07043F28
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07043E48, 0x00396340, 232834, 0x00043e48, 224);
|
|
|
|
// 0x07043F28 - 0x07044018
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07043F28, 0x00396340, 232834, 0x00043f28, 240);
|
|
|
|
// 0x07044018 - 0x07044108
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044018, 0x00396340, 232834, 0x00044018, 240);
|
|
|
|
// 0x07044108 - 0x070441E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044108, 0x00396340, 232834, 0x00044108, 224);
|
|
|
|
// 0x070441E8 - 0x070442C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070441E8, 0x00396340, 232834, 0x000441e8, 224);
|
|
|
|
// 0x070442C8 - 0x070443A8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070442C8, 0x00396340, 232834, 0x000442c8, 224);
|
|
|
|
// 0x070443A8 - 0x07044498
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070443A8, 0x00396340, 232834, 0x000443a8, 240);
|
|
|
|
// 0x07044498 - 0x07044588
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044498, 0x00396340, 232834, 0x00044498, 240);
|
|
|
|
// 0x07044588 - 0x07044688
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044588, 0x00396340, 232834, 0x00044588, 256);
|
|
|
|
// 0x07044688 - 0x07044778
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044688, 0x00396340, 232834, 0x00044688, 240);
|
|
|
|
// 0x07044778 - 0x07044858
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044778, 0x00396340, 232834, 0x00044778, 224);
|
|
|
|
// 0x07044858 - 0x07044948
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044858, 0x00396340, 232834, 0x00044858, 240);
|
|
|
|
// 0x07044948 - 0x070449C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044948, 0x00396340, 232834, 0x00044948, 128);
|
|
|
|
// 0x070449C8 - 0x07044AB8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070449C8, 0x00396340, 232834, 0x000449c8, 240);
|
|
|
|
// 0x07044AB8 - 0x07044BA8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044AB8, 0x00396340, 232834, 0x00044ab8, 240);
|
|
|
|
// 0x07044BA8 - 0x07044C98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044BA8, 0x00396340, 232834, 0x00044ba8, 240);
|
|
|
|
// 0x07044C98 - 0x07044D08
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044C98, 0x00396340, 232834, 0x00044c98, 112);
|
|
|
|
// 0x07044D08 - 0x07044E08
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044D08, 0x00396340, 232834, 0x00044d08, 256);
|
|
|
|
// 0x07044E08 - 0x07044EF8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044E08, 0x00396340, 232834, 0x00044e08, 240);
|
|
|
|
// 0x07044EF8 - 0x07044FE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044EF8, 0x00396340, 232834, 0x00044ef8, 240);
|
|
|
|
// 0x07044FE8 - 0x070450E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07044FE8, 0x00396340, 232834, 0x00044fe8, 256);
|
|
|
|
// 0x070450E8 - 0x070451E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070450E8, 0x00396340, 232834, 0x000450e8, 256);
|
|
|
|
// 0x070451E8 - 0x070452E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070451E8, 0x00396340, 232834, 0x000451e8, 256);
|
|
|
|
// 0x070452E8 - 0x070453E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070452E8, 0x00396340, 232834, 0x000452e8, 256);
|
|
|
|
// 0x070453E8 - 0x07045488
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070453E8, 0x00396340, 232834, 0x000453e8, 160);
|
|
|
|
// 0x07045488 - 0x07045578
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045488, 0x00396340, 232834, 0x00045488, 240);
|
|
|
|
// 0x07045578 - 0x07045668
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045578, 0x00396340, 232834, 0x00045578, 240);
|
|
|
|
// 0x07045668 - 0x07045758
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045668, 0x00396340, 232834, 0x00045668, 240);
|
|
|
|
// 0x07045758 - 0x07045848
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045758, 0x00396340, 232834, 0x00045758, 240);
|
|
|
|
// 0x07045848 - 0x07045928
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045848, 0x00396340, 232834, 0x00045848, 224);
|
|
|
|
// 0x07045928 - 0x07045A18
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045928, 0x00396340, 232834, 0x00045928, 240);
|
|
|
|
// 0x07045A18 - 0x07045B08
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045A18, 0x00396340, 232834, 0x00045a18, 240);
|
|
|
|
// 0x07045B08 - 0x07045BF8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045B08, 0x00396340, 232834, 0x00045b08, 240);
|
|
|
|
// 0x07045BF8 - 0x07045CE8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045BF8, 0x00396340, 232834, 0x00045bf8, 240);
|
|
|
|
// 0x07045CE8 - 0x07045DA8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045CE8, 0x00396340, 232834, 0x00045ce8, 192);
|
|
|
|
// 0x07045DA8 - 0x07045E98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045DA8, 0x00396340, 232834, 0x00045da8, 240);
|
|
|
|
// 0x07045E98 - 0x07045F78
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045E98, 0x00396340, 232834, 0x00045e98, 224);
|
|
|
|
// 0x07045F78 - 0x07046078
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07045F78, 0x00396340, 232834, 0x00045f78, 256);
|
|
|
|
// 0x07046078 - 0x07046178
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046078, 0x00396340, 232834, 0x00046078, 256);
|
|
|
|
// 0x07046178 - 0x07046258
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046178, 0x00396340, 232834, 0x00046178, 224);
|
|
|
|
// 0x07046258 - 0x07046358
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046258, 0x00396340, 232834, 0x00046258, 256);
|
|
|
|
// 0x07046358 - 0x07046438
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046358, 0x00396340, 232834, 0x00046358, 224);
|
|
|
|
// 0x07046438 - 0x07046538
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046438, 0x00396340, 232834, 0x00046438, 256);
|
|
|
|
// 0x07046538 - 0x07046618
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046538, 0x00396340, 232834, 0x00046538, 224);
|
|
|
|
// 0x07046618 - 0x070466F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046618, 0x00396340, 232834, 0x00046618, 224);
|
|
|
|
// 0x070466F8 - 0x070467D8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070466F8, 0x00396340, 232834, 0x000466f8, 224);
|
|
|
|
// 0x070467D8 - 0x070468C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070467D8, 0x00396340, 232834, 0x000467d8, 240);
|
|
|
|
// 0x070468C8 - 0x070469A8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070468C8, 0x00396340, 232834, 0x000468c8, 224);
|
|
|
|
// 0x070469A8 - 0x07046A98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070469A8, 0x00396340, 232834, 0x000469a8, 240);
|
|
|
|
// 0x07046A98 - 0x07046B88
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046A98, 0x00396340, 232834, 0x00046a98, 240);
|
|
|
|
// 0x07046B88 - 0x07046C78
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046B88, 0x00396340, 232834, 0x00046b88, 240);
|
|
|
|
// 0x07046C78 - 0x07046D68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046C78, 0x00396340, 232834, 0x00046c78, 240);
|
|
|
|
// 0x07046D68 - 0x07046E58
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046D68, 0x00396340, 232834, 0x00046d68, 240);
|
|
|
|
// 0x07046E58 - 0x07046F48
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046E58, 0x00396340, 232834, 0x00046e58, 240);
|
|
|
|
// 0x07046F48 - 0x07047038
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07046F48, 0x00396340, 232834, 0x00046f48, 240);
|
|
|
|
// 0x07047038 - 0x07047128
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047038, 0x00396340, 232834, 0x00047038, 240);
|
|
|
|
// 0x07047128 - 0x07047218
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047128, 0x00396340, 232834, 0x00047128, 240);
|
|
|
|
// 0x07047218 - 0x070472F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047218, 0x00396340, 232834, 0x00047218, 224);
|
|
|
|
// 0x070472F8 - 0x070473D8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070472F8, 0x00396340, 232834, 0x000472f8, 224);
|
|
|
|
// 0x070473D8 - 0x070474B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070473D8, 0x00396340, 232834, 0x000473d8, 224);
|
|
|
|
// 0x070474B8 - 0x070475B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070474B8, 0x00396340, 232834, 0x000474b8, 256);
|
|
|
|
// 0x070475B8 - 0x070476B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070475B8, 0x00396340, 232834, 0x000475b8, 256);
|
|
|
|
// 0x070476B8 - 0x070477B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070476B8, 0x00396340, 232834, 0x000476b8, 256);
|
|
|
|
// 0x070477B8 - 0x070478B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070477B8, 0x00396340, 232834, 0x000477b8, 256);
|
|
|
|
// 0x070478B8 - 0x070479B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070478B8, 0x00396340, 232834, 0x000478b8, 256);
|
|
|
|
// 0x070479B8 - 0x07047AB8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070479B8, 0x00396340, 232834, 0x000479b8, 256);
|
|
|
|
// 0x07047AB8 - 0x07047BB8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047AB8, 0x00396340, 232834, 0x00047ab8, 256);
|
|
|
|
// 0x07047BB8 - 0x07047C98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047BB8, 0x00396340, 232834, 0x00047bb8, 224);
|
|
|
|
// 0x07047C98 - 0x07047D98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047C98, 0x00396340, 232834, 0x00047c98, 256);
|
|
|
|
// 0x07047D98 - 0x07047E98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047D98, 0x00396340, 232834, 0x00047d98, 256);
|
|
|
|
// 0x07047E98 - 0x07047F98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047E98, 0x00396340, 232834, 0x00047e98, 256);
|
|
|
|
// 0x07047F98 - 0x07048078
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07047F98, 0x00396340, 232834, 0x00047f98, 224);
|
|
|
|
// 0x07048078 - 0x07048158
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07048078, 0x00396340, 232834, 0x00048078, 224);
|
|
|
|
// 0x07048158 - 0x07048248
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07048158, 0x00396340, 232834, 0x00048158, 240);
|
|
|
|
// 0x07048248 - 0x070482F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07048248, 0x00396340, 232834, 0x00048248, 176);
|
|
|
|
// 0x070482F8 - 0x070483F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070482F8, 0x00396340, 232834, 0x000482f8, 256);
|
|
|
|
// 0x070483F8 - 0x070484E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070483F8, 0x00396340, 232834, 0x000483f8, 240);
|
|
|
|
// 0x070484E8 - 0x070485C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070484E8, 0x00396340, 232834, 0x000484e8, 224);
|
|
|
|
// 0x070485C8 - 0x070486B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070485C8, 0x00396340, 232834, 0x000485c8, 240);
|
|
|
|
// 0x070486B8 - 0x070487B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070486B8, 0x00396340, 232834, 0x000486b8, 256);
|
|
|
|
// 0x070487B8 - 0x070488A8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070487B8, 0x00396340, 232834, 0x000487b8, 240);
|
|
|
|
// 0x070488A8 - 0x07048988
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070488A8, 0x00396340, 232834, 0x000488a8, 224);
|
|
|
|
// 0x07048988 - 0x07048A38
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07048988, 0x00396340, 232834, 0x00048988, 176);
|
|
|
|
// 0x07048A38 - 0x07048AA0
|
|
static const Gfx inside_castle_seg7_dl_07048A38[] = {
|
|
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)),
|
|
gsSPVertex(inside_castle_seg7_vertex_07043D48, 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, 14, 12, 0x0, 0, 15, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07048AA0 - 0x07048E68
|
|
static const Gfx inside_castle_seg7_dl_07048AA0[] = {
|
|
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)),
|
|
gsSPVertex(inside_castle_seg7_vertex_07043E48, 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(inside_castle_seg7_vertex_07043F28, 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_07044018, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles( 0, 2, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044108, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 10, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070441E8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 4, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(10, 13, 11, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070442C8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 9, 11, 12, 0x0),
|
|
gsSP1Triangle(11, 13, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070443A8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 7, 0x0, 3, 7, 4, 0x0),
|
|
gsSP2Triangles( 5, 8, 3, 0x0, 5, 9, 8, 0x0),
|
|
gsSP2Triangles( 5, 10, 9, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044498, 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(inside_castle_seg7_vertex_07044588, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
|
|
gsSP2Triangles( 3, 0, 2, 0x0, 0, 5, 1, 0x0),
|
|
gsSP2Triangles( 6, 7, 5, 0x0, 0, 6, 5, 0x0),
|
|
gsSP2Triangles( 6, 8, 7, 0x0, 9, 7, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 7, 0x0, 4, 11, 12, 0x0),
|
|
gsSP2Triangles( 4, 12, 13, 0x0, 4, 13, 3, 0x0),
|
|
gsSP2Triangles(14, 10, 9, 0x0, 14, 9, 15, 0x0),
|
|
gsSP2Triangles(12, 11, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044688, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
|
|
gsSP2Triangles( 2, 1, 3, 0x0, 0, 2, 5, 0x0),
|
|
gsSP2Triangles( 6, 4, 3, 0x0, 6, 3, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 0, 5, 0x0),
|
|
gsSP2Triangles(11, 5, 12, 0x0, 13, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 12, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044778, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 0, 6, 5, 0x0, 0, 5, 1, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044858, 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, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044948, 8, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 0, 3, 4, 0x0, 4, 5, 0, 0x0),
|
|
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07048E68 - 0x07048F68
|
|
static const Gfx inside_castle_seg7_dl_07048E68[] = {
|
|
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)),
|
|
gsSPVertex(inside_castle_seg7_vertex_070449C8, 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_07044AB8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles( 0, 10, 1, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044BA8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 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_07044C98, 7, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP1Triangle( 4, 5, 6, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07048F68 - 0x07049248
|
|
static const Gfx inside_castle_seg7_dl_07048F68[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09005000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044D08, 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, 1, 11, 2, 0x0),
|
|
gsSP2Triangles( 1, 12, 11, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044E08, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
|
|
gsSP2Triangles( 3, 0, 2, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 6, 8, 7, 0x0, 6, 9, 8, 0x0),
|
|
gsSP2Triangles( 5, 7, 10, 0x0, 5, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07044EF8, 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(inside_castle_seg7_vertex_07044FE8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 1, 4, 3, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 6, 0x0),
|
|
gsSP2Triangles( 7, 6, 5, 0x0, 8, 7, 9, 0x0),
|
|
gsSP2Triangles(10, 9, 11, 0x0, 10, 11, 12, 0x0),
|
|
gsSP2Triangles(12, 11, 13, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle(14, 13, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070450E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
|
gsSP2Triangles( 2, 3, 4, 0x0, 5, 6, 4, 0x0),
|
|
gsSP2Triangles( 5, 4, 3, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 6, 5, 10, 0x0, 6, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 11, 10, 0x0, 12, 13, 11, 0x0),
|
|
gsSP2Triangles(13, 12, 14, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070451E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 6, 5, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 4, 11, 5, 0x0),
|
|
gsSP2Triangles( 4, 12, 13, 0x0, 4, 13, 11, 0x0),
|
|
gsSP2Triangles(14, 13, 12, 0x0, 14, 15, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070452E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 3, 2, 0x0, 5, 6, 4, 0x0),
|
|
gsSP2Triangles( 5, 7, 6, 0x0, 8, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 7, 0x0, 10, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 9, 0x0, 12, 11, 10, 0x0),
|
|
gsSP2Triangles(12, 13, 11, 0x0, 13, 12, 14, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070453E8, 10, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 3, 0, 4, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 5, 4, 0x0, 6, 7, 5, 0x0),
|
|
gsSP2Triangles( 6, 8, 9, 0x0, 6, 9, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07049248 - 0x070494D8
|
|
static const Gfx inside_castle_seg7_dl_07049248[] = {
|
|
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_07045488, 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_07045578, 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_07045668, 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, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07045758, 15, 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),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07045848, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_07045928, 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(inside_castle_seg7_vertex_07045A18, 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(inside_castle_seg7_vertex_07045B08, 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(inside_castle_seg7_vertex_07045BF8, 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_07045CE8, 12, 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, 10, 11, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070494D8 - 0x07049E98
|
|
static const Gfx inside_castle_seg7_dl_070494D8[] = {
|
|
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_07045DA8, 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_07045E98, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
|
|
gsSP2Triangles(10, 6, 11, 0x0, 10, 12, 6, 0x0),
|
|
gsSP1Triangle( 0, 13, 1, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07045F78, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 4, 9, 7, 0x0, 1, 10, 11, 0x0),
|
|
gsSP2Triangles( 1, 12, 10, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046078, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 4, 7, 8, 0x0),
|
|
gsSP2Triangles( 4, 9, 7, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046178, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 5, 0x0, 8, 10, 9, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046258, 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, 10, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046358, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 3, 5, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 7, 9, 10, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046438, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
|
|
gsSP2Triangles( 3, 5, 4, 0x0, 6, 7, 8, 0x0),
|
|
gsSP2Triangles( 6, 8, 9, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046538, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_07046618, 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(inside_castle_seg7_vertex_070466F8, 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(inside_castle_seg7_vertex_070467D8, 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, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070468C8, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_070469A8, 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(inside_castle_seg7_vertex_07046A98, 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_07046B88, 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(inside_castle_seg7_vertex_07046C78, 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(inside_castle_seg7_vertex_07046D68, 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(inside_castle_seg7_vertex_07046E58, 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_07046F48, 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_07047038, 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(inside_castle_seg7_vertex_07047128, 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, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07047218, 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(inside_castle_seg7_vertex_070472F8, 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(inside_castle_seg7_vertex_070473D8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 5, 8, 9, 0x0, 5, 9, 10, 0x0),
|
|
gsSP1Triangle(11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070474B8, 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, 7, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070475B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 6, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 7, 10, 8, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 14, 7, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070476B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 6, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 10, 11, 12, 0x0),
|
|
gsSP2Triangles(13, 14, 15, 0x0, 13, 9, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070477B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 1, 0x0, 4, 6, 5, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 10, 11, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070478B8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 6, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle(12, 15, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070479B8, 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, 11, 6, 12, 0x0),
|
|
gsSP1Triangle(13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07047AB8, 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(inside_castle_seg7_vertex_07047BB8, 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(inside_castle_seg7_vertex_07047C98, 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(inside_castle_seg7_vertex_07047D98, 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(inside_castle_seg7_vertex_07047E98, 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(inside_castle_seg7_vertex_07047F98, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_07048078, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_07048158, 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(inside_castle_seg7_vertex_07048248, 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(),
|
|
};
|
|
|
|
// 0x07049E98 - 0x0704A0E8
|
|
static const Gfx inside_castle_seg7_dl_07049E98[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_0900A000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_070482F8, 16, 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),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070483F8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
|
|
gsSP2Triangles( 3, 2, 1, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 9, 4, 10, 0x0),
|
|
gsSP2Triangles( 9, 3, 4, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070484E8, 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(inside_castle_seg7_vertex_070485C8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 8, 10, 0x0),
|
|
gsSP2Triangles( 8, 4, 9, 0x0, 12, 13, 14, 0x0),
|
|
gsSP1Triangle( 8, 5, 4, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070486B8, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_070487B8, 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(inside_castle_seg7_vertex_070488A8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 3, 0x0, 4, 3, 0, 0x0),
|
|
gsSP2Triangles( 6, 2, 1, 0x0, 6, 7, 2, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07048988, 11, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 5, 9, 8, 0x0),
|
|
gsSP1Triangle( 5, 4, 9, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0704A0E8 - 0x0704A1B8
|
|
const Gfx inside_castle_seg7_dl_0704A0E8[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
|
|
gsSPClearGeometryMode(G_LIGHTING),
|
|
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_07048A38),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07048AA0),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07048E68),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07048F68),
|
|
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_07049248),
|
|
gsSPDisplayList(inside_castle_seg7_dl_070494D8),
|
|
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(inside_castle_seg7_dl_07049E98),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|