sm64coopdx/levels/castle_courtyard/areas/1/2/model.inc.c

137 lines
8.2 KiB
C

// 0x07005110 - 0x07005200
static const Vtx castle_courtyard_seg7_vertex_07005110[] = {
{{{ -921, 20, -3526}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -716, 20, -3526}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -716, 20, -3731}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -923, 20, 303}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -718, 20, 98}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -923, 20, 98}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -718, 20, 303}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 716, 20, 305}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 920, 20, 100}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 716, 20, 100}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 920, 20, 305}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 716, 20, -3525}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 921, 20, -3730}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 716, 20, -3730}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 921, 20, -3525}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07005200 - 0x070052F0
static const Vtx castle_courtyard_seg7_vertex_07005200[] = {
{{{ 2662, -204, -1417}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2867, -204, -1417}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2867, -204, -1621}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -921, 20, -3526}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -716, 20, -3731}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -921, 20, -3731}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1573, -204, -25}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1778, -204, -25}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1778, -204, -229}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1573, -204, -229}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2275, -204, -736}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2480, -204, -736}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2480, -204, -940}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2275, -204, -940}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2662, -204, -1621}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070052F0 - 0x070053E0
static const Vtx castle_courtyard_seg7_vertex_070052F0[] = {
{{{ -1966, -204, 52}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1761, -204, -152}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1966, -204, -152}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2164, -204, -1325}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2369, -204, -1530}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2164, -204, -1530}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2369, -204, -1325}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2336, -204, -2222}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2541, -204, -2427}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2336, -204, -2427}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2541, -204, -2222}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1944, -204, -2934}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2149, -204, -3139}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1944, -204, -3139}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 2149, -204, -2934}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070053E0 - 0x070054D0
static const Vtx castle_courtyard_seg7_vertex_070053E0[] = {
{{{ -2920, -204, -1217}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2715, -204, -1217}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2715, -204, -1422}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1966, -204, 52}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1761, -204, 52}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1761, -204, -152}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2635, -204, -661}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2430, -204, -866}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2635, -204, -866}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2430, -204, -661}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2547, -204, -1685}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2342, -204, -1685}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2342, -204, -1890}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2547, -204, -1890}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2920, -204, -1422}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070054D0 - 0x07005550
static const Vtx castle_courtyard_seg7_vertex_070054D0[] = {
{{{ -2822, -204, -2076}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2617, -204, -2281}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2822, -204, -2281}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -2617, -204, -2076}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1742, -204, -3126}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1538, -204, -3330}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1742, -204, -3330}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -1538, -204, -3126}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07005550 - 0x07005698
static const Gfx castle_courtyard_seg7_dl_07005550[] = {
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_courtyard_seg7_vertex_07005110, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_07005200, 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, 12, 13, 0x0),
gsSP1Triangle( 0, 2, 14, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_070052F0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(castle_courtyard_seg7_vertex_070053E0, 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_courtyard_seg7_vertex_070054D0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x07005698 - 0x07005708
const Gfx castle_courtyard_seg7_dl_07005698[] = {
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_courtyard_seg7_dl_07005550),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};