sm64ex-coop/levels/castle_grounds/areas/1/5/model.inc.c

208 lines
13 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x0700A8D0 - 0x0700A9C0
static const Vtx castle_grounds_seg7_vertex_0700A8D0[] = {
{{{ -4998, 316, 603}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5397, 265, 1006}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4993, 281, 1006}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4857, 316, 3006}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5259, 380, 3413}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4855, 330, 3415}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5260, 366, 3004}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6012, 435, 3247}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6417, 458, 3248}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6414, 499, 3655}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6009, 476, 3654}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6303, 260, 1201}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6705, 260, 1608}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6300, 260, 1607}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6708, 260, 1202}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700A9C0 - 0x0700AAB0
static const Vtx castle_grounds_seg7_vertex_0700A9C0[] = {
{{{ -6070, 452, -2345}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6473, 427, -2347}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6468, 386, -1945}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4998, 316, 603}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5402, 299, 602}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5397, 265, 1006}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4507, 367, 226}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4906, 317, 629}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4502, 333, 630}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -4911, 351, 226}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5311, 382, -850}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5715, 367, -850}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5711, 351, -446}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5307, 365, -446}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6064, 411, -1944}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AAB0 - 0x0700ABA0
static const Vtx castle_grounds_seg7_vertex_0700AAB0[] = {
{{{ -2355, 535, 2446}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2757, 382, 2818}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2358, 439, 2832}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5396, 437, -2835}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5797, 465, -2834}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5793, 454, -2430}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5392, 426, -2431}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5751, 536, -3646}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6152, 543, -3647}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6149, 497, -3247}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5747, 490, -3245}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1700, 463, 2673}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2113, 381, 3062}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1704, 368, 3059}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2109, 476, 2676}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700ABA0 - 0x0700AC90
static const Vtx castle_grounds_seg7_vertex_0700ABA0[] = {
{{{ 35, 716, 2812}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -290, 551, 2805}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -283, 537, 3214}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2355, 535, 2446}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2753, 478, 2432}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2757, 382, 2818}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1118, 755, 1671}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1524, 672, 2067}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1115, 690, 2070}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1527, 737, 1668}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1805, 653, 1265}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2220, 615, 1656}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1822, 692, 1653}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2203, 577, 1268}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 43, 701, 3221}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AC90 - 0x0700AD80
static const Vtx castle_grounds_seg7_vertex_0700AC90[] = {
{{{ 2115, 312, 950}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1723, 265, 1363}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2078, 112, 1291}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1612, 100, 3077}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1333, 325, 3494}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1605, 92, 3486}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1340, 333, 3085}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 935, 415, 2391}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 574, 558, 2423}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 594, 621, 2820}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 955, 478, 2787}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1315, 318, 1775}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 937, 415, 2191}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1307, 293, 2183}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 945, 439, 1783}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AD80 - 0x0700AE70
static const Vtx castle_grounds_seg7_vertex_0700AD80[] = {
{{{ 5978, 431, -1320}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5570, 413, -910}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5977, 448, -911}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2115, 312, 950}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1763, 465, 1020}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1723, 265, 1363}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3364, 277, 273}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2993, 377, 310}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2954, 179, 654}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3327, 80, 614}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6369, 323, 3}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5984, 112, 334}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6383, 172, 360}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5970, 263, -22}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5572, 396, -1319}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AE70 - 0x0700AF60
static const Vtx castle_grounds_seg7_vertex_0700AE70[] = {
{{{ 6064, 734, -4652}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5661, 681, -4649}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5665, 661, -4246}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6604, 528, -1890}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6204, 461, -1480}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6605, 526, -1481}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6202, 463, -1888}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6154, 580, -3051}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5751, 532, -3047}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5759, 474, -2647}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6163, 522, -2651}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5664, 584, -3471}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5260, 536, -3467}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5268, 478, -3066}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5672, 526, -3070}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AF60 - 0x0700AFD0
static const Vtx castle_grounds_seg7_vertex_0700AF60[] = {
{{{ 6597, 947, -5509}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6217, 790, -5117}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6610, 882, -5114}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6064, 734, -4652}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 5665, 661, -4246}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6068, 714, -4250}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6203, 855, -5512}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AFD0 - 0x0700B1D0
static const Gfx castle_grounds_seg7_dl_0700AFD0[] = {
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, outside_0900BC00),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(castle_grounds_seg7_vertex_0700A8D0, 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(castle_grounds_seg7_vertex_0700A9C0, 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(castle_grounds_seg7_vertex_0700AAB0, 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(castle_grounds_seg7_vertex_0700ABA0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSP1Triangle( 0, 2, 14, 0x0),
gsSPVertex(castle_grounds_seg7_vertex_0700AC90, 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(castle_grounds_seg7_vertex_0700AD80, 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(castle_grounds_seg7_vertex_0700AE70, 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(castle_grounds_seg7_vertex_0700AF60, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 6, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x0700B1D0 - 0x0700B240
const Gfx castle_grounds_seg7_dl_0700B1D0[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsSPClearGeometryMode(G_LIGHTING),
gsDPSetTile(G_IM_FMT_IA, 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_IA, 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(castle_grounds_seg7_dl_0700AFD0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};