437 lines
20 KiB
C
437 lines
20 KiB
C
#include "pc/rom_assets.h"
|
|
// 0x0705E4C0 - 0x0705E4D8
|
|
static const Lights1 inside_castle_seg7_lights_0705E4C0 = gdSPDefLights1(
|
|
0x1e, 0x35, 0x40,
|
|
0x52, 0x8e, 0xac, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0705E4D8 - 0x0705E4F0
|
|
static const Lights1 inside_castle_seg7_lights_0705E4D8 = gdSPDefLights1(
|
|
0x5f, 0x5f, 0x5f,
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0705E4F0 - 0x0705E508
|
|
static const Lights1 inside_castle_seg7_lights_0705E4F0 = gdSPDefLights1(
|
|
0x26, 0x26, 0x26,
|
|
0x66, 0x66, 0x66, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0705E508 - 0x0705E520
|
|
static const Lights1 inside_castle_seg7_lights_0705E508 = gdSPDefLights1(
|
|
0x33, 0x33, 0x33,
|
|
0x88, 0x88, 0x88, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0705E520 - 0x0705E538
|
|
static const Lights1 inside_castle_seg7_lights_0705E520 = gdSPDefLights1(
|
|
0x38, 0x4c, 0x3c,
|
|
0x97, 0xcd, 0xa0, 0x28, 0x28, 0x28
|
|
);
|
|
|
|
// 0x0705E538 - 0x0705E628
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E538, 0x00396340, 232834, 0x0005e538, 240);
|
|
|
|
// 0x0705E628 - 0x0705E728
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E628, 0x00396340, 232834, 0x0005e628, 256);
|
|
|
|
// 0x0705E728 - 0x0705E7B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E728, 0x00396340, 232834, 0x0005e728, 144);
|
|
|
|
// 0x0705E7B8 - 0x0705E878
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E7B8, 0x00396340, 232834, 0x0005e7b8, 192);
|
|
|
|
// 0x0705E878 - 0x0705E8B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E878, 0x00396340, 232834, 0x0005e878, 64);
|
|
|
|
// 0x0705E8B8 - 0x0705E9A8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E8B8, 0x00396340, 232834, 0x0005e8b8, 240);
|
|
|
|
// 0x0705E9A8 - 0x0705EA98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705E9A8, 0x00396340, 232834, 0x0005e9a8, 240);
|
|
|
|
// 0x0705EA98 - 0x0705EB98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705EA98, 0x00396340, 232834, 0x0005ea98, 256);
|
|
|
|
// 0x0705EB98 - 0x0705EC78
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705EB98, 0x00396340, 232834, 0x0005eb98, 224);
|
|
|
|
// 0x0705EC78 - 0x0705ED68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705EC78, 0x00396340, 232834, 0x0005ec78, 240);
|
|
|
|
// 0x0705ED68 - 0x0705EE68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705ED68, 0x00396340, 232834, 0x0005ed68, 256);
|
|
|
|
// 0x0705EE68 - 0x0705EF68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705EE68, 0x00396340, 232834, 0x0005ee68, 256);
|
|
|
|
// 0x0705EF68 - 0x0705F058
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705EF68, 0x00396340, 232834, 0x0005ef68, 240);
|
|
|
|
// 0x0705F058 - 0x0705F138
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F058, 0x00396340, 232834, 0x0005f058, 224);
|
|
|
|
// 0x0705F138 - 0x0705F218
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F138, 0x00396340, 232834, 0x0005f138, 224);
|
|
|
|
// 0x0705F218 - 0x0705F318
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F218, 0x00396340, 232834, 0x0005f218, 256);
|
|
|
|
// 0x0705F318 - 0x0705F3F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F318, 0x00396340, 232834, 0x0005f318, 224);
|
|
|
|
// 0x0705F3F8 - 0x0705F4E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F3F8, 0x00396340, 232834, 0x0005f3f8, 240);
|
|
|
|
// 0x0705F4E8 - 0x0705F5D8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F4E8, 0x00396340, 232834, 0x0005f4e8, 240);
|
|
|
|
// 0x0705F5D8 - 0x0705F6B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F5D8, 0x00396340, 232834, 0x0005f5d8, 224);
|
|
|
|
// 0x0705F6B8 - 0x0705F798
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F6B8, 0x00396340, 232834, 0x0005f6b8, 224);
|
|
|
|
// 0x0705F798 - 0x0705F888
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F798, 0x00396340, 232834, 0x0005f798, 240);
|
|
|
|
// 0x0705F888 - 0x0705F8C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F888, 0x00396340, 232834, 0x0005f888, 64);
|
|
|
|
// 0x0705F8C8 - 0x0705F9C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F8C8, 0x00396340, 232834, 0x0005f8c8, 256);
|
|
|
|
// 0x0705F9C8 - 0x0705FAB8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705F9C8, 0x00396340, 232834, 0x0005f9c8, 240);
|
|
|
|
// 0x0705FAB8 - 0x0705FB98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FAB8, 0x00396340, 232834, 0x0005fab8, 224);
|
|
|
|
// 0x0705FB98 - 0x0705FC98
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FB98, 0x00396340, 232834, 0x0005fb98, 256);
|
|
|
|
// 0x0705FC98 - 0x0705FD78
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FC98, 0x00396340, 232834, 0x0005fc98, 224);
|
|
|
|
// 0x0705FD78 - 0x0705FE58
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FD78, 0x00396340, 232834, 0x0005fd78, 224);
|
|
|
|
// 0x0705FE58 - 0x0705FF38
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FE58, 0x00396340, 232834, 0x0005fe58, 224);
|
|
|
|
// 0x0705FF38 - 0x07060018
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_0705FF38, 0x00396340, 232834, 0x0005ff38, 224);
|
|
|
|
// 0x07060018 - 0x070600F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060018, 0x00396340, 232834, 0x00060018, 224);
|
|
|
|
// 0x070600F8 - 0x070601F8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070600F8, 0x00396340, 232834, 0x000600f8, 256);
|
|
|
|
// 0x070601F8 - 0x070602E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070601F8, 0x00396340, 232834, 0x000601f8, 240);
|
|
|
|
// 0x070602E8 - 0x070603E8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070602E8, 0x00396340, 232834, 0x000602e8, 256);
|
|
|
|
// 0x070603E8 - 0x070604C8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070603E8, 0x00396340, 232834, 0x000603e8, 224);
|
|
|
|
// 0x070604C8 - 0x070605B8
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070604C8, 0x00396340, 232834, 0x000604c8, 240);
|
|
|
|
// 0x070605B8 - 0x07060698
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_070605B8, 0x00396340, 232834, 0x000605b8, 224);
|
|
|
|
// 0x07060698 - 0x07060788
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060698, 0x00396340, 232834, 0x00060698, 240);
|
|
|
|
// 0x07060788 - 0x07060878
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060788, 0x00396340, 232834, 0x00060788, 240);
|
|
|
|
// 0x07060878 - 0x07060978
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060878, 0x00396340, 232834, 0x00060878, 256);
|
|
|
|
// 0x07060978 - 0x07060A68
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060978, 0x00396340, 232834, 0x00060978, 240);
|
|
|
|
// 0x07060A68 - 0x07060B58
|
|
ROM_ASSET_LOAD_VTX(inside_castle_seg7_vertex_07060A68, 0x00396340, 232834, 0x00060a68, 240);
|
|
|
|
// 0x07060B58 - 0x07060C68
|
|
static const Gfx inside_castle_seg7_dl_07060B58[] = {
|
|
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_0705E4C0.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4C0.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E538, 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_0705E628, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E728, 9, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP1Triangle( 6, 7, 8, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4D8.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4D8.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E7B8, 12, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles(10, 7, 9, 0x0, 4, 11, 5, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07060C68 - 0x07060E70
|
|
static const Gfx inside_castle_seg7_dl_07060C68[] = {
|
|
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)),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4F0.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4F0.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E878, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E508.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E508.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E8B8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 4, 0x0, 0, 2, 10, 0x0),
|
|
gsSP2Triangles(11, 12, 13, 0x0, 11, 14, 12, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705E9A8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 8, 10, 9, 0x0, 4, 6, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705EA98, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP2Triangles( 6, 12, 7, 0x0, 2, 3, 5, 0x0),
|
|
gsSP2Triangles( 2, 1, 3, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705EB98, 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_0705EC78, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 3, 6, 0x0),
|
|
gsSP2Triangles( 7, 6, 8, 0x0, 9, 7, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP1Triangle( 0, 2, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705ED68, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 4, 0x0),
|
|
gsSP2Triangles( 7, 4, 6, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 11, 13, 12, 0x0),
|
|
gsSP2Triangles(14, 10, 12, 0x0, 15, 14, 12, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07060E70 - 0x07060EF8
|
|
static const Gfx inside_castle_seg7_dl_07060E70[] = {
|
|
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_0705E4D8.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4D8.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705EE68, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 4, 8, 7, 0x0, 4, 6, 9, 0x0),
|
|
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
|
|
gsSP2Triangles(12, 14, 15, 0x0, 12, 15, 10, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07060EF8 - 0x07061188
|
|
static const Gfx inside_castle_seg7_dl_07060EF8[] = {
|
|
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)),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E520.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E520.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705EF68, 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_0705F058, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F138, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F218, 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, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F318, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F3F8, 15, 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),
|
|
gsSP1Triangle( 7, 14, 8, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F4E8, 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_0705F5D8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F6B8, 14, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F798, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSP1Triangle(11, 14, 12, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07061188 - 0x070616E8
|
|
static const Gfx inside_castle_seg7_dl_07061188[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09009000),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E508.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E508.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F888, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4D8.l, 1),
|
|
gsSPLight(&inside_castle_seg7_lights_0705E4D8.a, 2),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F8C8, 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, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705F9C8, 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_0705FAB8, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSP2Triangles( 3, 4, 5, 0x0, 3, 5, 6, 0x0),
|
|
gsSP2Triangles( 7, 8, 9, 0x0, 7, 9, 10, 0x0),
|
|
gsSP2Triangles( 8, 11, 12, 0x0, 8, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705FB98, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 7, 9, 10, 0x0, 4, 11, 5, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705FC98, 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, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705FD78, 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),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705FE58, 14, 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, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_0705FF38, 14, 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, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07060018, 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_070600F8, 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, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070601F8, 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( 1, 14, 2, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070602E8, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 6, 0x0),
|
|
gsSP2Triangles( 9, 6, 8, 0x0, 11, 12, 13, 0x0),
|
|
gsSP2Triangles(11, 14, 12, 0x0, 0, 2, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070603E8, 14, 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, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070604C8, 15, 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),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_070605B8, 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_07060698, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
|
|
gsSP2Triangles( 9, 10, 11, 0x0, 9, 11, 12, 0x0),
|
|
gsSP2Triangles( 9, 12, 7, 0x0, 7, 13, 8, 0x0),
|
|
gsSP1Triangle( 7, 14, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07060788, 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_07060878, 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, 12, 0x0),
|
|
gsSP2Triangles( 0, 2, 12, 0x0, 13, 14, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07060978, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSP2Triangles( 3, 4, 0, 0x0, 5, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07060A68, 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, 11, 9, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x070616E8 - 0x07061790
|
|
const Gfx inside_castle_seg7_dl_070616E8[] = {
|
|
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_07060B58),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07060C68),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07060E70),
|
|
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_07060EF8),
|
|
gsSPDisplayList(inside_castle_seg7_dl_07061188),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList(),
|
|
};
|