sm64coopdx/levels/castle_grounds/areas/1/9/model.inc.c

173 lines
8.8 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x0700BCD8 - 0x0700BCE0
2019-12-02 03:52:53 +01:00
static const Lights1 castle_grounds_seg7_lights_0700BCD8 = gdSPDefLights1(
0x3d, 0x3d, 0x44,
0x99, 0x99, 0xac, 0x28, 0x28, 0x28
);
// 0x0700BCF0 - 0x0700BD08
static const Lights1 castle_grounds_seg7_lights_0700BCF0 = gdSPDefLights1(
0x58, 0x58, 0x5a,
0xdc, 0xdc, 0xe3, 0x28, 0x28, 0x28
);
// 0x0700BD08 - 0x0700BD20
static const Lights1 castle_grounds_seg7_lights_0700BD08 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700BD20 - 0x0700BD38
static const Lights1 castle_grounds_seg7_lights_0700BD20 = gdSPDefLights1(
0x4e, 0x4e, 0x53,
0xc4, 0xc4, 0xd0, 0x28, 0x28, 0x28
);
// 0x0700BD38 - 0x0700BD50
static const Lights1 castle_grounds_seg7_lights_0700BD38 = gdSPDefLights1(
0x45, 0x45, 0x4b,
0xad, 0xad, 0xbc, 0x28, 0x28, 0x28
);
2019-11-03 20:36:27 +01:00
// 0x0700BD50 - 0x0700BE10
static const Vtx castle_grounds_seg7_vertex_0700BD50[] = {
{{{ 2283, -422, 2072}, 0, { 6, 1824}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2485, -422, 2072}, 0, { 206, 2104}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2485, -422, 1849}, 0, { 300, 1608}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2283, -422, 1849}, 0, { 100, 1324}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2485, 89, 2072}, 0, { 0, 1996}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 2283, -422, 2072}, 0, { 432, 648}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 2283, 89, 2072}, 0, { 0, 648}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 2485, -422, 2072}, 0, { 432, 1996}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 2485, 89, 1849}, 0, { 0, 2012}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 2485, -422, 2072}, 0, { 820, 536}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 2485, 89, 2072}, 0, { 0, 536}, {0x81, 0x00, 0x00, 0xff}}},
{{{ 2485, -422, 1849}, 0, { 820, 2012}, {0x81, 0x00, 0x00, 0xff}}},
};
// 0x0700BE10 - 0x0700BE90
static const Vtx castle_grounds_seg7_vertex_0700BE10[] = {
{{{ 2283, 89, 1849}, 0, { 0, 1996}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 2485, -422, 1849}, 0, { 536, 648}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 2485, 89, 1849}, 0, { 0, 648}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 2283, -422, 1849}, 0, { 536, 1996}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 2283, 89, 2072}, 0, { 0, 2012}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 2283, -422, 1849}, 0, { 332, -232}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 2283, 89, 1849}, 0, { 0, -204}, {0x7f, 0x00, 0x00, 0xff}}},
{{{ 2283, -422, 2072}, 0, { 332, 1984}, {0x7f, 0x00, 0x00, 0xff}}},
};
// 0x0700BE90 - 0x0700BF50
static const Vtx castle_grounds_seg7_vertex_0700BE90[] = {
{{{ 2640, 89, 2223}, 0, { 2012, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2485, 89, 2072}, 0, { 1404, -440}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2283, 89, 2072}, 0, { 1400, 368}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2485, 89, 1849}, 0, { 516, -446}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2637, 89, 1711}, 0, { 0, -1054}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2128, 89, 2226}, 0, { 2012, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2283, 89, 1849}, 0, { 512, 360}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2125, 89, 1714}, 0, { 0, 990}, {0x00, 0x7f, 0x00, 0xff}}},
{{{ 2708, -10, 1639}, 0, { 4588, 582}, {0x66, 0x4a, 0x00, 0xff}}},
{{{ 2637, 89, 1711}, 0, { 4136, 0}, {0x66, 0x4a, 0x00, 0xff}}},
{{{ 2757, -72, 2338}, 0, { 108, 964}, {0x66, 0x4a, 0x00, 0xff}}},
{{{ 2640, 89, 2223}, 0, { 856, 0}, {0x66, 0x4a, 0x00, 0xff}}},
};
// 0x0700BF50 - 0x0700BFB0
static const Vtx castle_grounds_seg7_vertex_0700BF50[] = {
{{{ 2102, 58, 1692}, 0, { 3524, 158}, {0x00, 0x49, 0x99, 0xff}}},
{{{ 2125, 89, 1714}, 0, { 3376, 0}, {0x00, 0x49, 0x99, 0xff}}},
{{{ 2637, 89, 1711}, 0, { 0, 0}, {0x00, 0x49, 0x99, 0xff}}},
{{{ 2102, 58, 1692}, 0, { 3524, 158}, {0x00, 0x4a, 0x9a, 0xff}}},
{{{ 2637, 89, 1711}, 0, { 0, 0}, {0x00, 0x4a, 0x9a, 0xff}}},
{{{ 2708, -10, 1639}, 0, { -504, 582}, {0x00, 0x4a, 0x9a, 0xff}}},
};
// 0x0700BFB0 - 0x0700C010
static const Vtx castle_grounds_seg7_vertex_0700BFB0[] = {
{{{ 2076, 15, 2280}, 0, { 3540, 424}, {0x9a, 0x4b, 0x00, 0xff}}},
{{{ 2125, 89, 1714}, 0, { -88, 0}, {0x9a, 0x4b, 0x00, 0xff}}},
{{{ 2102, 58, 1692}, 0, { -232, 158}, {0x9a, 0x4b, 0x00, 0xff}}},
{{{ 2076, 15, 2280}, 0, { 3540, 424}, {0x99, 0x49, 0x00, 0xff}}},
{{{ 2128, 89, 2226}, 0, { 3200, 0}, {0x99, 0x49, 0x00, 0xff}}},
{{{ 2125, 89, 1714}, 0, { -88, 0}, {0x99, 0x49, 0x00, 0xff}}},
};
// 0x0700C010 - 0x0700C070
static const Vtx castle_grounds_seg7_vertex_0700C010[] = {
{{{ 2757, -72, 2338}, 0, { 2752, 964}, {0x00, 0x4a, 0x67, 0xff}}},
{{{ 2640, 89, 2223}, 0, { 2012, 0}, {0x00, 0x4a, 0x67, 0xff}}},
{{{ 2128, 89, 2226}, 0, { -1240, -30}, {0x00, 0x4a, 0x67, 0xff}}},
{{{ 2757, -72, 2338}, 0, { 2752, 964}, {0x00, 0x4a, 0x66, 0xff}}},
{{{ 2128, 89, 2226}, 0, { -1240, -30}, {0x00, 0x4a, 0x66, 0xff}}},
{{{ 2076, 15, 2280}, 0, { -1576, 424}, {0x00, 0x4a, 0x66, 0xff}}},
};
// 0x0700C070 - 0x0700C110
static const Gfx castle_grounds_seg7_dl_0700C070[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09004800),
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(&castle_grounds_seg7_lights_0700BCD8.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BCD8.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700BD50, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
2019-12-02 03:52:53 +01:00
gsSPLight(&castle_grounds_seg7_lights_0700BCF0.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BCF0.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700BE10, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0700C110 - 0x0700C210
static const Gfx castle_grounds_seg7_dl_0700C110[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09001000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
2019-12-02 03:52:53 +01:00
gsSPLight(&castle_grounds_seg7_lights_0700BD08.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BD08.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700BE90, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 0, 4, 3, 0x0, 0, 2, 5, 0x0),
gsSP2Triangles( 6, 4, 7, 0x0, 6, 3, 4, 0x0),
gsSP2Triangles( 2, 6, 7, 0x0, 5, 2, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
2019-12-02 03:52:53 +01:00
gsSPLight(&castle_grounds_seg7_lights_0700BD20.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BD20.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700BF50, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
2019-12-02 03:52:53 +01:00
gsSPLight(&castle_grounds_seg7_lights_0700BD38.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BD38.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700BFB0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
2019-12-02 03:52:53 +01:00
gsSPLight(&castle_grounds_seg7_lights_0700BCF0.l, 1),
gsSPLight(&castle_grounds_seg7_lights_0700BCF0.a, 2),
2019-11-03 20:36:27 +01:00
gsSPVertex(castle_grounds_seg7_vertex_0700C010, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
};
// 0x0700C210 - 0x0700C2A0
const Gfx castle_grounds_seg7_dl_0700C210[] = {
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_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(castle_grounds_seg7_dl_0700C070),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(castle_grounds_seg7_dl_0700C110),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};