sm64coopdx/levels/pss/areas/1/2/model.inc.c

186 lines
10 KiB
C

// 0x0700A8B8 - 0x0700A978
static const Vtx pss_seg7_vertex_0700A8B8[] = {
{{{ -5128, -2129, 4118}, 0, { -6282, -1012}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -7586, -2129, 6525}, 0, { -9432, -2376}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -7586, -2129, 4118}, 0, { -8572, -134}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -5128, -2129, 6525}, 0, { -7142, -3254}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 6144, 7680, -4095}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 7680, -7167}, 0, { 2238, 3258}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 6144, 7680, -7167}, 0, { 2238, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 7680, -4095}, 0, { 0, 3258}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 6144, 6144, -7167}, 0, { -2880, 9970}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 6144, -4095}, 0, { -1254, 5950}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -4095}, 0, { -4078, 7146}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 6144, -7167}, 0, { -56, 8772}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700A978 - 0x0700AA78
static const Vtx pss_seg7_vertex_0700A978[] = {
{{{ 3226, 6144, -6245}, 0, { 8552, 1002}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 6144, -6245}, 0, { 8552, 1002}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 7035, -6245}, 0, { 8552, -2554}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3226, 7035, -6245}, 0, { 8552, -2554}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 7035, -5017}, 0, { 3648, -2554}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3226, 7035, -5017}, 0, { 3648, -2554}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3072, 6144, -5017}, 0, { 3648, 1002}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 3226, 6144, -5017}, 0, { 3648, 1002}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -5128, -2129, 4118}, 0, { 9780, -8822}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -6920, -3460, 4118}, 0, { 2626, -3506}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -5794, -3460, 4118}, 0, { 7122, -3506}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -5794, -4587, 4118}, 0, { 7122, 990}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -5128, -4587, 4118}, 0, { 9780, 990}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -7586, -2129, 4118}, 0, { 0, -8822}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -7586, -4587, 4118}, 0, { 0, 990}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ -6920, -4587, 4118}, 0, { 2626, 990}, {0xaa, 0xaa, 0xaa, 0xff}}},
};
// 0x0700AA78 - 0x0700AB68
static const Vtx pss_seg7_vertex_0700AA78[] = {
{{{ 3072, 6144, -6245}, 0, { 8552, 1002}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 6144, -7167}, 0, { 12232, 1002}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 7680, -7167}, 0, { 12232, -5128}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 7035, -6245}, 0, { 8552, -2554}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 7680, -4095}, 0, { 0, -5128}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 6144, -4095}, 0, { 0, 1002}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 7035, -5017}, 0, { 3648, -2554}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3072, 6144, -5017}, 0, { 3648, 1002}, {0xaa, 0xaa, 0xaa, 0xff}}},
{{{ 3226, 6656, -5119}, 0, { 4056, -1040}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6656, -6143}, 0, { 8144, -1040}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 7035, -6245}, 0, { 8552, -2554}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -4587, 4118}, 0, { 172, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -4587, 6525}, 0, { 9780, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -2129, 6525}, 0, { 9780, -8822}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -2129, 4118}, 0, { 172, -8822}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AB68 - 0x0700AC58
static const Vtx pss_seg7_vertex_0700AB68[] = {
{{{ -7586, -2129, 6525}, 0, { 0, -8822}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -4587, 4118}, 0, { 9574, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -2129, 4118}, 0, { 9574, -8822}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -4587, 6525}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6144, -6143}, 0, { 8144, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 7035, -6245}, 0, { 8552, -2554}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6656, -6143}, 0, { 8144, -1040}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6144, -6245}, 0, { 8552, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -4095}, 0, { 0, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 7680, -4095}, 0, { 12232, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 7680, -4095}, 0, { 0, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6144, -5017}, 0, { 3648, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6144, -5119}, 0, { 4056, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 7035, -5017}, 0, { 3648, -2554}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3226, 6656, -5119}, 0, { 4056, -1040}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AC58 - 0x0700AD48
static const Vtx pss_seg7_vertex_0700AC58[] = {
{{{ 6144, 7680, -7167}, 0, { 0, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -4095}, 0, { 12232, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 7680, -4095}, 0, { 12232, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -7167}, 0, { 0, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -4095}, 0, { 0, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 6144, -4095}, 0, { 12232, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 7680, -4095}, 0, { 12232, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 7680, -7167}, 0, { 12232, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 7680, -7167}, 0, { 0, -5128}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 3072, 6144, -7167}, 0, { 0, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 6144, 6144, -7167}, 0, { 12232, 1002}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -2129, 6525}, 0, { 9348, -8822}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -2129, 6525}, 0, { -460, -8822}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -4587, 6525}, 0, { -460, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -4587, 6525}, 0, { 9348, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700AD48 - 0x0700ADA8
static const Vtx pss_seg7_vertex_0700AD48[] = {
{{{ -7586, -4587, 6525}, 0, { 5078, -3950}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -4587, 6525}, 0, { -3096, -3950}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5794, -4587, 4118}, 0, { -882, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -5128, -4587, 4118}, 0, { -3096, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -6920, -4587, 4118}, 0, { 2864, 4054}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -7586, -4587, 4118}, 0, { 5078, 4054}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0700ADA8 - 0x0700AE00
static const Gfx pss_seg7_dl_0700ADA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_0900C000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(pss_seg7_vertex_0700A8B8, 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(),
};
// 0x0700AE00 - 0x0700AF60
static const Gfx pss_seg7_dl_0700AE00[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(pss_seg7_vertex_0700A978, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 3, 2, 0x0, 4, 5, 3, 0x0),
gsSP2Triangles( 6, 5, 4, 0x0, 6, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 12, 0x0),
gsSP2Triangles( 8, 13, 9, 0x0, 8, 10, 11, 0x0),
gsSP2Triangles( 9, 13, 14, 0x0, 9, 14, 15, 0x0),
gsSPVertex(pss_seg7_vertex_0700AA78, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 2, 4, 0x0, 5, 6, 4, 0x0),
gsSP2Triangles( 5, 7, 6, 0x0, 3, 4, 6, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(pss_seg7_vertex_0700AB68, 15, 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),
gsSP2Triangles(12, 14, 13, 0x0, 14, 5, 13, 0x0),
gsSPVertex(pss_seg7_vertex_0700AC58, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPEndDisplayList(),
};
// 0x0700AF60 - 0x0700AFA8
static const Gfx pss_seg7_dl_0700AF60[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(pss_seg7_vertex_0700AD48, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 5, 0, 4, 0x0),
gsSPEndDisplayList(),
};
// 0x0700AFA8 - 0x0700B070
const Gfx pss_seg7_dl_0700AFA8[] = {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_2CYCLE),
gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
gsDPSetDepthSource(G_ZS_PIXEL),
gsDPSetFogColor(0, 0, 0, 255),
gsSPFogPosition(980, 1000),
gsSPSetGeometryMode(G_FOG),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_PASS2),
gsSPClearGeometryMode(G_LIGHTING),
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(pss_seg7_dl_0700ADA8),
gsSPDisplayList(pss_seg7_dl_0700AE00),
gsSPDisplayList(pss_seg7_dl_0700AF60),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2),
gsSPClearGeometryMode(G_FOG),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};