sm64coopdx/levels/ttm/areas/1/19/model.inc.c

189 lines
9.7 KiB
C
Raw Normal View History

2019-12-02 02:52:53 +00:00
// 0x07010AD8 - 0x07010AF0
static const Lights1 ttm_seg7_lights_07010AD8 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0x99, 0x99, 0x99, 0x28, 0x28, 0x28
);
2019-11-03 19:36:27 +00:00
2019-12-02 02:52:53 +00:00
// 0x07010AF0 - 0x07010B08
static const Lights1 ttm_seg7_lights_07010AF0 = gdSPDefLights1(
0x5d, 0x5d, 0x5d,
0xbb, 0xbb, 0xbb, 0x28, 0x28, 0x28
);
2019-11-03 19:36:27 +00:00
2019-12-02 02:52:53 +00:00
// 0x07010B08 - 0x07010B20
static const Lights1 ttm_seg7_lights_07010B08 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
2019-11-03 19:36:27 +00:00
// 0x07010B20 - 0x07010C10
static const Vtx ttm_seg7_vertex_07010B20[] = {
{{{ -406, -306, 375}, 0, { 2336, -3000}, {0xd7, 0x8e, 0xde, 0xff}}},
{{{ -205, -306, 137}, 0, { 1666, -2210}, {0xd7, 0x8e, 0xde, 0xff}}},
{{{ -81, -409, 330}, 0, { 1254, -2852}, {0xd7, 0x8e, 0xde, 0xff}}},
{{{ -81, -409, 330}, 0, { 1254, -2852}, {0xe3, 0x8f, 0x31, 0xff}}},
{{{ -186, -306, 506}, 0, { 1604, -3436}, {0xe3, 0x8f, 0x31, 0xff}}},
{{{ -406, -306, 375}, 0, { 2336, -3000}, {0xe3, 0x8f, 0x31, 0xff}}},
{{{ -81, 205, 330}, 0, { 924, -3514}, {0xc4, 0x97, 0xdc, 0xff}}},
{{{ -188, 410, -90}, 0, { 1278, -2114}, {0xc4, 0x97, 0xdc, 0xff}}},
{{{ 180, 205, -109}, 0, { 50, -2052}, {0xc4, 0x97, 0xdc, 0xff}}},
{{{ 161, 410, -477}, 0, { 112, -824}, {0xc6, 0x9d, 0xcc, 0xff}}},
{{{ 180, 205, -109}, 0, { 50, -2052}, {0xc6, 0x9d, 0xcc, 0xff}}},
{{{ -188, 410, -90}, 0, { 1278, -2114}, {0xc6, 0x9d, 0xcc, 0xff}}},
{{{ 180, 205, -109}, 0, { 50, -2052}, {0xf1, 0x92, 0xc4, 0xff}}},
{{{ 161, 410, -477}, 0, { 112, -824}, {0xf1, 0x92, 0xc4, 0xff}}},
{{{ 442, 410, -549}, 0, { -820, -588}, {0xf1, 0x92, 0xc4, 0xff}}},
};
// 0x07010C10 - 0x07010C40
static const Vtx ttm_seg7_vertex_07010C10[] = {
{{{ 337, -204, -373}, 0, { 0, -1872}, {0x06, 0xac, 0xa2, 0xff}}},
{{{ 223, -204, -381}, 0, { 308, -1736}, {0x06, 0xac, 0xa2, 0xff}}},
{{{ 390, -101, -461}, 0, { 0, -2348}, {0x06, 0xac, 0xa2, 0xff}}},
};
// 0x07010C40 - 0x07010D30
static const Vtx ttm_seg7_vertex_07010C40[] = {
{{{ 223, -204, -381}, 0, { 1194, -4802}, {0xbe, 0xe5, 0x98, 0xff}}},
{{{ 56, -101, -302}, 0, { 1774, -5142}, {0xbe, 0xe5, 0x98, 0xff}}},
{{{ 249, -101, -425}, 0, { 1028, -5142}, {0xbe, 0xe5, 0x98, 0xff}}},
{{{ 223, -204, -381}, 0, { 308, -1736}, {0xe3, 0xd6, 0x8c, 0xff}}},
{{{ 249, -101, -425}, 0, { 308, -2076}, {0xe3, 0xd6, 0x8c, 0xff}}},
{{{ 390, -101, -461}, 0, { 0, -2348}, {0xe3, 0xd6, 0x8c, 0xff}}},
{{{ -29, -306, 242}, 0, { 0, 990}, {0x2d, 0xa7, 0xb3, 0xff}}},
{{{ -117, -306, 190}, 0, { 308, 990}, {0x2d, 0xa7, 0xb3, 0xff}}},
{{{ 127, 0, -21}, 0, { 0, -428}, {0x2d, 0xa7, 0xb3, 0xff}}},
{{{ -117, -306, 190}, 0, { 308, 990}, {0x07, 0xb4, 0x9b, 0xff}}},
{{{ -100, 0, -38}, 0, { 650, -238}, {0x07, 0xb4, 0x9b, 0xff}}},
{{{ 127, 0, -21}, 0, { 0, -428}, {0x07, 0xb4, 0x9b, 0xff}}},
{{{ -81, -409, 330}, 0, { 1254, -2852}, {0x2e, 0xa7, 0xb3, 0xff}}},
{{{ -205, -306, 137}, 0, { 1666, -2210}, {0x2e, 0xa7, 0xb3, 0xff}}},
{{{ -29, -306, 242}, 0, { 1080, -2558}, {0x2e, 0xa7, 0xb3, 0xff}}},
};
// 0x07010D30 - 0x07010D60
static const Vtx ttm_seg7_vertex_07010D30[] = {
{{{ -100, 0, -38}, 0, { 2762, -5482}, {0x82, 0x00, 0xf7, 0xff}}},
{{{ -117, -306, 190}, 0, { 3334, -4460}, {0x82, 0x00, 0xf7, 0xff}}},
{{{ -117, 0, 190}, 0, { 3334, -5482}, {0x82, 0x00, 0xf7, 0xff}}},
};
// 0x07010D60 - 0x07010DA0
static const Vtx ttm_seg7_vertex_07010D60[] = {
{{{ -29, 0, 242}, 0, { 650, 3032}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -117, -306, 190}, 0, { 308, 4054}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -29, -306, 242}, 0, { 650, 4054}, {0xc0, 0x00, 0x6d, 0xff}}},
{{{ -117, 0, 190}, 0, { 308, 3032}, {0xc0, 0x00, 0x6d, 0xff}}},
};
// 0x07010DA0 - 0x07010E00
static const Vtx ttm_seg7_vertex_07010DA0[] = {
{{{ 180, -101, -109}, 0, { 1962, -17424}, {0xfd, 0x8a, 0x2c, 0xff}}},
{{{ 223, -204, -381}, 0, { 2048, -17966}, {0xfd, 0x8a, 0x2c, 0xff}}},
{{{ 337, -204, -373}, 0, { 2276, -17950}, {0xfd, 0x8a, 0x2c, 0xff}}},
{{{ 180, -101, -109}, 0, { 1962, -17424}, {0xcc, 0x92, 0x21, 0xff}}},
{{{ 56, -101, -302}, 0, { 1716, -17808}, {0xcc, 0x92, 0x21, 0xff}}},
{{{ 223, -204, -381}, 0, { 2048, -17966}, {0xcc, 0x92, 0x21, 0xff}}},
};
// 0x07010E00 - 0x07010F00
static const Vtx ttm_seg7_vertex_07010E00[] = {
{{{ 127, 0, -21}, 0, { 1858, -17248}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -117, 0, 190}, 0, { 1368, -16826}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -29, 0, 242}, 0, { 1544, -16722}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -406, -306, 375}, 0, { 792, -16456}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -186, -306, 506}, 0, { 1230, -16194}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -205, -306, 137}, 0, { 1192, -16930}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 161, 410, -477}, 0, { 1926, -18160}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -188, 410, -90}, 0, { 1226, -17386}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 23, 410, 154}, 0, { 1648, -16896}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -188, 410, -90}, 0, { 1226, -17386}, {0xbb, 0x57, 0x3c, 0xff}}},
{{{ -81, 205, 330}, 0, { 1440, -16546}, {0xbb, 0x57, 0x3c, 0xff}}},
{{{ 23, 410, 154}, 0, { 1648, -16896}, {0xbb, 0x57, 0x3c, 0xff}}},
{{{ 442, 410, -549}, 0, { 2486, -18302}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 390, -101, -461}, 0, { 2382, -18126}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 249, -101, -425}, 0, { 2102, -18054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 56, -101, -302}, 0, { 1716, -17808}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07010F00 - 0x07010F90
static const Vtx ttm_seg7_vertex_07010F00[] = {
{{{ 390, -101, -461}, 0, { 2382, -18126}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 56, -101, -302}, 0, { 1716, -17808}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 180, -101, -109}, 0, { 1962, -17424}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 127, 0, -21}, 0, { 1858, -17248}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -100, 0, -38}, 0, { 1402, -17282}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -117, 0, 190}, 0, { 1368, -16826}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -29, -306, 242}, 0, { 1544, -16722}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -205, -306, 137}, 0, { 1192, -16930}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ -186, -306, 506}, 0, { 1230, -16194}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07010F90 - 0x07011078
static const Gfx ttm_seg7_dl_07010F90[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
2019-12-02 02:52:53 +00:00
gsSPLight(&ttm_seg7_lights_07010AD8.l, 1),
gsSPLight(&ttm_seg7_lights_07010AD8.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(ttm_seg7_vertex_07010B20, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(ttm_seg7_vertex_07010C10, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
2019-12-02 02:52:53 +00:00
gsSPLight(&ttm_seg7_lights_07010AF0.l, 1),
gsSPLight(&ttm_seg7_lights_07010AF0.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(ttm_seg7_vertex_07010C40, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(ttm_seg7_vertex_07010D30, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
2019-12-02 02:52:53 +00:00
gsSPLight(&ttm_seg7_lights_07010B08.l, 1),
gsSPLight(&ttm_seg7_lights_07010B08.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(ttm_seg7_vertex_07010D60, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x07011078 - 0x07011128
static const Gfx ttm_seg7_dl_07011078[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
2019-12-02 02:52:53 +00:00
gsSPLight(&ttm_seg7_lights_07010AD8.l, 1),
gsSPLight(&ttm_seg7_lights_07010AD8.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(ttm_seg7_vertex_07010DA0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
2019-12-02 02:52:53 +00:00
gsSPLight(&ttm_seg7_lights_07010B08.l, 1),
gsSPLight(&ttm_seg7_lights_07010B08.a, 2),
2019-11-03 19:36:27 +00:00
gsSPVertex(ttm_seg7_vertex_07010E00, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles(12, 6, 8, 0x0, 13, 14, 15, 0x0),
gsSPVertex(ttm_seg7_vertex_07010F00, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
gsSPEndDisplayList(),
};
// 0x07011128 - 0x070111A0
const Gfx ttm_seg7_dl_07011128[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
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(ttm_seg7_dl_07010F90),
gsSPDisplayList(ttm_seg7_dl_07011078),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};