331 lines
18 KiB
C
331 lines
18 KiB
C
|
// 0x07057380 - 0x07057398
|
||
|
static const Lights1 inside_castle_seg7_lights_07057380 = gdSPDefLights1(
|
||
|
0x51, 0x34, 0x42,
|
||
|
0xd8, 0x8c, 0xb2, 0x28, 0x28, 0x28
|
||
|
);
|
||
|
|
||
|
// 0x07057398 - 0x070573B0
|
||
|
static const Lights1 inside_castle_seg7_lights_07057398 = gdSPDefLights1(
|
||
|
0x40, 0x24, 0x1e,
|
||
|
0xac, 0x61, 0x52, 0x28, 0x28, 0x28
|
||
|
);
|
||
|
|
||
|
// 0x070573B0 - 0x070573F0
|
||
|
static const Vtx inside_castle_seg7_vertex_070573B0[] = {
|
||
|
{{{ 512, 4198, 3721}, 0, { -5140, -1692}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ -921, 4198, 3721}, 0, { -5140, 1882}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ -921, 4198, 2544}, 0, { -2202, 1882}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ 512, 4198, 2544}, 0, { -2202, -1692}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070573F0 - 0x070574B0
|
||
|
static const Vtx inside_castle_seg7_vertex_070573F0[] = {
|
||
|
{{{ 154, 3174, 2544}, 0, { -2074, -1820}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ 512, 3174, 3465}, 0, { 2524, -3610}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ 512, 3174, 2800}, 0, { -796, -3610}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -921, 3174, 3465}, 0, { 2524, 3542}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ 358, 3174, 3721}, 0, { 3800, -2842}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -767, 3174, 3721}, 0, { 3800, 2776}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -357, 3174, 3772}, 0, { 4056, 734}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -50, 3174, 3772}, 0, { 4056, -798}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -50, 3174, 3721}, 0, { 3800, -798}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -357, 3174, 3721}, 0, { 3800, 734}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -562, 3174, 2544}, 0, { -2074, 1754}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
{{{ -921, 3174, 2851}, 0, { -542, 3542}, {0x00, 0x7f, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070574B0 - 0x070575A0
|
||
|
static const Vtx inside_castle_seg7_vertex_070574B0[] = {
|
||
|
{{{ 512, 4198, 2800}, 0, { 4056, -5142}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ 512, 3174, 3465}, 0, { -2584, 5076}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ 512, 4198, 3465}, 0, { -2584, -5142}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ 512, 4198, 3465}, 0, { -6162, -3098}, {0x94, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ 512, 3174, 3465}, 0, { -6162, 7120}, {0x94, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ 358, 3174, 3721}, 0, { -4630, 7120}, {0x94, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ 358, 4198, 3721}, 0, { -4630, -3098}, {0x94, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ 358, 3174, 3721}, 0, { -4630, 7120}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -50, 3430, 3721}, 0, { -542, 4566}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 358, 4198, 3721}, 0, { -4630, -3098}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -50, 3174, 3721}, 0, { -542, 7120}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -767, 4198, 3721}, 0, { 6612, -3098}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -357, 3430, 3721}, 0, { 2524, 4566}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 512, 3174, 2800}, 0, { 4056, 5076}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070575A0 - 0x070576A0
|
||
|
static const Vtx inside_castle_seg7_vertex_070575A0[] = {
|
||
|
{{{ -767, 4198, 3721}, 0, { 6612, -3098}, {0x6c, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x6c, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ -921, 3174, 3465}, 0, { 8144, 7120}, {0x6c, 0x00, 0xbf, 0xff}}},
|
||
|
{{{ 154, 4198, 2544}, 0, { 4566, -9230}, {0xb7, 0x00, 0x67, 0xff}}},
|
||
|
{{{ 154, 3174, 2544}, 0, { 4566, 990}, {0xb7, 0x00, 0x67, 0xff}}},
|
||
|
{{{ 512, 3174, 2800}, 0, { 8144, 990}, {0xb7, 0x00, 0x67, 0xff}}},
|
||
|
{{{ 512, 4198, 2800}, 0, { 8144, -9230}, {0xb7, 0x00, 0x67, 0xff}}},
|
||
|
{{{ 0, 4198, 2544}, 0, { 4056, -2076}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -409, 4198, 2544}, 0, { 0, -2076}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -409, 3891, 2544}, 0, { 0, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 0, 3891, 2544}, 0, { 4056, 990}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -921, 4198, 2851}, 0, { -6162, -9230}, {0x52, 0x00, 0x60, 0xff}}},
|
||
|
{{{ -921, 3174, 2851}, 0, { -6162, 990}, {0x52, 0x00, 0x60, 0xff}}},
|
||
|
{{{ -562, 3174, 2544}, 0, { -2584, 990}, {0x52, 0x00, 0x60, 0xff}}},
|
||
|
{{{ -562, 4198, 2544}, 0, { -2584, -9230}, {0x52, 0x00, 0x60, 0xff}}},
|
||
|
{{{ -921, 4198, 3465}, 0, { 8144, -3098}, {0x6c, 0x00, 0xbf, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070576A0 - 0x07057790
|
||
|
static const Vtx inside_castle_seg7_vertex_070576A0[] = {
|
||
|
{{{ -357, 3430, 3721}, 0, { 2524, 4566}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -357, 3174, 3721}, 0, { 2524, 7120}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -767, 3174, 3721}, 0, { 6612, 7120}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -50, 3174, 3772}, 0, { 480, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -50, 3430, 3721}, 0, { 0, -1566}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -50, 3174, 3721}, 0, { 0, 990}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -50, 3430, 3772}, 0, { 480, -1566}, {0x81, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -357, 3430, 3772}, 0, { 480, -1566}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -357, 3174, 3772}, 0, { 480, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -357, 3174, 3721}, 0, { 0, 990}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -357, 3430, 3721}, 0, { 0, -1566}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -50, 3430, 3772}, 0, { 480, -1566}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ -357, 3430, 3772}, 0, { 480, -1566}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ -357, 3430, 3721}, 0, { 0, -1566}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
{{{ -50, 3430, 3721}, 0, { 0, -1566}, {0x00, 0x81, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07057790 - 0x070577D0
|
||
|
static const Vtx inside_castle_seg7_vertex_07057790[] = {
|
||
|
{{{ -921, 4198, 3465}, 0, { -2584, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -921, 3174, 3465}, 0, { -2584, 5076}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -921, 3174, 2851}, 0, { 3544, 5076}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
{{{ -921, 4198, 2851}, 0, { 3546, -5142}, {0x7f, 0x00, 0x00, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070577D0 - 0x07057850
|
||
|
static const Vtx inside_castle_seg7_vertex_070577D0[] = {
|
||
|
{{{ 154, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 256, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 256, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -460, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -460, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07057850 - 0x070578D0
|
||
|
static const Vtx inside_castle_seg7_vertex_07057850[] = {
|
||
|
{{{ 51, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 51, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -665, 3482, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3379, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -665, 3379, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3482, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070578D0 - 0x07057950
|
||
|
static const Vtx inside_castle_seg7_vertex_070578D0[] = {
|
||
|
{{{ 154, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 256, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 256, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -460, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -460, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07057950 - 0x070579D0
|
||
|
static const Vtx inside_castle_seg7_vertex_07057950[] = {
|
||
|
{{{ 51, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 51, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ 154, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -665, 3379, 3711}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3277, 3711}, 0, { 0, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -665, 3277, 3711}, 0, { 990, 990}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
{{{ -562, 3379, 3711}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070579D0 - 0x07057AC0
|
||
|
static const Vtx inside_castle_seg7_vertex_070579D0[] = {
|
||
|
{{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -460, 4198, 2595}, 0, { 650, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -511, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 102, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 51, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 51, 3174, 2595}, 0, { 308, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 51, 3174, 2595}, 0, { 308, 2012}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ 0, 4198, 2544}, 0, { 0, 0}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ 0, 3174, 2544}, 0, { 0, 2012}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ 51, 4198, 2595}, 0, { 308, 0}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ 102, 4198, 2595}, 0, { 650, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ 154, 3174, 2544}, 0, { 990, 2012}, {0x58, 0x00, 0x5a, 0xff}}},
|
||
|
{{{ 102, 4198, 2595}, 0, { 650, 0}, {0x58, 0x00, 0x5a, 0xff}}},
|
||
|
{{{ 102, 3174, 2595}, 0, { 650, 2012}, {0x58, 0x00, 0x5a, 0xff}}},
|
||
|
{{{ 154, 4198, 2544}, 0, { 990, 0}, {0x58, 0x00, 0x5a, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07057AC0 - 0x07057B70
|
||
|
static const Vtx inside_castle_seg7_vertex_07057AC0[] = {
|
||
|
{{{ -409, 3174, 2544}, 0, { 990, 2012}, {0x59, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -460, 4198, 2595}, 0, { 650, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x59, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -460, 3174, 2595}, 0, { 650, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -511, 4198, 2595}, 0, { 308, 0}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -511, 3174, 2595}, 0, { 308, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
|
||
|
{{{ -409, 4198, 2544}, 0, { 990, 0}, {0x59, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -511, 3174, 2595}, 0, { 308, 2012}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -511, 4198, 2595}, 0, { 308, 0}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -562, 4198, 2544}, 0, { 0, 0}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
{{{ -562, 3174, 2544}, 0, { 0, 2012}, {0xa7, 0x00, 0x59, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07057B70 - 0x07057BB8
|
||
|
static const Gfx inside_castle_seg7_dl_07057B70[] = {
|
||
|
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_07057380.l, 1),
|
||
|
gsSPLight(&inside_castle_seg7_lights_07057380.a, 2),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070573B0, 4, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057BB8 - 0x07057C20
|
||
|
static const Gfx inside_castle_seg7_dl_07057BB8[] = {
|
||
|
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_070573F0, 12, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
|
||
|
gsSP2Triangles( 3, 5, 4, 0x0, 6, 7, 8, 0x0),
|
||
|
gsSP2Triangles( 6, 8, 9, 0x0, 0, 10, 3, 0x0),
|
||
|
gsSP2Triangles( 0, 3, 1, 0x0, 10, 11, 3, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057C20 - 0x07057D30
|
||
|
static const Gfx inside_castle_seg7_dl_07057C20[] = {
|
||
|
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_070574B0, 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, 8, 11, 9, 0x0),
|
||
|
gsSP2Triangles( 8, 12, 11, 0x0, 12, 13, 11, 0x0),
|
||
|
gsSP1Triangle( 0, 14, 1, 0x0),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070575A0, 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, 12, 13, 0x0),
|
||
|
gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070576A0, 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_07057790, 4, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057D30 - 0x07057D88
|
||
|
static const Gfx inside_castle_seg7_dl_07057D30[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07008000),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPLight(&inside_castle_seg7_lights_07057398.l, 1),
|
||
|
gsSPLight(&inside_castle_seg7_lights_07057398.a, 2),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070577D0, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057D88 - 0x07057DD0
|
||
|
static const Gfx inside_castle_seg7_dl_07057D88[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07008800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_07057850, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057DD0 - 0x07057E18
|
||
|
static const Gfx inside_castle_seg7_dl_07057DD0[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07009000),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070578D0, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057E18 - 0x07057E60
|
||
|
static const Gfx inside_castle_seg7_dl_07057E18[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07009800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_07057950, 8, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057E60 - 0x07057F00
|
||
|
static const Gfx inside_castle_seg7_dl_07057E60[] = {
|
||
|
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_07057380.l, 1),
|
||
|
gsSPLight(&inside_castle_seg7_lights_07057380.a, 2),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_070579D0, 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(11, 14, 12, 0x0),
|
||
|
gsSPVertex(inside_castle_seg7_vertex_07057AC0, 11, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 0, 6, 1, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP1Triangle( 7, 9, 10, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x07057F00 - 0x07057FD8
|
||
|
const Gfx inside_castle_seg7_dl_07057F00[] = {
|
||
|
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_07057B70),
|
||
|
gsSPDisplayList(inside_castle_seg7_dl_07057BB8),
|
||
|
gsSPDisplayList(inside_castle_seg7_dl_07057C20),
|
||
|
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_07057D30),
|
||
|
gsSPDisplayList(inside_castle_seg7_dl_07057D88),
|
||
|
gsSPDisplayList(inside_castle_seg7_dl_07057DD0),
|
||
|
gsSPDisplayList(inside_castle_seg7_dl_07057E18),
|
||
|
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_07057E60),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|