sm64coopdx/levels/ccm/areas/1/10/1.inc.c

252 lines
13 KiB
C

// 0x0700FD88 - 0x0700FDA0
static const Lights1 ccm_seg7_lights_0700FD88 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700FDA0 - 0x0700FDB8
static const Lights1 ccm_seg7_lights_0700FDA0 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0x99, 0x99, 0x99, 0x28, 0x28, 0x28
);
// 0x0700FDB8 - 0x0700FDD0
static const Lights1 ccm_seg7_lights_0700FDB8 = gdSPDefLights1(
0x5d, 0x5d, 0x5d,
0xbb, 0xbb, 0xbb, 0x28, 0x28, 0x28
);
// 0x0700FDD0 - 0x0700FE10
static const Vtx ccm_seg7_vertex_0700FDD0[] = {
{{{ -817, -1817, -724}, 0, { 5504, 480}, {0xc0, 0x2a, 0x9c, 0xff}}},
{{{ 1892, -2092, -145}, 0, { 0, 990}, {0x1a, 0x00, 0x84, 0xff}}},
{{{ -817, -2073, -724}, 0, { 5500, 990}, {0xbb, 0x00, 0x96, 0xff}}},
{{{ 1892, -1836, -145}, 0, { -28, 480}, {0xdf, 0x57, 0xaa, 0xff}}},
};
// 0x0700FE10 - 0x0700FEF0
static const Vtx ccm_seg7_vertex_0700FE10[] = {
{{{ -2046, -1278, 1129}, 0, { 7946, 990}, {0x44, 0x21, 0x9b, 0xff}}},
{{{ -2046, 1230, 1129}, 0, { 8644, -3968}, {0x34, 0x00, 0x8d, 0xff}}},
{{{ -710, 1029, 1072}, 0, { 5944, -3946}, {0xfb, 0x00, 0x82, 0xff}}},
{{{ -817, -1817, -724}, 0, { 1916, 492}, {0xc0, 0x2a, 0x9c, 0xff}}},
{{{ -988, -2065, 76}, 0, { 286, 996}, {0xb3, 0x00, 0x9c, 0xff}}},
{{{ -988, -1809, 76}, 0, { 282, 488}, {0xe7, 0x1b, 0x87, 0xff}}},
{{{ -817, -2073, -724}, 0, { 1920, 1000}, {0xbb, 0x00, 0x96, 0xff}}},
{{{ -67, -876, 1044}, 0, { 4142, -358}, {0xf9, 0x9e, 0xb1, 0xff}}},
{{{ 962, -1117, 1000}, 0, { 2036, -168}, {0x15, 0xda, 0x89, 0xff}}},
{{{ -513, -1534, 1063}, 0, { 4840, 1066}, {0x09, 0x48, 0x99, 0xff}}},
{{{ -1471, -894, 1105}, 0, { 6914, 70}, {0xf2, 0xff, 0x82, 0xff}}},
{{{ 962, -93, 1000}, 0, { 2322, -2192}, {0x04, 0x34, 0x8d, 0xff}}},
{{{ 1275, 410, 986}, 0, { 1844, -3274}, {0xbc, 0xed, 0x98, 0xff}}},
{{{ 1275, 1741, 987}, 0, { 2214, -5906}, {0xa5, 0x00, 0xa9, 0xff}}},
};
// 0x0700FEF0 - 0x0700FF70
static const Vtx ccm_seg7_vertex_0700FEF0[] = {
{{{ 1906, -556, 959}, 0, { 324, -1540}, {0xac, 0xe0, 0xa7, 0xff}}},
{{{ 962, -93, 1000}, 0, { 2322, -2192}, {0x04, 0x34, 0x8d, 0xff}}},
{{{ 1275, 410, 986}, 0, { 1844, -3274}, {0xbc, 0xed, 0x98, 0xff}}},
{{{ 962, -1117, 1000}, 0, { 2036, -168}, {0x15, 0xda, 0x89, 0xff}}},
{{{ 1906, -1836, 959}, 0, { 0, 990}, {0xbb, 0x49, 0xb4, 0xff}}},
{{{ -513, -1534, 1063}, 0, { 4840, 1066}, {0x09, 0x48, 0x99, 0xff}}},
{{{ -2046, -1278, 1129}, 0, { 7946, 990}, {0x44, 0x21, 0x9b, 0xff}}},
{{{ -1471, -894, 1105}, 0, { 6914, 70}, {0xf2, 0xff, 0x82, 0xff}}},
};
// 0x0700FF70 - 0x0700FFB0
static const Vtx ccm_seg7_vertex_0700FF70[] = {
{{{ 156, 540, 1036}, 0, { 724, -58}, {0xb1, 0x5b, 0x27, 0xff}}},
{{{ 633, 498, 922}, 0, { -226, 168}, {0x7d, 0x11, 0xf4, 0xff}}},
{{{ 546, 528, 84}, 0, { -50, 1838}, {0x2e, 0x0b, 0x8b, 0xff}}},
{{{ -183, 540, 294}, 0, { 1404, 1420}, {0xa5, 0x4d, 0xd5, 0xff}}},
};
// 0x0700FFB0 - 0x07010070
static const Vtx ccm_seg7_vertex_0700FFB0[] = {
{{{ 962, -93, 1000}, 0, { -5384, -2838}, {0x04, 0x34, 0x8d, 0xff}}},
{{{ -1457, -890, 550}, 0, { -552, -1940}, {0xa9, 0x1c, 0xa9, 0xff}}},
{{{ -1471, -894, 1105}, 0, { -524, -3048}, {0xf2, 0xff, 0x82, 0xff}}},
{{{ -988, -1809, 76}, 0, { 3012, 1856}, {0xe7, 0x1b, 0x87, 0xff}}},
{{{ 1892, -1836, -145}, 0, { -2738, 2298}, {0xdf, 0x57, 0xaa, 0xff}}},
{{{ -817, -1817, -724}, 0, { 2670, 3454}, {0xc0, 0x2a, 0x9c, 0xff}}},
{{{ 1906, -1836, 959}, 0, { -2766, 94}, {0xbb, 0x49, 0xb4, 0xff}}},
{{{ -988, -1554, 76}, 0, { 3012, 1856}, {0x10, 0x64, 0xb5, 0xff}}},
{{{ -513, -1534, 1063}, 0, { 2062, -114}, {0x09, 0x48, 0x99, 0xff}}},
{{{ -2047, -1279, 0}, 0, { 5124, 2006}, {0x3c, 0x4a, 0xad, 0xff}}},
{{{ -2046, -1278, 1129}, 0, { 5124, -246}, {0x44, 0x21, 0x9b, 0xff}}},
{{{ 703, -108, -178}, 0, { -4864, -484}, {0x27, 0x2d, 0x90, 0xff}}},
};
// 0x07010070 - 0x07010160
static const Vtx ccm_seg7_vertex_07010070[] = {
{{{ 1275, 410, -1125}, 0, { -3320, -6720}, {0x87, 0xdd, 0x00, 0xff}}},
{{{ 1892, -556, -145}, 0, { 0, -3204}, {0x84, 0xe9, 0x01, 0xff}}},
{{{ 1906, -556, 959}, 0, { 3644, -3204}, {0xac, 0xe0, 0xa7, 0xff}}},
{{{ 1275, 410, 986}, 0, { 3708, -6736}, {0xbc, 0xed, 0x98, 0xff}}},
{{{ -2046, -1278, 1129}, 0, { 0, 990}, {0x44, 0x21, 0x9b, 0xff}}},
{{{ -2047, -1279, 0}, 0, { 3724, 990}, {0x3c, 0x4a, 0xad, 0xff}}},
{{{ -2047, -767, 0}, 0, { 3724, -714}, {0x7e, 0x00, 0x00, 0xff}}},
{{{ -2046, 1230, 1129}, 0, { -36, -7356}, {0x34, 0x00, 0x8d, 0xff}}},
{{{ -180, 307, 292}, 0, { -2814, 7196}, {0x91, 0xc6, 0xf1, 0xff}}},
{{{ 546, 528, 84}, 0, { -3508, 9614}, {0x2e, 0x0b, 0x8b, 0xff}}},
{{{ 156, 307, 1035}, 0, { -342, 8320}, {0xed, 0x84, 0x0e, 0xff}}},
{{{ 633, 498, 922}, 0, { -720, 9906}, {0x7d, 0x11, 0xf4, 0xff}}},
{{{ -1457, -890, 550}, 0, { -1956, 2948}, {0xa9, 0x1c, 0xa9, 0xff}}},
{{{ -122, -664, -23}, 0, { -3866, 7390}, {0xf6, 0x9f, 0xaf, 0xff}}},
{{{ -67, -876, 1044}, 0, { -312, 7572}, {0xf9, 0x9e, 0xb1, 0xff}}},
};
// 0x07010160 - 0x070101A0
static const Vtx ccm_seg7_vertex_07010160[] = {
{{{ 703, -108, -178}, 0, { -4384, 10136}, {0x27, 0x2d, 0x90, 0xff}}},
{{{ 962, -1117, 1000}, 0, { -460, 11000}, {0x15, 0xda, 0x89, 0xff}}},
{{{ -122, -664, -23}, 0, { -3866, 7390}, {0xf6, 0x9f, 0xaf, 0xff}}},
{{{ -67, -876, 1044}, 0, { -312, 7572}, {0xf9, 0x9e, 0xb1, 0xff}}},
};
// 0x070101A0 - 0x07010280
static const Vtx ccm_seg7_vertex_070101A0[] = {
{{{ 1892, -556, -145}, 0, { 0, -3204}, {0x84, 0xe9, 0x01, 0xff}}},
{{{ 1892, -1836, -145}, 0, { 0, 990}, {0xdf, 0x57, 0xaa, 0xff}}},
{{{ 1906, -1836, 959}, 0, { 3644, 990}, {0xbb, 0x49, 0xb4, 0xff}}},
{{{ 1906, -556, 959}, 0, { 3644, -3204}, {0xac, 0xe0, 0xa7, 0xff}}},
{{{ 1280, 1997, -869}, 0, { -2468, -11920}, {0x82, 0x00, 0x00, 0xff}}},
{{{ 1275, 410, -1125}, 0, { -3320, -6720}, {0x87, 0xdd, 0x00, 0xff}}},
{{{ 1275, 1741, 987}, 0, { 3708, -11098}, {0xa5, 0x00, 0xa9, 0xff}}},
{{{ 1275, 410, 986}, 0, { 3708, -6736}, {0xbc, 0xed, 0x98, 0xff}}},
{{{ 703, -108, -178}, 0, { 5204, 990}, {0x27, 0x2d, 0x90, 0xff}}},
{{{ 962, -93, 1000}, 0, { 2152, -1624}, {0x04, 0x34, 0x8d, 0xff}}},
{{{ 962, -1117, 1000}, 0, { 0, 990}, {0x15, 0xda, 0x89, 0xff}}},
{{{ 546, 528, 84}, 0, { -2558, 990}, {0x2e, 0x0b, 0x8b, 0xff}}},
{{{ -180, 307, 292}, 0, { -54, 1762}, {0x91, 0xc6, 0xf1, 0xff}}},
{{{ -183, 540, 294}, 0, { 0, 990}, {0xa5, 0x4d, 0xd5, 0xff}}},
};
// 0x07010280 - 0x07010320
static const Vtx ccm_seg7_vertex_07010280[] = {
{{{ -183, 540, 294}, 0, { 0, 216}, {0xa5, 0x4d, 0xd5, 0xff}}},
{{{ -180, 307, 292}, 0, { 0, 990}, {0x91, 0xc6, 0xf1, 0xff}}},
{{{ 156, 540, 1036}, 0, { 2684, 216}, {0xb1, 0x5b, 0x27, 0xff}}},
{{{ 156, 307, 1035}, 0, { 2684, 990}, {0xed, 0x84, 0x0e, 0xff}}},
{{{ -67, -876, 1044}, 0, { -312, 7572}, {0xf9, 0x9e, 0xb1, 0xff}}},
{{{ -1471, -894, 1105}, 0, { -112, 2904}, {0xf2, 0xff, 0x82, 0xff}}},
{{{ -1457, -890, 550}, 0, { -1956, 2948}, {0xa9, 0x1c, 0xa9, 0xff}}},
{{{ -122, -664, -23}, 0, { -4832, 1926}, {0xf6, 0x9f, 0xaf, 0xff}}},
{{{ -1457, -890, 550}, 0, { 0, 990}, {0xa9, 0x1c, 0xa9, 0xff}}},
{{{ 703, -108, -178}, 0, { -8050, 990}, {0x27, 0x2d, 0x90, 0xff}}},
};
// 0x07010320 - 0x07010390
static const Vtx ccm_seg7_vertex_07010320[] = {
{{{ -988, -1809, 76}, 0, { -6786, -432}, {0xe7, 0x1b, 0x87, 0xff}}},
{{{ -988, -1554, 76}, 0, { -6786, -670}, {0x10, 0x64, 0xb5, 0xff}}},
{{{ 1892, -1836, -145}, 0, { -6370, -1418}, {0xdf, 0x57, 0xaa, 0xff}}},
{{{ -988, -2065, 76}, 0, { -6786, -194}, {0xb3, 0x00, 0x9c, 0xff}}},
{{{ -1930, -1804, 30}, 0, { -7036, -116}, {0x06, 0xff, 0x82, 0xff}}},
{{{ -1930, -2060, 28}, 0, { -7038, 122}, {0x06, 0x00, 0x82, 0xff}}},
{{{ -2047, -1279, 0}, 0, { -7090, -568}, {0x3c, 0x4a, 0xad, 0xff}}},
};
// 0x07010390 - 0x07010480
static const Gfx ccm_seg7_dl_07010390[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09003000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ccm_seg7_lights_0700FD88.l, 1),
gsSPLight(&ccm_seg7_lights_0700FD88.a, 2),
gsSPVertex(ccm_seg7_vertex_0700FDD0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPLight(&ccm_seg7_lights_0700FDA0.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDA0.a, 2),
gsSPVertex(ccm_seg7_vertex_0700FE10, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 10, 2, 0x0),
gsSP2Triangles( 2, 10, 0, 0x0, 12, 2, 13, 0x0),
gsSP2Triangles(13, 2, 1, 0x0, 12, 11, 2, 0x0),
gsSPLight(&ccm_seg7_lights_0700FDB8.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDB8.a, 2),
gsSPVertex(ccm_seg7_vertex_0700FEF0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 4, 3, 0x0, 3, 1, 0, 0x0),
gsSP1Triangle( 5, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x07010480 - 0x07010518
static const Gfx ccm_seg7_dl_07010480[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09006000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ccm_seg7_lights_0700FDA0.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDA0.a, 2),
gsSPVertex(ccm_seg7_vertex_0700FF70, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSPLight(&ccm_seg7_lights_0700FDB8.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDB8.a, 2),
gsSPVertex(ccm_seg7_vertex_0700FFB0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 4, 7, 0x0),
gsSP2Triangles( 8, 7, 9, 0x0, 10, 8, 9, 0x0),
gsSP1Triangle( 0, 11, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x07010518 - 0x07010610
static const Gfx ccm_seg7_dl_07010518[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09002000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ccm_seg7_lights_0700FDA0.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDA0.a, 2),
gsSPVertex(ccm_seg7_vertex_07010070, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 6, 7, 4, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 9, 11, 10, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(ccm_seg7_vertex_07010160, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSPLight(&ccm_seg7_lights_0700FDB8.l, 1),
gsSPLight(&ccm_seg7_lights_0700FDB8.a, 2),
gsSPVertex(ccm_seg7_vertex_070101A0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(ccm_seg7_vertex_07010280, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSPEndDisplayList(),
};
// 0x07010610 - 0x07010660
static const Gfx ccm_seg7_dl_07010610[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09002800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(ccm_seg7_vertex_07010320, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 3, 5, 4, 0x0, 0, 4, 6, 0x0),
gsSP1Triangle( 1, 0, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x07010660 - 0x070106D8
const Gfx ccm_seg7_dl_07010660[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
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(ccm_seg7_dl_07010390),
gsSPDisplayList(ccm_seg7_dl_07010480),
gsSPDisplayList(ccm_seg7_dl_07010518),
gsSPDisplayList(ccm_seg7_dl_07010610),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};