sm64ex-coop/levels/castle_inside/areas/2/pendulum/model.inc.c

209 lines
12 KiB
C
Raw Normal View History

2019-12-02 03:52:53 +01:00
// 0x07050A78 - 0x07050A90
static const Lights1 inside_castle_seg7_lights_07050A78 = gdSPDefLights1(
0x40, 0x2f, 0x1e,
0xac, 0x7f, 0x52, 0x28, 0x28, 0x28
);
2019-11-03 20:36:27 +01:00
2019-12-02 03:52:53 +01:00
// 0x07050A90 - 0x07050AA8
static const Lights1 inside_castle_seg7_lights_07050A90 = gdSPDefLights1(
0x40, 0x3a, 0x1e,
0xac, 0x9d, 0x52, 0x28, 0x28, 0x28
);
2019-11-03 20:36:27 +01:00
// 0x07050AA8 - 0x07050B68
static const Vtx inside_castle_seg7_vertex_07050AA8[] = {
{{{ -9, -183, -9}, 0, { 932, 2012}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -9, 10, 10}, 0, { 450, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -9, 10, -9}, 0, { 932, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -9, -183, 10}, 0, { 450, 2012}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -9, 10, -9}, 0, { 932, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 10, -183, -9}, 0, { 450, 2012}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -9, -183, -9}, 0, { 932, 2012}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 10, 10, -9}, 0, { 450, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 10, 10, -9}, 0, { 450, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 10, 10, 10}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 10, -183, 10}, 0, { 0, 2012}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 10, -183, -9}, 0, { 450, 2012}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x07050B68 - 0x07050C58
static const Vtx inside_castle_seg7_vertex_07050B68[] = {
{{{ -19, -286, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -40, -265, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -40, -224, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -19, -286, -50}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}},
{{{ 20, -286, -50}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}},
{{{ 31, -306, -30}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}},
{{{ 41, -265, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 20, -286, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -19, -204, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 41, -224, -50}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -30, -306, -30}, 0, { 0, 0}, {0x00, 0xa7, 0xa7, 0xff}}},
{{{ -19, -286, -50}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}},
{{{ -30, -306, -30}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}},
{{{ -60, -275, -30}, 0, { 0, 0}, {0xc3, 0xc5, 0xa3, 0xff}}},
};
// 0x07050C58 - 0x07050D58
static const Vtx inside_castle_seg7_vertex_07050C58[] = {
{{{ -40, -265, -50}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}},
{{{ -19, -286, -50}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}},
{{{ -60, -275, -30}, 0, { 0, 0}, {0xc3, 0xc3, 0xa4, 0xff}}},
{{{ -40, -224, -50}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -40, -265, -50}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -60, -275, -30}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -60, -214, -30}, 0, { 0, 0}, {0xa7, 0x00, 0xa7, 0xff}}},
{{{ -19, -204, -50}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}},
{{{ -40, -224, -50}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}},
{{{ -60, -214, -30}, 0, { 0, 0}, {0xc4, 0x3f, 0xa4, 0xff}}},
{{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ -19, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ -19, -204, -50}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}},
{{{ -60, -214, -30}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}},
{{{ -30, -183, -30}, 0, { 0, 0}, {0xc4, 0x3a, 0xa2, 0xff}}},
};
// 0x07050D58 - 0x07050E58
static const Vtx inside_castle_seg7_vertex_07050D58[] = {
{{{ 20, -286, -50}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}},
{{{ 41, -265, -50}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}},
{{{ 31, -306, -30}, 0, { 0, 0}, {0x3c, 0xc4, 0xa3, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ 31, -183, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ 61, -214, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ 20, -204, -50}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x00, 0x57, 0xa5, 0xff}}},
{{{ 41, -224, -50}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}},
{{{ 20, -204, -50}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x39, 0x3c, 0xa1, 0xff}}},
{{{ 61, -275, -30}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 41, -265, -50}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 41, -224, -50}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
{{{ 61, -214, -30}, 0, { 0, 0}, {0x59, 0x00, 0xa7, 0xff}}},
};
// 0x07050E58 - 0x07050F58
static const Vtx inside_castle_seg7_vertex_07050E58[] = {
{{{ 61, -214, -30}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}},
{{{ 41, -224, -50}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x3e, 0x3c, 0xa4, 0xff}}},
{{{ 41, -265, -50}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}},
{{{ 61, -275, -30}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}},
{{{ 31, -306, -30}, 0, { 0, 0}, {0x3e, 0xc4, 0xa4, 0xff}}},
{{{ -30, -183, -30}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 31, -183, 31}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 31, -183, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ 61, -214, 31}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ 61, -214, -30}, 0, { 0, 0}, {0x5b, 0x58, 0x00, 0xff}}},
{{{ -30, -306, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
{{{ -30, -306, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
{{{ -60, -275, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
{{{ -30, -183, 31}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0xff}}},
};
// 0x07050F58 - 0x07051048
static const Vtx inside_castle_seg7_vertex_07050F58[] = {
{{{ 61, -214, -30}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 61, -214, 31}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 61, -275, 31}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 61, -275, -30}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ -60, -214, 31}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}},
{{{ -30, -183, 31}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}},
{{{ -30, -183, -30}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}},
{{{ -60, -214, -30}, 0, { 0, 0}, {0xa5, 0x58, 0x00, 0xff}}},
{{{ -60, -275, -30}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -60, -275, 31}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -60, -214, 31}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -60, -214, -30}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0xff}}},
{{{ -30, -306, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
{{{ -60, -275, 31}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
{{{ -60, -275, -30}, 0, { 0, 0}, {0xa5, 0xa8, 0x00, 0xff}}},
};
// 0x07051048 - 0x07051108
static const Vtx inside_castle_seg7_vertex_07051048[] = {
{{{ 31, -306, -30}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -30, -306, 31}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -30, -306, -30}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ 31, -306, 31}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ 61, -275, -30}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}},
{{{ 31, -306, 31}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}},
{{{ 31, -306, -30}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}},
{{{ 61, -275, 31}, 0, { 0, 0}, {0x5b, 0xa8, 0x00, 0xff}}},
{{{ 10, -183, -9}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -9, -183, 10}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ -9, -183, -9}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
{{{ 10, -183, 10}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0xff}}},
};
// 0x07051108 - 0x07051170
static const Gfx inside_castle_seg7_dl_07051108[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
2019-12-02 03:52:53 +01:00
gsSPLight(&inside_castle_seg7_lights_07050A78.l, 1),
gsSPLight(&inside_castle_seg7_lights_07050A78.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(inside_castle_seg7_vertex_07050AA8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSPEndDisplayList(),
};
// 0x07051170 - 0x070512F8
static const Gfx inside_castle_seg7_dl_07051170[] = {
2019-12-02 03:52:53 +01:00
gsSPLight(&inside_castle_seg7_lights_07050A90.l, 1),
gsSPLight(&inside_castle_seg7_lights_07050A90.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(inside_castle_seg7_vertex_07050B68, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 6, 7, 0x0, 0, 2, 8, 0x0),
gsSP2Triangles( 0, 8, 9, 0x0, 0, 9, 10, 0x0),
gsSP2Triangles( 0, 10, 6, 0x0, 3, 5, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(inside_castle_seg7_vertex_07050C58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 13, 14, 15, 0x0),
gsSPVertex(inside_castle_seg7_vertex_07050D58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(inside_castle_seg7_vertex_07050E58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 6, 15, 7, 0x0),
gsSPVertex(inside_castle_seg7_vertex_07050F58, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(inside_castle_seg7_vertex_07051048, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSPEndDisplayList(),
};
// 0x070512F8 - 0x07051370
const Gfx inside_castle_seg7_dl_070512F8[] = {
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, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(inside_castle_seg7_dl_07051108),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPDisplayList(inside_castle_seg7_dl_07051170),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};