mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-05 02:07:26 +00:00
278 lines
17 KiB
C
278 lines
17 KiB
C
|
// 0x070096F8 - 0x070097F8
|
||
|
static const Vtx castle_grounds_seg7_vertex_070096F8[] = {
|
||
|
{{{ 349, 3669, 156}, 0, { 198, 328}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 508, 3431, 227}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 359, 3662, -375}, 0, { 1968, 366}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 555, 2139, -518}, 0, { 2974, -448}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 562, 2150, 244}, 0, { 436, -438}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 937, 1751, -654}, 0, { 3426, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 945, 1751, 384}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 562, 2150, 244}, 0, { 1874, -426}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 307, 2154, 551}, 0, { 544, -392}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 945, 1751, 384}, 0, { 2374, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 466, 1751, 926}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -306, 2154, 551}, 0, { 496, -410}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -465, 1751, 926}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 307, 2154, 551}, 0, { 2538, -410}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 466, 1751, 926}, 0, { 3068, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 509, 3430, -487}, 0, { 2344, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070097F8 - 0x070098D8
|
||
|
static const Vtx castle_grounds_seg7_vertex_070097F8[] = {
|
||
|
{{{ 349, 3669, 156}, 0, { 998, 306}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 202, 3672, 340}, 0, { 214, 318}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 508, 3431, 227}, 0, { 1156, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 282, 3431, 503}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 202, 3672, 340}, 0, { 1580, 326}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -201, 3672, 340}, 0, { 234, 326}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 282, 3431, 503}, 0, { 1844, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -281, 3431, 503}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 0, 4741, -96}, 0, { 728, -2344}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 349, 3669, 156}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 359, 3662, -375}, 0, { 1738, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 0, 4741, -96}, 0, { 990, -2430}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 202, 3672, 340}, 0, { 206, 976}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 349, 3669, 156}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070098D8 - 0x070099B8
|
||
|
static const Vtx castle_grounds_seg7_vertex_070098D8[] = {
|
||
|
{{{ 0, 4741, -96}, 0, { 640, -2440}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -201, 3672, 340}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 202, 3672, 340}, 0, { 1314, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 0, 4741, -96}, 0, { 646, -2434}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 3660, -546}, 0, { 0, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -358, 3662, -375}, 0, { 1292, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 2136, -792}, 0, { 642, -136}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 1751, -1195}, 0, { 0, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -554, 2139, -518}, 0, { 2698, -4}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -936, 1751, -654}, 0, { 3566, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 3660, -546}, 0, { 240, 320}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 3431, -733}, 0, { 0, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -358, 3662, -375}, 0, { 1564, 320}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -508, 3430, -487}, 0, { 1850, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x070099B8 - 0x07009AA8
|
||
|
static const Vtx castle_grounds_seg7_vertex_070099B8[] = {
|
||
|
{{{ 0, 3660, -546}, 0, { 1578, 320}, {0xc4, 0xc4, 0xd0, 0xff}}},
|
||
|
{{{ 359, 3662, -375}, 0, { 254, 320}, {0xc4, 0xc4, 0xd0, 0xff}}},
|
||
|
{{{ 0, 3431, -733}, 0, { 1850, 990}, {0xc4, 0xc4, 0xd0, 0xff}}},
|
||
|
{{{ 509, 3430, -487}, 0, { 0, 990}, {0xc4, 0xc4, 0xd0, 0xff}}},
|
||
|
{{{ 0, 4741, -96}, 0, { 978, -2344}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -358, 3662, -375}, 0, { 0, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -348, 3669, 156}, 0, { 1738, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -561, 2150, 244}, 0, { 2906, -438}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -936, 1751, -654}, 0, { -82, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -944, 1751, 384}, 0, { 3374, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -554, 2139, -518}, 0, { 368, -448}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 2136, -792}, 0, { 2892, -348}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 555, 2139, -518}, 0, { 836, -242}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 1751, -1195}, 0, { 3566, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 937, 1751, -654}, 0, { 0, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009AA8 - 0x07009B98
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009AA8[] = {
|
||
|
{{{ -348, 3669, 156}, 0, { 2114, 328}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -358, 3662, -375}, 0, { 344, 366}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -507, 3431, 227}, 0, { 2344, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -508, 3430, -487}, 0, { 0, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -561, 2150, 244}, 0, { 468, -426}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -944, 1751, 384}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -306, 2154, 551}, 0, { 1798, -392}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -465, 1751, 926}, 0, { 2374, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -348, 3669, 156}, 0, { 124, 306}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -507, 3431, 227}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -201, 3672, 340}, 0, { 908, 318}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -281, 3431, 503}, 0, { 1156, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 0, 4741, -96}, 0, { 26, -2430}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -348, 3669, 156}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -201, 3672, 340}, 0, { 752, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009B98 - 0x07009BC8
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009B98[] = {
|
||
|
{{{ 0, 4741, -96}, 0, { 612, -2434}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 359, 3662, -375}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 0, 3660, -546}, 0, { 1292, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009BC8 - 0x07009CB8
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009BC8[] = {
|
||
|
{{{ -936, 1751, -654}, 0, { 2012, -7748}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 1751, -1195}, 0, { -3380, -7748}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 0, -1195}, 0, { -3380, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 937, 0, -654}, 0, { 480, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 1751, -1195}, 0, { 5876, -7748}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 937, 1751, -654}, 0, { 480, -7748}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 0, -1195}, 0, { 5876, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 555, 2139, -518}, 0, { 0, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 2136, -792}, 0, { 3056, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 509, 3430, -487}, 0, { 64, -5458}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 0, 3431, -733}, 0, { 2888, -5480}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 945, 1751, 384}, 0, { 3576, -7748}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 466, 1751, 926}, 0, { 0, -7748}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 945, 0, 384}, 0, { 3576, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 466, 0, 926}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009CB8 - 0x07009DA8
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009CB8[] = {
|
||
|
{{{ 508, 3431, 227}, 0, { 1788, -5406}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 307, 2154, 551}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 562, 2150, 244}, 0, { 1964, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 282, 3431, 503}, 0, { 8, -5388}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -508, 3430, -487}, 0, { 2448, -5458}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 3431, -733}, 0, { -368, -5480}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -554, 2139, -518}, 0, { 2544, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -936, 1751, -654}, 0, { 2012, -7748}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 0, -1195}, 0, { -3380, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -936, 0, -654}, 0, { 2012, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ 0, 2136, -792}, 0, { -540, 990}, {0x91, 0x91, 0xa5, 0xff}}},
|
||
|
{{{ -944, 1751, 384}, 0, { 2012, -7748}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -936, 0, -654}, 0, { -3172, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -944, 0, 384}, 0, { 2012, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -936, 1751, -654}, 0, { -3172, -7748}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009DA8 - 0x07009E98
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009DA8[] = {
|
||
|
{{{ -508, 3430, -487}, 0, { 720, -5454}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -554, 2139, -518}, 0, { 480, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -507, 3431, 227}, 0, { 4284, -5410}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ -561, 2150, 244}, 0, { 4284, 990}, {0xad, 0xad, 0xbc, 0xff}}},
|
||
|
{{{ 509, 3430, -487}, 0, { 3536, -5454}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 508, 3431, 227}, 0, { 0, -5410}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 555, 2139, -518}, 0, { 3772, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 937, 1751, -654}, 0, { 4644, -7748}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 945, 0, 384}, 0, { -540, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 937, 0, -654}, 0, { 4644, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 945, 1751, 384}, 0, { -540, -7748}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -944, 0, 384}, 0, { -1592, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -465, 0, 926}, 0, { 2012, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -944, 1751, 384}, 0, { -1592, -7748}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -465, 1751, 926}, 0, { 2012, -7748}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009E98 - 0x07009F88
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009E98[] = {
|
||
|
{{{ -507, 3431, 227}, 0, { 144, -5406}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -561, 2150, 244}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -306, 2154, 551}, 0, { 1964, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ -281, 3431, 503}, 0, { 1924, -5388}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 508, 3431, 227}, 0, { 0, -5410}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 562, 2150, 244}, 0, { 0, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 555, 2139, -518}, 0, { 3772, 990}, {0xe5, 0xe5, 0xea, 0xff}}},
|
||
|
{{{ 466, 1751, 926}, 0, { 2012, -7748}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -465, 0, 926}, 0, { -2632, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 466, 0, 926}, 0, { 2012, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -465, 1751, 926}, 0, { -2632, -7748}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 282, 3431, 503}, 0, { 2908, -5388}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -306, 2154, 551}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ 307, 2154, 551}, 0, { 3032, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
{{{ -281, 3431, 503}, 0, { 92, -5388}, {0xff, 0xff, 0xff, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009F88 - 0x07009FD8
|
||
|
static const Vtx castle_grounds_seg7_vertex_07009F88[] = {
|
||
|
{{{ 26, 4639, -96}, 0, { 0, 0}, {0x32, 0x32, 0x32, 0xff}}},
|
||
|
{{{ 0, 5253, -96}, 0, { 0, 0}, {0x32, 0x32, 0x32, 0xff}}},
|
||
|
{{{ 0, 4639, -76}, 0, { 0, 0}, {0x32, 0x32, 0x32, 0xff}}},
|
||
|
{{{ 0, 4639, -117}, 0, { 0, 0}, {0x32, 0x32, 0x32, 0xff}}},
|
||
|
{{{ -25, 4639, -96}, 0, { 0, 0}, {0x32, 0x32, 0x32, 0xff}}},
|
||
|
};
|
||
|
|
||
|
// 0x07009FD8 - 0x0700A140
|
||
|
static const Gfx castle_grounds_seg7_dl_07009FD8[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09007800),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_070096F8, 16, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP2Triangles(13, 12, 14, 0x0, 2, 1, 15, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_070097F8, 14, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
|
||
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_070098D8, 14, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 6, 7, 8, 0x0, 8, 7, 9, 0x0),
|
||
|
gsSP2Triangles(10, 11, 12, 0x0, 12, 11, 13, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_070099B8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles(10, 8, 7, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(12, 14, 13, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009AA8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 6, 5, 7, 0x0),
|
||
|
gsSP2Triangles( 8, 9, 10, 0x0, 10, 9, 11, 0x0),
|
||
|
gsSP1Triangle(12, 13, 14, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009B98, 3, 0),
|
||
|
gsSP1Triangle( 0, 1, 2, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x0700A140 - 0x0700A260
|
||
|
static const Gfx castle_grounds_seg7_dl_0700A140[] = {
|
||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09001000),
|
||
|
gsDPLoadSync(),
|
||
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009BC8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
||
|
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 8, 10, 9, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(13, 12, 14, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009CB8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles( 5, 10, 6, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(14, 12, 11, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009DA8, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles(10, 8, 7, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(13, 12, 14, 0x0),
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009E98, 15, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
||
|
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
|
||
|
gsSP2Triangles(10, 8, 7, 0x0, 11, 12, 13, 0x0),
|
||
|
gsSP1Triangle(14, 12, 11, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x0700A260 - 0x0700A290
|
||
|
static const Gfx castle_grounds_seg7_dl_0700A260[] = {
|
||
|
gsSPVertex(castle_grounds_seg7_vertex_07009F88, 5, 0),
|
||
|
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
|
||
|
gsSP2Triangles( 1, 4, 2, 0x0, 4, 1, 3, 0x0),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|
||
|
|
||
|
// 0x0700A290 - 0x0700A328
|
||
|
const Gfx castle_grounds_seg7_dl_0700A290[] = {
|
||
|
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(castle_grounds_seg7_dl_07009FD8),
|
||
|
gsDPTileSync(),
|
||
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
|
||
|
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
|
||
|
gsSPDisplayList(castle_grounds_seg7_dl_0700A140),
|
||
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||
|
gsDPPipeSync(),
|
||
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||
|
gsSPDisplayList(castle_grounds_seg7_dl_0700A260),
|
||
|
gsSPSetGeometryMode(G_LIGHTING),
|
||
|
gsSPEndDisplayList(),
|
||
|
};
|