sm64coopdx/levels/bob/areas/1/3/model.inc.c

142 lines
8.4 KiB
C

// 0x07009E98 - 0x07009F88
static const Vtx bob_seg7_vertex_07009E98[] = {
{{{ -3890, 768, 2867}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 2867}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 3277}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 4485, 963, 3846}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 3930, 891, 3698}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 4132, 941, 4051}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 4284, 912, 3493}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 3165, 768, 5778}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 2657, 768, 6056}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 3050, 768, 6171}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 2772, 768, 5663}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4001, 0, 4882}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4153, 0, 4501}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4534, 0, 4653}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4382, 0, 5034}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
};
// 0x07009F88 - 0x0700A078
static const Vtx bob_seg7_vertex_07009F88[] = {
{{{ -5761, 1024, -4942}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5822, 1024, -4366}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5504, 1024, -4624}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3890, 768, 2867}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 3277}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3890, 768, 3277}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4914, 768, 1843}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5324, 768, 2253}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4914, 768, 2253}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5324, 768, 1843}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5729, 891, 5972}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5160, 835, 6061}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5494, 804, 6296}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5395, 922, 5737}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6080, 1024, -4685}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
};
// 0x0700A078 - 0x0700A168
static const Vtx bob_seg7_vertex_0700A078[] = {
{{{ -3890, 768, 1331}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 1331}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 1741}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5857, 821, -6563}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6199, 861, -6786}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6403, 979, -6450}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6061, 939, -6228}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6677, 1024, -5127}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -7065, 1024, -4993}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6931, 1024, -4606}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6543, 1024, -4740}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 6261, 2213, -7837}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5856, 2251, -7882}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 5804, 2175, -7483}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 6210, 2137, -7438}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
};
// 0x0700A168 - 0x0700A258
static const Vtx bob_seg7_vertex_0700A168[] = {
{{{ -5967, 1024, -635}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6377, 1024, -635}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6377, 1024, -225}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3890, 768, 1331}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -4300, 768, 1741}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3890, 768, 1741}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6450, 768, 3379}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6860, 768, 3379}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6860, 768, 3789}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -6450, 768, 3789}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3378, 768, 2355}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3788, 768, 2765}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3378, 768, 2765}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -3788, 768, 2355}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -5967, 1024, -225}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
};
// 0x0700A258 - 0x0700A318
static const Vtx bob_seg7_vertex_0700A258[] = {
{{{ 7040, 1998, -5748}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 6559, 2018, -5426}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 6960, 1988, -5347}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 6639, 2028, -5827}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 4301, 3072, 1434}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 3891, 3072, 1434}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 3891, 3072, 1843}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ 4301, 3072, 1843}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -1497, 39, 4825}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -1797, 163, 5074}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -1220, 125, 5114}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xb4}}},
{{{ -1520, 250, 5364}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xb4}}},
};
// 0x0700A318 - 0x0700A470
static const Gfx bob_seg7_dl_0700A318[] = {
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, generic_0900B000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(bob_seg7_vertex_07009E98, 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(bob_seg7_vertex_07009F88, 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, 14, 1, 0x0),
gsSPVertex(bob_seg7_vertex_0700A078, 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, 13, 14, 0x0),
gsSPVertex(bob_seg7_vertex_0700A168, 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, 2, 14, 0x0),
gsSPVertex(bob_seg7_vertex_0700A258, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
gsSPEndDisplayList(),
};
// 0x0700A470 - 0x0700A4E0
const Gfx bob_seg7_dl_0700A470[] = {
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(bob_seg7_dl_0700A318),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};