2024-03-23 21:11:30 +01:00
|
|
|
#include "pc/rom_assets.h"
|
2019-11-03 20:36:27 +01:00
|
|
|
// Pokey
|
|
|
|
|
|
|
|
// 0x05011710
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(pokey_seg5_vertex_05011710, 0x00134d20, 26785, 0x0000a560, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x05011750
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(pokey_seg5_texture_05011750, "actors/pokey/pokey_face.rgba16.inc.c", 0x00145e90, 48337, 0x00011750, 2048);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x05011F50
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(pokey_seg5_texture_05011F50, "actors/pokey/pokey_face_blink.rgba16.inc.c", 0x00145e90, 48337, 0x00011f50, 2048);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x05012750 - 0x05012798
|
|
|
|
const Gfx pokey_seg5_dl_05012750[] = {
|
|
|
|
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),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x05012798 - 0x050127D8
|
|
|
|
const Gfx pokey_seg5_dl_05012798[] = {
|
|
|
|
gsSPVertex(pokey_seg5_vertex_05011710, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x050127D8 - 0x05012808
|
|
|
|
const Gfx pokey_seg5_dl_050127D8[] = {
|
|
|
|
gsSPDisplayList(pokey_seg5_dl_05012750),
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pokey_seg5_texture_05011750),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPDisplayList(pokey_seg5_dl_05012798),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x05012808 - 0x05012838
|
|
|
|
const Gfx pokey_seg5_dl_05012808[] = {
|
|
|
|
gsSPDisplayList(pokey_seg5_dl_05012750),
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pokey_seg5_texture_05011F50),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPDisplayList(pokey_seg5_dl_05012798),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x05012838
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_VTX(pokey_seg5_vertex_05012838, 0x00134d20, 26785, 0x0000a560, 64);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x05012878
|
2024-03-23 21:11:30 +01:00
|
|
|
ROM_ASSET_LOAD_TEXTURE(pokey_seg5_texture_05012878, "actors/pokey/pokey_body.rgba16.inc.c", 0x00145e90, 48337, 0x00012878, 2048);
|
2019-11-03 20:36:27 +01:00
|
|
|
|
|
|
|
// 0x05013078 - 0x050130B0
|
|
|
|
const Gfx pokey_seg5_dl_05013078[] = {
|
|
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pokey_seg5_texture_05012878),
|
|
|
|
gsDPLoadSync(),
|
|
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
|
|
gsSPVertex(pokey_seg5_vertex_05012838, 4, 0),
|
|
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|
|
|
|
|
|
|
|
// 0x050130B0 - 0x05013120
|
|
|
|
const Gfx pokey_seg5_dl_050130B0[] = {
|
|
|
|
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(pokey_seg5_dl_05013078),
|
|
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
|
|
gsSPEndDisplayList(),
|
|
|
|
};
|