sm64ex-coop/levels/castle_courtyard/areas/1/spire/model.inc.c

173 lines
10 KiB
C

// 0x070049E8 - 0x07004AC8
static const Vtx castle_courtyard_seg7_vertex_070049E8[] = {
{{{ 0, 4741, -96}, 0, { 632, -2850}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 3660, -546}, 0, { 0, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -358, 3662, -375}, 0, { 1292, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 2136, -792}, 0, { 638, -734}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 1751, -1195}, 0, { 0, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -554, 2139, -518}, 0, { 2694, -662}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -936, 1751, -654}, 0, { 3566, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 3660, -546}, 0, { 238, 46}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 3431, -733}, 0, { 0, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -358, 3662, -375}, 0, { 1560, 44}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -508, 3430, -487}, 0, { 1850, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 4741, -96}, 0, { 628, -2850}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 359, 3662, -375}, 0, { 0, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 3660, -546}, 0, { 1292, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
};
// 0x07004AC8 - 0x07004BB8
static const Vtx castle_courtyard_seg7_vertex_07004AC8[] = {
{{{ 0, 2136, -792}, 0, { 2896, -738}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 555, 2139, -518}, 0, { 840, -658}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 1751, -1195}, 0, { 3566, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 937, 1751, -654}, 0, { 0, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 3660, -546}, 0, { 1580, 46}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 359, 3662, -375}, 0, { 256, 44}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 3431, -733}, 0, { 1850, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 509, 3430, -487}, 0, { 0, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 4741, -96}, 0, { 738, -2776}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 349, 3669, 156}, 0, { 0, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 359, 3662, -375}, 0, { 1738, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 555, 2139, -518}, 0, { 2982, -824}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 562, 2150, 244}, 0, { 446, -846}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 937, 1751, -654}, 0, { 3426, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 945, 1751, 384}, 0, { 0, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
};
// 0x07004BB8 - 0x07004CA8
static const Vtx castle_courtyard_seg7_vertex_07004BB8[] = {
{{{ 349, 3669, 156}, 0, { 202, 36}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 508, 3431, 227}, 0, { 0, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 359, 3662, -375}, 0, { 1972, 72}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 509, 3430, -487}, 0, { 2344, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 0, 4741, -96}, 0, { 968, -2776}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -358, 3662, -375}, 0, { 0, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -348, 3669, 156}, 0, { 1738, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -554, 2139, -518}, 0, { 412, -824}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -936, 1751, -654}, 0, { 0, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -561, 2150, 244}, 0, { 2948, -846}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -944, 1751, 384}, 0, { 3426, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -348, 3669, 156}, 0, { 2110, 36}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -358, 3662, -375}, 0, { 340, 72}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -507, 3431, 227}, 0, { 2344, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -508, 3430, -487}, 0, { 0, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
};
// 0x07004CA8 - 0x07004DA8
static const Vtx castle_courtyard_seg7_vertex_07004CA8[] = {
{{{ -936, 1751, -654}, 0, { 5364, -7748}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 1751, -1195}, 0, { 0, -7748}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 0, -1195}, 0, { 0, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 2136, -792}, 0, { 2036, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 3431, -733}, 0, { 1864, -5480}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 509, 3430, -487}, 0, { -952, -5458}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 555, 2139, -518}, 0, { -1052, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 937, 0, -654}, 0, { -3328, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 0, -1195}, 0, { 2012, 990}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 0, 1751, -1195}, 0, { 1612, -7748}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ 937, 1751, -654}, 0, { -3728, -7748}, {0xc3, 0xc3, 0xcd, 0xff}}},
{{{ -936, 0, -654}, 0, { 5364, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -508, 3430, -487}, 0, { 2960, -5458}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 3431, -733}, 0, { 136, -5480}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ -554, 2139, -518}, 0, { 3056, 990}, {0x72, 0x72, 0x8c, 0xff}}},
{{{ 0, 2136, -792}, 0, { 0, 990}, {0x72, 0x72, 0x8c, 0xff}}},
};
// 0x07004DA8 - 0x07004EA8
static const Vtx castle_courtyard_seg7_vertex_07004DA8[] = {
{{{ 945, 1751, 384}, 0, { -3096, -7748}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 945, 0, 384}, 0, { -3092, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 937, 1751, -654}, 0, { 2088, -7748}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 937, 0, -654}, 0, { 2088, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 509, 3430, -487}, 0, { 2000, -5454}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 508, 3431, 227}, 0, { -1560, -5410}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 555, 2139, -518}, 0, { 2240, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ 562, 2150, 244}, 0, { -1560, 990}, {0xdc, 0xdc, 0xe3, 0xff}}},
{{{ -936, 1751, -654}, 0, { -1052, -7748}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -936, 0, -654}, 0, { -1052, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -944, 1751, 384}, 0, { 4132, -7748}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -944, 0, 384}, 0, { 4132, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -508, 3430, -487}, 0, { 208, -5454}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -554, 2139, -518}, 0, { 0, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -507, 3431, 227}, 0, { 3772, -5410}, {0x9c, 0x9c, 0xae, 0xff}}},
{{{ -561, 2150, 244}, 0, { 3772, 990}, {0x9c, 0x9c, 0xae, 0xff}}},
};
// 0x07004EA8 - 0x07004ED8
static const Vtx castle_courtyard_seg7_vertex_07004EA8[] = {
{{{ -25, 4639, -96}, 0, { 0, 0}, {0x70, 0x70, 0x8a, 0xff}}},
{{{ 0, 5253, -96}, 0, { 0, 0}, {0x70, 0x70, 0x8a, 0xff}}},
{{{ 26, 4639, -96}, 0, { 0, 0}, {0x70, 0x70, 0x8a, 0xff}}},
};
// 0x07004ED8 - 0x07004FB0
static const Gfx castle_courtyard_seg7_dl_07004ED8[] = {
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_courtyard_seg7_vertex_070049E8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 9, 8, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_07004AC8, 15, 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),
gsSP1Triangle(12, 14, 13, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_07004BB8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 9, 8, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(12, 14, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x07004FB0 - 0x07005060
static const Gfx castle_courtyard_seg7_dl_07004FB0[] = {
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_courtyard_seg7_vertex_07004CA8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 0, 2, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 13, 15, 14, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_07004DA8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 10, 9, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 14, 13, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x07005060 - 0x07005078
static const Gfx castle_courtyard_seg7_dl_07005060[] = {
gsSPVertex(castle_courtyard_seg7_vertex_07004EA8, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
};
// 0x07005078 - 0x07005110
const Gfx castle_courtyard_seg7_dl_07005078[] = {
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_courtyard_seg7_dl_07004ED8),
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_courtyard_seg7_dl_07004FB0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(castle_courtyard_seg7_dl_07005060),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};