2024-03-23 20:11:30 +00:00
|
|
|
#include "pc/rom_assets.h"
|
2019-11-03 19:36:27 +00:00
|
|
|
// Whomp
|
|
|
|
|
|
|
|
// ???
|
|
|
|
UNUSED static const u64 whomp_unused_1 = 2;
|
|
|
|
|
|
|
|
|
|
|
|
// 0x0601C360
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(whomp_seg6_texture_0601C360, "actors/whomp/whomp_back.rgba16.inc.c", 0x001c4230, 80474, 0x0001c360, 4096);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601D360
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(whomp_seg6_texture_0601D360, "actors/whomp/whomp_face.rgba16.inc.c", 0x001c4230, 80474, 0x0001d360, 4096);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601D360
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(whomp_seg6_texture_0601E360, "actors/whomp/whomp_hand.rgba16.inc.c", 0x001c4230, 80474, 0x0001e360, 2048);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601EB60
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(whomp_seg6_texture_0601EB60, "actors/whomp/whomp_surface.rgba16.inc.c", 0x001c4230, 80474, 0x0001eb60, 2048);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F360
|
2019-12-02 02:52:53 +00:00
|
|
|
static const Lights1 whomp_seg6_lights_0601F360 = gdSPDefLights1(
|
|
|
|
0x4c, 0x4c, 0x4c,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F378
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F378, 0x001c4230, 80474, 0x0001f378, 256);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F478
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F478, 0x001c4230, 80474, 0x0001f478, 64);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F4B8
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F4B8, 0x001c4230, 80474, 0x0001f4b8, 64);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&whomp_seg6_lights_0601F360.l, 1),
|
|
|
|
gsSPLight(&whomp_seg6_lights_0601F360.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2019-12-02 02:52:53 +00:00
|
|
|
static const Lights1 whomp_seg6_lights_0601F678 = gdSPDefLights1(
|
|
|
|
0x4c, 0x4c, 0x4c,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F690
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F690, 0x001c4230, 80474, 0x0001f690, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F780
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F780, 0x001c4230, 80474, 0x0001f780, 112);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&whomp_seg6_lights_0601F678.l, 1),
|
|
|
|
gsSPLight(&whomp_seg6_lights_0601F678.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2019-12-02 02:52:53 +00:00
|
|
|
static const Lights1 whomp_seg6_lights_0601F8E0 = gdSPDefLights1(
|
|
|
|
0x4c, 0x4c, 0x4c,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F8F8
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F8F8, 0x001c4230, 80474, 0x0001f8f8, 240);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601F9E8
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601F9E8, 0x001c4230, 80474, 0x0001f9e8, 112);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&whomp_seg6_lights_0601F8E0.l, 1),
|
|
|
|
gsSPLight(&whomp_seg6_lights_0601F8E0.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601FB48, 0x001c4230, 80474, 0x0001fb48, 64);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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(),
|
2023-10-30 05:03:36 +00:00
|
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601FC30, 0x001c4230, 80474, 0x0001fb48, 64);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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(),
|
2023-10-30 05:03:36 +00:00
|
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2019-12-02 02:52:53 +00:00
|
|
|
static const Lights1 whomp_seg6_lights_0601FD18 = gdSPDefLights1(
|
|
|
|
0x4c, 0x4c, 0x4c,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601FD30
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601FD30, 0x001c4230, 80474, 0x0001fd30, 224);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&whomp_seg6_lights_0601FD18.l, 1),
|
|
|
|
gsSPLight(&whomp_seg6_lights_0601FD18.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
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
|
2019-12-02 02:52:53 +00:00
|
|
|
static const Lights1 whomp_seg6_lights_0601FF08 = gdSPDefLights1(
|
|
|
|
0x4c, 0x4c, 0x4c,
|
|
|
|
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 0x0601FF20
|
2024-03-23 20:11:30 +00:00
|
|
|
ROM_ASSET_LOAD_VTX(whomp_seg6_vertex_0601FF20, 0x001c4230, 80474, 0x0001ff20, 128);
|
2019-11-03 19:36:27 +00:00
|
|
|
|
|
|
|
// 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)),
|
2019-12-02 02:52:53 +00:00
|
|
|
gsSPLight(&whomp_seg6_lights_0601FF08.l, 1),
|
|
|
|
gsSPLight(&whomp_seg6_lights_0601FF08.a, 2),
|
2019-11-03 19:36:27 +00:00
|
|
|
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(),
|
|
|
|
};
|