2024-03-23 21:11:30 +01:00
|
|
|
#include "pc/rom_assets.h"
|
2019-11-03 20:36:27 +01:00
|
|
|
// Chilly Chief (Chill Bully)
|
|
|
|
|
|
|
|
// 0x06000000
|
2019-12-02 03:52:53 +01:00
|
|
|
static const Lights1 chilly_chief_seg6_lights_06000000 = gdSPDefLights1(
|
|
|
|
0x00, 0x38, 0x00,
|
|
|
|
0x00, 0xe3, 0x00, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06000018
|
2019-12-02 03:52:53 +01:00
|
|
|
static const Lights1 chilly_chief_seg6_lights_06000018 = gdSPDefLights1(
|
|
|
|
0x00, 0x3f, 0x00,
|
|
|
|
0x00, 0xff, 0x00, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06000030
|
2019-12-02 03:52:53 +01:00
|
|
|
static const Lights1 chilly_chief_seg6_lights_06000030 = gdSPDefLights1(
|
|
|
|
0x3f, 0x29, 0x00,
|
|
|
|
0xff, 0xa5, 0x00, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
2019-12-02 03:52:53 +01:00
|
|
|
// Unreferenced light group
|
|
|
|
UNUSED static const Lights1 chillychief_lights_unused = gdSPDefLights1(
|
|
|
|
0x00, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
|
|
|
|
);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06000060
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(chilly_chief_seg6_texture_06000060, "actors/chillychief/chill_bully_left_side.rgba16.inc.c", 0x001e51f0, 11160, 0x00000060, 4096);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06001060
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(chilly_chief_seg6_texture_06001060, "actors/chillychief/chill_bully_right_side.rgba16.inc.c", 0x001e51f0, 11160, 0x00001060, 4096);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002060
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(chilly_chief_seg6_texture_06002060, "actors/chillychief/chill_bully_eye.rgba16.inc.c", 0x00132c60, 7692, 0x00002468, 2048);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002860
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002860, 0x00132c60, 7692, 0x00002c68, 224);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002940
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002940, 0x00132c60, 7692, 0x00002d48, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002980
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002980, 0x00132c60, 7692, 0x00002d88, 224);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002A60
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002A60, 0x00132c60, 7692, 0x00002e68, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002AA0
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002AA0, 0x001e51f0, 11160, 0x00002aa0, 144);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002B30 - 0x06002BC8
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002B30[] = {
|
2019-12-02 03:52:53 +01:00
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000000.l, 1),
|
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000000.a, 2),
|
2019-11-03 20:36:27 +01:00
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002860, 14, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
|
|
|
gsSP2Triangles( 2, 3, 4, 0x0, 1, 5, 6, 0x0),
|
|
|
|
gsSP2Triangles( 1, 6, 7, 0x0, 0, 5, 1, 0x0),
|
|
|
|
gsSP2Triangles( 0, 2, 8, 0x0, 8, 2, 9, 0x0),
|
|
|
|
gsSP2Triangles( 8, 9, 10, 0x0, 11, 8, 12, 0x0),
|
|
|
|
gsSP2Triangles(11, 12, 13, 0x0, 0, 8, 11, 0x0),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002940, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002BC8 - 0x06002C60
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002BC8[] = {
|
2019-12-02 03:52:53 +01:00
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000018.l, 1),
|
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000018.a, 2),
|
2019-11-03 20:36:27 +01:00
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002980, 14, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
|
|
|
|
gsSP2Triangles( 3, 1, 0, 0x0, 5, 6, 7, 0x0),
|
|
|
|
gsSP2Triangles( 5, 7, 1, 0x0, 1, 7, 2, 0x0),
|
|
|
|
gsSP2Triangles( 8, 0, 2, 0x0, 9, 10, 0, 0x0),
|
|
|
|
gsSP2Triangles( 9, 0, 8, 0x0, 11, 12, 8, 0x0),
|
|
|
|
gsSP2Triangles(11, 8, 13, 0x0, 13, 8, 2, 0x0),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002A60, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002C60 - 0x06002C98
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002C60[] = {
|
2019-12-02 03:52:53 +01:00
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000030.l, 1),
|
|
|
|
gsSPLight(&chilly_chief_seg6_lights_06000030.a, 2),
|
2019-11-03 20:36:27 +01:00
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002AA0, 9, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
|
|
gsSP1Triangle( 6, 7, 8, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002C98
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002C98, 0x001e51f0, 11160, 0x00002c98, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002CD8
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002CD8, 0x001e51f0, 11160, 0x00002cd8, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002D18 - 0x06002D50
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002D18[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chilly_chief_seg6_texture_06000060),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002C98, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002D50 - 0x06002D88
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002D50[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chilly_chief_seg6_texture_06001060),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002CD8, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002D88 - 0x06002E00
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002D88[] = {
|
|
|
|
gsDPPipeSync(),
|
2023-10-30 06:03:36 +01:00
|
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
2019-11-03 20:36:27 +01: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, 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(chilly_chief_seg6_dl_06002D18),
|
|
|
|
gsSPDisplayList(chilly_chief_seg6_dl_06002D50),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002E00
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002E00, 0x001e51f0, 11160, 0x00002e00, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002E40
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002E40, 0x001e51f0, 11160, 0x00002e40, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002E80 - 0x06002EB8
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002E80[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chilly_chief_seg6_texture_06000060),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002E00, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002EB8 - 0x06002EF0
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002EB8[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chilly_chief_seg6_texture_06001060),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002E40, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002EF0 - 0x06002F68
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002EF0[] = {
|
|
|
|
gsDPPipeSync(),
|
2023-10-30 06:03:36 +01:00
|
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
2019-11-03 20:36:27 +01: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, 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(chilly_chief_seg6_dl_06002E80),
|
|
|
|
gsSPDisplayList(chilly_chief_seg6_dl_06002EB8),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06002F68
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(chilly_chief_seg6_vertex_06002F68, 0x00132c60, 7692, 0x00003f20, 96);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x06002FC8 - 0x06003010
|
|
|
|
const Gfx chilly_chief_seg6_dl_06002FC8[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chilly_chief_seg6_texture_06002060),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(chilly_chief_seg6_vertex_06002F68, 6, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
|
|
gsSP2Triangles( 3, 4, 5, 0x0, 3, 5, 0, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x06003010 - 0x06003080
|
|
|
|
const Gfx chilly_chief_seg6_dl_06003010[] = {
|
|
|
|
gsDPPipeSync(),
|
2023-10-30 06:03:36 +01:00
|
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
2019-11-03 20:36:27 +01: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(chilly_chief_seg6_dl_06002FC8),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|