sm64coopdx/levels/rr/areas/1/21/model.inc.c

146 lines
8.5 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x07018C18 - 0x07018D18
static const Vtx rr_seg7_vertex_07018C18[] = {
{{{ -1381, 256, -1228}, 0, { 3546, 0}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -1996, 256, -153}, 0, { 0, 990}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -1381, 256, -153}, 0, { 0, 0}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -1996, 256, -1228}, 0, { 3546, 990}, {0xce, 0xaf, 0x16, 0xff}}},
{{{ -806, -972, 485}, 0, { 990, 990}, {0x4c, 0x6a, 0x35, 0xff}}},
{{{ -806, -972, 792}, 0, { 990, 0}, {0x4c, 0x6a, 0x35, 0xff}}},
{{{ -89, -972, 792}, 0, { -1392, 0}, {0x4c, 0x6a, 0x35, 0xff}}},
{{{ -499, -972, 485}, 0, { 0, 990}, {0x4c, 0x6a, 0x35, 0xff}}},
{{{ -767, -153, 307}, 0, { 3546, 0}, {0xdf, 0xbf, 0x1f, 0xff}}},
{{{ -239, -153, 1427}, 0, { 0, 990}, {0xdf, 0xbf, 0x1f, 0xff}}},
{{{ 113, -153, 924}, 0, { 0, 0}, {0xdf, 0xbf, 0x1f, 0xff}}},
{{{ -1119, -153, 810}, 0, { 3546, 990}, {0xdf, 0xbf, 0x1f, 0xff}}},
{{{ -499, -972, 485}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -89, -972, 792}, 0, { -1392, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1855, -972, 792}, 0, { -7866, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 1855, -972, 485}, 0, { -7866, 990}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x07018D18 - 0x07018E18
static const Vtx rr_seg7_vertex_07018D18[] = {
{{{ -239, -255, 1427}, 0, { 224, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1119, -153, 810}, 0, { 0, -3098}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1119, -255, 810}, 0, { 224, -3098}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -239, -153, 1427}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -767, -255, 307}, 0, { 224, -3098}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 113, -153, 924}, 0, { 0, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 113, -255, 924}, 0, { 224, 990}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -767, -153, 307}, 0, { 0, -3098}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ -1381, 154, -1228}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1381, 256, -1228}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1381, 256, -153}, 0, { 0, 3670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1381, 154, -153}, 0, { 224, 3670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1996, 154, -153}, 0, { 224, 3670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1996, 256, -153}, 0, { 0, 3670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1996, 256, -1228}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1996, 154, -1228}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07018E18 - 0x07018F08
static const Vtx rr_seg7_vertex_07018E18[] = {
{{{ -1381, 154, -153}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1996, 256, -153}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1996, 154, -153}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1381, 256, -153}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1996, 154, -1228}, 0, { 224, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1381, 256, -1228}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1381, 154, -1228}, 0, { 224, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1996, 256, -1228}, 0, { 0, -1054}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 113, -255, 924}, 0, { 224, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -239, -153, 1427}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -239, -255, 1427}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1855, -1074, 485}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1855, -972, 485}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1855, -972, 792}, 0, { 0, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1855, -1074, 792}, 0, { 224, -1054}, {0x64, 0x64, 0x64, 0xff}}},
};
// 0x07018F08 - 0x07018FF8
static const Vtx rr_seg7_vertex_07018F08[] = {
{{{ -806, -1074, 792}, 0, { 224, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -806, -972, 792}, 0, { 0, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -806, -972, 485}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -806, -1074, 485}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1119, -255, 810}, 0, { 224, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -767, -153, 307}, 0, { 0, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -767, -255, 307}, 0, { 224, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -1119, -153, 810}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 113, -255, 924}, 0, { 224, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 113, -153, 924}, 0, { 0, -1054}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -239, -153, 1427}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 1855, -1074, 792}, 0, { 224, -12296}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1855, -972, 792}, 0, { 0, -12296}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -806, -972, 792}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -806, -1074, 792}, 0, { 224, 990}, {0x91, 0x91, 0x91, 0xff}}},
};
// 0x07018FF8 - 0x07019038
static const Vtx rr_seg7_vertex_07018FF8[] = {
{{{ -806, -1074, 485}, 0, { 224, 990}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1855, -972, 485}, 0, { 0, -12296}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1855, -1074, 485}, 0, { 224, -12296}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -806, -972, 485}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
};
// 0x07019038 - 0x070190A0
static const Gfx rr_seg7_dl_07019038[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_07018C18, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x070190A0 - 0x070191A0
static const Gfx rr_seg7_dl_070190A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_07018D18, 16, 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),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_07018E18, 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),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07018F08, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07018FF8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x070191A0 - 0x07019230
const Gfx rr_seg7_dl_070191A0[] = {
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(rr_seg7_dl_07019038),
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(rr_seg7_dl_070190A0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
gsSPEndDisplayList(),
};