mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-12 12:25:06 -05:00
123 lines
7.4 KiB
C
123 lines
7.4 KiB
C
// 0x07029078 - 0x07029168
|
|
static const Vtx inside_castle_seg7_vertex_07029078[] = {
|
|
{{{ -13, 614, -1037}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 0, 717, -1043}, 0, { 114, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -13, 717, -1037}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 0, 614, -1043}, 0, { 114, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 606, 717, -1043}, 0, { 6160, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 606, 614, -1043}, 0, { 6160, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 532, 307, -1023}, 0, { 9166, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 532, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 532, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 532, 205, -93}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 424, 205, 14}, 0, { -1052, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 424, 307, 14}, 0, { -1052, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 307, -1023}, 0, { 9166, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07029168 - 0x07029268
|
|
static const Vtx inside_castle_seg7_vertex_07029168[] = {
|
|
{{{ 171, 26, 268}, 0, { -2584, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 171, 128, 268}, 0, { -2584, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 424, 307, 14}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 424, 205, 14}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2471, 307, 14}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2218, 128, 268}, 0, { -2584, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2218, 26, 268}, 0, { -2586, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2471, 205, 14}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 307, -93}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2471, 307, 14}, 0, { -1052, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2471, 205, 14}, 0, { -1052, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 205, -93}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -269, 614, -781}, 0, { 8656, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -622, 614, -429}, 0, { 5078, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -622, 512, -429}, 0, { 5078, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2579, 205, -1023}, 0, { 9166, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07029268 - 0x07029348
|
|
static const Vtx inside_castle_seg7_vertex_07029268[] = {
|
|
{{{ 606, 614, -1043}, 0, { 6100, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 805, 717, -1242}, 0, { 8144, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 606, 717, -1043}, 0, { 6100, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 805, 614, -1242}, 0, { 8144, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -13, 717, -1037}, 0, { 3570, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -269, 512, -781}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -13, 614, -1037}, 0, { 3572, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -269, 614, -781}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -269, 614, -781}, 0, { 8656, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -622, 512, -429}, 0, { 5078, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -269, 512, -781}, 0, { 8656, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1424, 512, -429}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1228, 512, -429}, 0, { 1928, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1424, 614, -429}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07029348 - 0x07029438
|
|
static const Vtx inside_castle_seg7_vertex_07029348[] = {
|
|
{{{ -622, 614, -429}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -818, 512, -429}, 0, { -966, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -622, 512, -429}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -818, 614, -429}, 0, { -966, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1424, 614, -429}, 0, { -3096, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2039, 614, -1044}, 0, { -9228, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2039, 512, -1044}, 0, { -9228, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1424, 512, -429}, 0, { -3096, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2653, 512, -1043}, 0, {-15360, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2653, 614, -1043}, 0, {-15360, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2852, 512, -1242}, 0, {-17404, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -2852, 614, -1242}, 0, {-17404, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1228, 512, -429}, 0, { 1928, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1228, 614, -429}, 0, { 1928, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -1424, 614, -429}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x07029438 - 0x07029578
|
|
static const Gfx inside_castle_seg7_dl_07029438[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008800),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(inside_castle_seg7_vertex_07029078, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 3, 5, 0x0, 4, 1, 3, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 7, 9, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 8, 0x0, 10, 11, 8, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07029168, 16, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
|
|
gsSP2Triangles(12, 13, 14, 0x0, 8, 11, 15, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07029268, 14, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
|
|
gsSPVertex(inside_castle_seg7_vertex_07029348, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSP2Triangles( 5, 8, 6, 0x0, 5, 9, 8, 0x0),
|
|
gsSP2Triangles( 9, 10, 8, 0x0, 9, 11, 10, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x07029578 - 0x070295E8
|
|
const Gfx inside_castle_seg7_dl_07029578[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
|
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
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(inside_castle_seg7_dl_07029438),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|