sm64pc/actors/whomp/model.inc.c

446 lines
21 KiB
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
// Whomp
// ???
UNUSED static const u64 whomp_unused_1 = 2;
// 0x0601C360
ALIGNED8 static const u8 whomp_seg6_texture_0601C360[] = {
#include "actors/whomp/whomp_back.rgba16.inc.c"
};
// 0x0601D360
ALIGNED8 static const u8 whomp_seg6_texture_0601D360[] = {
#include "actors/whomp/whomp_face.rgba16.inc.c"
};
// 0x0601D360
ALIGNED8 static const u8 whomp_seg6_texture_0601E360[] = {
#include "actors/whomp/whomp_hand.rgba16.inc.c"
};
// 0x0601EB60
ALIGNED8 static const u8 whomp_seg6_texture_0601EB60[] = {
#include "actors/whomp/whomp_surface.rgba16.inc.c"
};
// 0x0601F360
static const Lights1 whomp_seg6_lights_0601F360 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F378
static const Vtx whomp_seg6_vertex_0601F378[] = {
{{{ -52, 610, -201}, 0, { 470, 990}, {0x00, 0x7e, 0x00, 0xff}}},
{{{ -52, 610, 202}, 0, { 0, 2012}, {0x00, 0x7e, 0x00, 0xff}}},
{{{ 1559, 600, 202}, 0, { 0, -1022}, {0x00, 0x7e, 0x00, 0xff}}},
{{{ 1559, 600, -201}, 0, { 0, 320}, {0x7e, 0x00, 0x00, 0xff}}},
{{{ 1551, -609, 202}, 0, { 1980, 990}, {0x7e, 0x00, 0x00, 0xff}}},
{{{ 1551, -609, -201}, 0, { 1980, 320}, {0x7e, 0x00, 0x00, 0xff}}},
{{{ 1559, 600, 202}, 0, { 0, 990}, {0x7e, 0x00, 0x00, 0xff}}},
{{{ -60, -598, -201}, 0, { 1962, 320}, {0x82, 0x00, 0x00, 0xff}}},
{{{ -52, 610, 202}, 0, { -48, 990}, {0x82, 0x00, 0x00, 0xff}}},
{{{ -52, 610, -201}, 0, { -48, 320}, {0x82, 0x00, 0x00, 0xff}}},
{{{ -60, -598, 202}, 0, { 1962, 990}, {0x82, 0x00, 0x00, 0xff}}},
{{{ -60, -598, 202}, 0, { 0, 990}, {0x00, 0x82, 0x00, 0xff}}},
{{{ -60, -598, -201}, 0, { 470, 990}, {0x00, 0x82, 0x00, 0xff}}},
{{{ 1551, -609, -201}, 0, { 470, -1022}, {0x00, 0x82, 0x00, 0xff}}},
{{{ 1551, -609, 202}, 0, { 0, -1022}, {0x00, 0x82, 0x00, 0xff}}},
{{{ 1559, 600, -201}, 0, { 470, -1022}, {0x00, 0x7e, 0x00, 0xff}}},
};
// 0x0601F478
static const Vtx whomp_seg6_vertex_0601F478[] = {
{{{ -60, -598, -201}, 0, { 0, 2012}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 1559, 600, -201}, 0, { 990, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ 1551, -609, -201}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0xff}}},
{{{ -52, 610, -201}, 0, { 990, 2012}, {0x00, 0x00, 0x81, 0xff}}},
};
// 0x0601F4B8
static const Vtx whomp_seg6_vertex_0601F4B8[] = {
{{{ -52, 610, 202}, 0, { 0, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ -60, -598, 202}, 0, { 990, 2012}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 1551, -609, 202}, 0, { 990, 0}, {0x00, 0x00, 0x7f, 0xff}}},
{{{ 1559, 600, 202}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0xff}}},
};
// 0x0601F4F8 - 0x0601F570
const Gfx whomp_seg6_dl_0601F4F8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F360.l, 1),
gsSPLight(&whomp_seg6_lights_0601F360.a, 2),
gsSPVertex(whomp_seg6_vertex_0601F378, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0),
gsSPEndDisplayList(),
};
// 0x0601F570 - 0x0601F5A8
const Gfx whomp_seg6_dl_0601F570[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601C360),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(whomp_seg6_vertex_0601F478, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
};
// 0x0601F5A8 - 0x0601F5E0
const Gfx whomp_seg6_dl_0601F5A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601D360),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(whomp_seg6_vertex_0601F4B8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0601F5E0 - 0x0601F678
const Gfx whomp_seg6_dl_0601F5E0[] = {
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, 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(whomp_seg6_dl_0601F4F8),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 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(whomp_seg6_dl_0601F570),
gsSPDisplayList(whomp_seg6_dl_0601F5A8),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPEndDisplayList(),
};
// 0x0601F678
static const Lights1 whomp_seg6_lights_0601F678 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F690
static const Vtx whomp_seg6_vertex_0601F690[] = {
{{{ 290, 0, 85}, 0, { 952, 0}, {0xed, 0x1c, 0x7a, 0xff}}},
{{{ -10, 35, 13}, 0, { 246, 976}, {0xed, 0x6a, 0x41, 0xff}}},
{{{ -10, 0, 38}, 0, { 672, 976}, {0xed, 0xe3, 0x79, 0xff}}},
{{{ 290, 80, 28}, 0, { 952, 0}, {0xed, 0x7d, 0x08, 0xff}}},
{{{ -10, 21, -27}, 0, { 246, 976}, {0xed, 0x5e, 0xae, 0xff}}},
{{{ -10, 35, 13}, 0, { 672, 976}, {0xed, 0x6a, 0x41, 0xff}}},
{{{ 290, 49, -65}, 0, { 0, 0}, {0xed, 0x2f, 0x8c, 0xff}}},
{{{ 290, 49, -65}, 0, { 952, 0}, {0xed, 0x2f, 0x8c, 0xff}}},
{{{ -10, -20, -27}, 0, { 246, 976}, {0xed, 0xd1, 0x8c, 0xff}}},
{{{ -10, 21, -27}, 0, { 672, 976}, {0xed, 0x5e, 0xae, 0xff}}},
{{{ 290, -48, -65}, 0, { 0, 0}, {0xed, 0xa2, 0xae, 0xff}}},
{{{ 290, -79, 28}, 0, { 952, 0}, {0xed, 0x95, 0x41, 0xff}}},
{{{ 290, 0, 85}, 0, { 0, 0}, {0xed, 0x1c, 0x7a, 0xff}}},
{{{ -10, 0, 38}, 0, { 246, 976}, {0xed, 0xe3, 0x79, 0xff}}},
{{{ -10, -34, 13}, 0, { 672, 976}, {0xed, 0x83, 0x08, 0xff}}},
};
// 0x0601F780
static const Vtx whomp_seg6_vertex_0601F780[] = {
{{{ 290, -48, -65}, 0, { 952, 0}, {0xed, 0xa2, 0xae, 0xff}}},
{{{ 290, -79, 28}, 0, { 0, 0}, {0xed, 0x95, 0x41, 0xff}}},
{{{ -10, -34, 13}, 0, { 246, 976}, {0xed, 0x83, 0x08, 0xff}}},
{{{ 290, 0, 85}, 0, { 952, 0}, {0xed, 0x1c, 0x7a, 0xff}}},
{{{ 290, 80, 28}, 0, { 0, 0}, {0xed, 0x7d, 0x08, 0xff}}},
{{{ -10, 35, 13}, 0, { 246, 976}, {0xed, 0x6a, 0x41, 0xff}}},
{{{ -10, -20, -27}, 0, { 672, 976}, {0xed, 0xd1, 0x8c, 0xff}}},
};
// 0x0601F7F0 - 0x0601F880
const Gfx whomp_seg6_dl_0601F7F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F678.l, 1),
gsSPLight(&whomp_seg6_lights_0601F678.a, 2),
gsSPVertex(whomp_seg6_vertex_0601F690, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(whomp_seg6_vertex_0601F780, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 2, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x0601F880 - 0x0601F8E0
const Gfx whomp_seg6_dl_0601F880[] = {
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(whomp_seg6_dl_0601F7F0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};
// 0x0601F8E0
static const Lights1 whomp_seg6_lights_0601F8E0 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F8F8
static const Vtx whomp_seg6_vertex_0601F8F8[] = {
{{{ -10, 0, -37}, 0, { 246, 976}, {0xed, 0x1c, 0x86, 0xff}}},
{{{ 290, 80, -26}, 0, { 952, 0}, {0xed, 0x6a, 0xbf, 0xff}}},
{{{ 290, 0, -84}, 0, { 0, 0}, {0xed, 0xe2, 0x87, 0xff}}},
{{{ -10, 35, -12}, 0, { 246, 976}, {0xed, 0x7d, 0xf8, 0xff}}},
{{{ 290, 49, 66}, 0, { 952, 0}, {0xed, 0x5e, 0x52, 0xff}}},
{{{ 290, 80, -26}, 0, { 0, 0}, {0xed, 0x6a, 0xbf, 0xff}}},
{{{ -10, 21, 28}, 0, { 672, 976}, {0xed, 0x2f, 0x74, 0xff}}},
{{{ -10, 21, 28}, 0, { 246, 976}, {0xed, 0x2f, 0x74, 0xff}}},
{{{ 290, -48, 66}, 0, { 952, 0}, {0xed, 0xd1, 0x74, 0xff}}},
{{{ 290, 49, 66}, 0, { 0, 0}, {0xed, 0x5e, 0x52, 0xff}}},
{{{ -10, -20, 28}, 0, { 672, 976}, {0xed, 0xa2, 0x52, 0xff}}},
{{{ -10, -34, -12}, 0, { 246, 976}, {0xed, 0x95, 0xc0, 0xff}}},
{{{ -10, 0, -37}, 0, { 672, 976}, {0xed, 0x1c, 0x86, 0xff}}},
{{{ 290, 0, -84}, 0, { 952, 0}, {0xed, 0xe2, 0x87, 0xff}}},
{{{ 290, -79, -26}, 0, { 0, 0}, {0xed, 0x83, 0xf9, 0xff}}},
};
// 0x0601F9E8
static const Vtx whomp_seg6_vertex_0601F9E8[] = {
{{{ -10, -20, 28}, 0, { 246, 976}, {0xed, 0xa2, 0x52, 0xff}}},
{{{ -10, -34, -12}, 0, { 672, 976}, {0xed, 0x95, 0xc0, 0xff}}},
{{{ 290, -79, -26}, 0, { 952, 0}, {0xed, 0x83, 0xf9, 0xff}}},
{{{ -10, 0, -37}, 0, { 246, 976}, {0xed, 0x1c, 0x86, 0xff}}},
{{{ -10, 35, -12}, 0, { 672, 976}, {0xed, 0x7d, 0xf8, 0xff}}},
{{{ 290, 80, -26}, 0, { 952, 0}, {0xed, 0x6a, 0xbf, 0xff}}},
{{{ 290, -48, 66}, 0, { 0, 0}, {0xed, 0xd1, 0x74, 0xff}}},
};
// 0x0601FA58 - 0x0601FAE8
const Gfx whomp_seg6_dl_0601FA58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F8E0.l, 1),
gsSPLight(&whomp_seg6_lights_0601F8E0.a, 2),
gsSPVertex(whomp_seg6_vertex_0601F8F8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 13, 14, 0x0),
gsSPVertex(whomp_seg6_vertex_0601F9E8, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 2, 6, 0x0),
gsSPEndDisplayList(),
};
// 0x0601FAE8 - 0x0601FB48
const Gfx whomp_seg6_dl_0601FAE8[] = {
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(whomp_seg6_dl_0601FA58),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};
// 0x0601FB48
static const Vtx whomp_seg6_vertex_0601FB48[] = {
{{{ -37, -37, 0}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 38, -37, 0}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 38, 38, 0}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -37, 38, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0601FB88 - 0x0601FBC0
const Gfx whomp_seg6_dl_0601FB88[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601E360),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(whomp_seg6_vertex_0601FB48, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0601FBC0 - 0x0601FC30
const Gfx whomp_seg6_dl_0601FBC0[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
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_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(whomp_seg6_dl_0601FB88),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};
// 0x0601FC30
static const Vtx whomp_seg6_vertex_0601FC30[] = {
{{{ -37, -37, 0}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 38, -37, 0}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 38, 38, 0}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -37, 38, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
};
// 0x0601FC70 - 0x0601FCA8
const Gfx whomp_seg6_dl_0601FC70[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601E360),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(whomp_seg6_vertex_0601FC30, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
};
// 0x0601FCA8 - 0x0601FD18
const Gfx whomp_seg6_dl_0601FCA8[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
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_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPDisplayList(whomp_seg6_dl_0601FC70),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};
// 0x0601FD18
static const Lights1 whomp_seg6_lights_0601FD18 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601FD30
static const Vtx whomp_seg6_vertex_0601FD30[] = {
{{{ 174, 183, 177}, 0, { 1364, 114}, {0x01, 0x3e, 0x6e, 0xff}}},
{{{ 180, 257, 2}, 0, { 490, -34}, {0x46, 0x69, 0x00, 0xff}}},
{{{ 22, 158, 2}, 0, { 490, 162}, {0x9b, 0x4c, 0xff, 0xff}}},
{{{ -28, -89, 2}, 0, { 490, 658}, {0x84, 0xe7, 0x00, 0xff}}},
{{{ 177, 182, -171}, 0, { -376, 116}, {0xc9, 0x39, 0x9d, 0xff}}},
{{{ 154, -260, 3}, 0, { 492, 998}, {0xe9, 0x84, 0x01, 0xff}}},
{{{ 158, -143, 201}, 0, { 1482, 768}, {0x38, 0xc6, 0x61, 0xff}}},
{{{ 161, -152, -190}, 0, { -470, 784}, {0x71, 0xdf, 0xd3, 0xff}}},
{{{ 161, -152, -190}, 0, { -2, 774}, {0x71, 0xdf, 0xd3, 0xff}}},
{{{ 174, 183, 177}, 0, { 916, 104}, {0x01, 0x3e, 0x6e, 0xff}}},
{{{ 158, -143, 201}, 0, { 974, 756}, {0x38, 0xc6, 0x61, 0xff}}},
{{{ 180, 257, 2}, 0, { 478, -46}, {0x46, 0x69, 0x00, 0xff}}},
{{{ 177, 182, -171}, 0, { 44, 104}, {0xc9, 0x39, 0x9d, 0xff}}},
{{{ 154, -260, 3}, 0, { 480, 990}, {0xe9, 0x84, 0x01, 0xff}}},
};
// 0x0601FE10 - 0x0601FEA8
const Gfx whomp_seg6_dl_0601FE10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601FD18.l, 1),
gsSPLight(&whomp_seg6_lights_0601FD18.a, 2),
gsSPVertex(whomp_seg6_vertex_0601FD30, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 4, 3, 2, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 3, 6, 0, 0x0),
gsSP2Triangles( 3, 7, 5, 0x0, 4, 7, 3, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles( 8, 12, 11, 0x0, 8, 10, 13, 0x0),
gsSPEndDisplayList(),
};
// 0x0601FEA8 - 0x0601FF08
const Gfx whomp_seg6_dl_0601FEA8[] = {
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(whomp_seg6_dl_0601FE10),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};
// 0x0601FF08
static const Lights1 whomp_seg6_lights_0601FF08 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601FF20
static const Vtx whomp_seg6_vertex_0601FF20[] = {
{{{ 154, -260, -2}, 0, { 470, 998}, {0x6e, 0xc3, 0xff, 0xff}}},
{{{ 174, 183, -176}, 0, { -110, 114}, {0x01, 0x3e, 0x92, 0xff}}},
{{{ 180, 257, -1}, 0, { 472, -34}, {0x46, 0x69, 0x00, 0xff}}},
{{{ 158, -143, -200}, 0, { -188, 768}, {0xdf, 0xc4, 0x96, 0xff}}},
{{{ 22, 158, -1}, 0, { 472, 162}, {0x9b, 0x4c, 0x01, 0xff}}},
{{{ -28, -89, -1}, 0, { 472, 658}, {0x84, 0xe7, 0x00, 0xff}}},
{{{ 177, 182, 172}, 0, { 1050, 116}, {0x03, 0x3d, 0x6f, 0xff}}},
{{{ 161, -152, 191}, 0, { 1112, 784}, {0xe1, 0xc2, 0x6a, 0xff}}},
};
// 0x0601FFA0 - 0x06020038
const Gfx whomp_seg6_dl_0601FFA0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601FF08.l, 1),
gsSPLight(&whomp_seg6_lights_0601FF08.a, 2),
gsSPVertex(whomp_seg6_vertex_0601FF20, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 1, 5, 4, 0x0),
gsSP2Triangles( 1, 3, 5, 0x0, 5, 3, 0, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 0, 7, 5, 0x0),
gsSP2Triangles( 5, 7, 6, 0x0, 6, 2, 4, 0x0),
gsSP2Triangles( 0, 2, 6, 0x0, 0, 6, 7, 0x0),
gsSPEndDisplayList(),
};
// 0x06020038 - 0x06020098
const Gfx whomp_seg6_dl_06020038[] = {
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(whomp_seg6_dl_0601FFA0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};