sm64pc/levels/castle_inside/areas/2/7/model.inc.c
2019-11-03 14:36:27 -05:00

253 lines
13 KiB
C

// 0x0704A368 - 0x0704A3E8
static const Vtx inside_castle_seg7_vertex_0704A368[] = {
{{{ 2755, 1818, 394}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1971, 394}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1971, 701}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1818, 701}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1818, 701}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1971, 394}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1818, 394}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1971, 701}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A3E8 - 0x0704A468
static const Vtx inside_castle_seg7_vertex_0704A3E8[] = {
{{{ 5909, 1664, 701}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1818, 701}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1818, 394}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1664, 394}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1664, 394}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1818, 394}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1818, 701}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1664, 701}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A468 - 0x0704A4E8
static const Vtx inside_castle_seg7_vertex_0704A468[] = {
{{{ 3385, 1715, 3917}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3692, 1562, 3917}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3385, 1562, 3917}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3692, 1715, 3917}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5279, 1562, 3917}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 4972, 1715, 3917}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5279, 1715, 3917}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 4972, 1562, 3917}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A4E8 - 0x0704A568
static const Vtx inside_castle_seg7_vertex_0704A4E8[] = {
{{{ 3385, 1869, 3917}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3692, 1869, 3917}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3692, 1715, 3917}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 3385, 1715, 3917}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5279, 1715, 3917}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 4972, 1715, 3917}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 4972, 1869, 3917}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5279, 1869, 3917}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A568 - 0x0704A5E8
static const Vtx inside_castle_seg7_vertex_0704A568[] = {
{{{ 1731, 1613, 1674}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1766, 1674}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1766, 1981}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1613, 1981}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1613, 1981}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1766, 1674}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1613, 1674}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1766, 1981}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A5E8 - 0x0704A668
static const Vtx inside_castle_seg7_vertex_0704A5E8[] = {
{{{ 1731, 1766, 1674}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1920, 1674}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1920, 1981}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 1731, 1766, 1981}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1766, 1981}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1920, 1981}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1920, 1674}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 6933, 1766, 1674}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A668 - 0x0704A6E8
static const Vtx inside_castle_seg7_vertex_0704A668[] = {
{{{ 2755, 1715, 2903}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1920, 3312}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1715, 3312}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1920, 2903}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1715, 3312}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1920, 3312}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1920, 2903}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1715, 2903}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A6E8 - 0x0704A768
static const Vtx inside_castle_seg7_vertex_0704A6E8[] = {
{{{ 2755, 1510, 2903}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1715, 2903}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1715, 3312}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 2755, 1510, 3312}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1510, 3312}, 0, { 0, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1715, 2903}, 0, { 2012, 0}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1510, 2903}, 0, { 2012, 990}, {0x99, 0x99, 0x99, 0xff}}},
{{{ 5909, 1715, 3312}, 0, { 0, 0}, {0x99, 0x99, 0x99, 0xff}}},
};
// 0x0704A768 - 0x0704A7A8
static const Vtx inside_castle_seg7_vertex_0704A768[] = {
{{{ 5356, 1792, -260}, 0, { 0, 0}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 4895, 1792, -260}, 0, { 2012, 0}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 4895, 1562, -260}, 0, { 2012, 990}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 5356, 1562, -260}, 0, { 0, 990}, {0xdd, 0xdd, 0xdd, 0xff}}},
};
// 0x0704A7A8 - 0x0704A7E8
static const Vtx inside_castle_seg7_vertex_0704A7A8[] = {
{{{ 5356, 2022, -260}, 0, { 0, 0}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 4895, 2022, -260}, 0, { 2012, 0}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 4895, 1792, -260}, 0, { 2012, 990}, {0xdd, 0xdd, 0xdd, 0xff}}},
{{{ 5356, 1792, -260}, 0, { 0, 990}, {0xdd, 0xdd, 0xdd, 0xff}}},
};
// 0x0704A7E8 - 0x0704A830
static const Gfx inside_castle_seg7_dl_0704A7E8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700A800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A368, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A830 - 0x0704A878
static const Gfx inside_castle_seg7_dl_0704A830[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700B800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A3E8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A878 - 0x0704A8C0
static const Gfx inside_castle_seg7_dl_0704A878[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07011800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A468, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A8C0 - 0x0704A908
static const Gfx inside_castle_seg7_dl_0704A8C0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07010800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A4E8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A908 - 0x0704A950
static const Gfx inside_castle_seg7_dl_0704A908[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700F800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A568, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A950 - 0x0704A998
static const Gfx inside_castle_seg7_dl_0704A950[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700E800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A5E8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A998 - 0x0704A9E0
static const Gfx inside_castle_seg7_dl_0704A998[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_07019800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A668, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x0704A9E0 - 0x0704AA28
static const Gfx inside_castle_seg7_dl_0704A9E0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0701A800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A6E8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0704AA28 - 0x0704AA60
static const Gfx inside_castle_seg7_dl_0704AA28[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700D800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A768, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0704AA60 - 0x0704AA98
static const Gfx inside_castle_seg7_dl_0704AA60[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_castle_seg7_texture_0700C800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(inside_castle_seg7_vertex_0704A7A8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0704AA98 - 0x0704AB80
const Gfx inside_castle_seg7_dl_0704AA98[] = {
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, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(inside_castle_seg7_dl_0704A7E8),
gsSPDisplayList(inside_castle_seg7_dl_0704A830),
gsSPDisplayList(inside_castle_seg7_dl_0704A878),
gsSPDisplayList(inside_castle_seg7_dl_0704A8C0),
gsSPDisplayList(inside_castle_seg7_dl_0704A908),
gsSPDisplayList(inside_castle_seg7_dl_0704A950),
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(inside_castle_seg7_dl_0704A998),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(inside_castle_seg7_dl_0704A9E0),
gsSPDisplayList(inside_castle_seg7_dl_0704AA28),
gsSPDisplayList(inside_castle_seg7_dl_0704AA60),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};