sm64pc/levels/thi/areas/3/3/model.inc.c

177 lines
9.5 KiB
C

// 0x07009740 - 0x07009820
static const Vtx thi_seg7_vertex_07009740[] = {
{{{ -101, 3482, 102}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3482, -101}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3482, -101}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1024, 2253}, 0, { 922, 650}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1024, 2458}, 0, { 922, 650}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1229, 2458}, 0, { 922, 582}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1229, 2253}, 0, { 922, 582}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1229, 2458}, 0, { 1058, 582}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1024, 2458}, 0, { 1058, 650}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1229, 2253}, 0, { 1058, 582}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1024, 2253}, 0, { 1058, 650}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3277, -101}, 0, { 1398, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3277, 102}, 0, { 1398, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3482, 102}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x07009820 - 0x070098D0
static const Vtx thi_seg7_vertex_07009820[] = {
{{{ -101, 3277, 102}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3277, -101}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3277, -101}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3277, -101}, 0, { 1262, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3482, -101}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3277, -101}, 0, { 1398, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3482, -101}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3277, 102}, 0, { 1262, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3482, 102}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
{{{ -101, 3277, 102}, 0, { 1398, -100}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 102, 3277, 102}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x070098D0 - 0x070099C0
static const Vtx thi_seg7_vertex_070098D0[] = {
{{{ -101, 3072, 102}, 0, { 172, -2076}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3277, 102}, 0, { -234, -2280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3072, 102}, 0, { -234, -2076}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1024, 2048}, 0, { -1392, -1054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1229, 2253}, 0, { -1528, -1462}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1229, 2048}, 0, { -1392, -1462}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1024, 2253}, 0, { -1528, -1054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1229, 2048}, 0, { -1392, 2214}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1229, 2253}, 0, { -1528, 1806}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1229, 2048}, 0, { -1392, 1806}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1229, 2253}, 0, { -1528, 2214}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1024, 2048}, 0, { -1392, 1806}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1024, 2253}, 0, { -1528, 1806}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1024, 2253}, 0, { -1528, 2214}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 614, 1024, 2048}, 0, { -1392, 2214}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x070099C0 - 0x07009AB0
static const Vtx thi_seg7_vertex_070099C0[] = {
{{{ 102, 3072, 102}, 0, { 172, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3277, 102}, 0, { 172, 4258}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3277, -101}, 0, { -234, 4258}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3072, 102}, 0, { 172, -2076}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3277, 102}, 0, { 172, -2280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3277, 102}, 0, { -234, -2280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3072, -101}, 0, { -234, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3277, -101}, 0, { -234, 4258}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3277, 102}, 0, { 172, 4258}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3072, 102}, 0, { 172, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3072, -101}, 0, { -234, -2076}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3277, -101}, 0, { -234, -2280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3277, -101}, 0, { 172, -2280}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -101, 3072, -101}, 0, { 172, -2076}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 102, 3072, -101}, 0, { -234, 4054}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07009AB0 - 0x07009AF0
static const Vtx thi_seg7_vertex_07009AB0[] = {
{{{ 410, 1229, 2048}, 0, { -1392, -1462}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1024, 2253}, 0, { -1528, -1054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1024, 2048}, 0, { -1392, -1054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 410, 1229, 2253}, 0, { -1528, -1462}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07009AF0 - 0x07009B30
static const Vtx thi_seg7_vertex_07009AF0[] = {
{{{ 410, 1024, 2253}, 0, { 2012, 12230}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1024, 2458}, 0, { 2012, 13252}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1024, 2458}, 0, { 3034, 13252}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1024, 2253}, 0, { 3034, 12230}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x07009B30 - 0x07009B70
static const Vtx thi_seg7_vertex_07009B30[] = {
{{{ 614, 1024, 2253}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1024, 2253}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 410, 1229, 2253}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
{{{ 614, 1229, 2253}, 0, { 0, 0}, {0x00, 0x00, 0x00, 0xff}}},
};
// 0x07009B70 - 0x07009C40
static const Gfx thi_seg7_dl_07009B70[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_0900B800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(thi_seg7_vertex_07009740, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 4, 8, 7, 0x0, 6, 5, 7, 0x0),
gsSP2Triangles( 6, 7, 9, 0x0, 9, 7, 8, 0x0),
gsSP2Triangles( 9, 8, 10, 0x0, 11, 0, 12, 0x0),
gsSP2Triangles(12, 0, 13, 0x0, 11, 1, 0, 0x0),
gsSP1Triangle( 0, 2, 13, 0x0),
gsSPVertex(thi_seg7_vertex_07009820, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 6, 0x0),
gsSP2Triangles( 7, 6, 3, 0x0, 9, 8, 7, 0x0),
gsSP1Triangle( 0, 2, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x07009C40 - 0x07009CF8
static const Gfx thi_seg7_dl_07009C40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, thi_seg7_texture_07000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(thi_seg7_vertex_070098D0, 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, 13, 14, 0x0),
gsSPVertex(thi_seg7_vertex_070099C0, 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(thi_seg7_vertex_07009AB0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x07009CF8 - 0x07009D30
static const Gfx thi_seg7_dl_07009CF8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09005800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(thi_seg7_vertex_07009AF0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07009D30 - 0x07009D50
static const Gfx thi_seg7_dl_07009D30[] = {
gsSPVertex(thi_seg7_vertex_07009B30, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x07009D50 - 0x07009DF0
const Gfx thi_seg7_dl_07009D50[] = {
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_CLAMP, 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(thi_seg7_dl_07009B70),
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(thi_seg7_dl_07009C40),
gsSPDisplayList(thi_seg7_dl_07009CF8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(thi_seg7_dl_07009D30),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};