sm64coopdx/actors/flame/model.inc.c

184 lines
6.7 KiB
C
Raw Normal View History

#include "pc/rom_assets.h"
2019-11-03 19:36:27 +00:00
// Flame
// 0x030172E0
ROM_ASSET_LOAD_VTX(flame_seg3_vertex_030172E0, 0x00201410, 96653, 0x000172e0, 64);
2019-11-03 19:36:27 +00:00
// 0x03017320
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03017320, "actors/flame/flame_0.ia16.inc.c", 0x00201410, 96653, 0x00017320, 2048);
2019-11-03 19:36:27 +00:00
// 0x03017B20
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03017B20, "actors/flame/flame_1.ia16.inc.c", 0x00201410, 96653, 0x00017b20, 2048);
2019-11-03 19:36:27 +00:00
// 0x03018320
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03018320, "actors/flame/flame_2.ia16.inc.c", 0x00201410, 96653, 0x00018320, 2048);
2019-11-03 19:36:27 +00:00
// 0x03018B20
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03018B20, "actors/flame/flame_3.ia16.inc.c", 0x00201410, 96653, 0x00018b20, 2048);
2019-11-03 19:36:27 +00:00
// 0x03019320
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03019320, "actors/flame/flame_4.ia16.inc.c", 0x00201410, 96653, 0x00019320, 2048);
2019-11-03 19:36:27 +00:00
// 0x03019B20
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_03019B20, "actors/flame/flame_5.ia16.inc.c", 0x00201410, 96653, 0x00019b20, 2048);
2019-11-03 19:36:27 +00:00
// 0x0301A320
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_0301A320, "actors/flame/flame_6.ia16.inc.c", 0x00201410, 96653, 0x0001a320, 2048);
2019-11-03 19:36:27 +00:00
// 0x0301AB20
ROM_ASSET_LOAD_TEXTURE(flame_seg3_texture_0301AB20, "actors/flame/flame_7.ia16.inc.c", 0x00201410, 96653, 0x0001ab20, 2048);
2019-11-03 19:36:27 +00:00
// 0x0301B320 - 0x0301B3B0
const Gfx flame_seg3_dl_0301B320[] = {
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsDPSetEnvColor(255, 50, 0, 200),
gsDPSetCombineMode(G_CC_FADEA, G_CC_FADEA),
gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_IA, 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),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsSPVertex(flame_seg3_vertex_030172E0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsSPSetGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsDPSetEnvColor(255, 255, 255, 255),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};
// 0x0301B3B0 - 0x0301B3C8
const Gfx flame_seg3_dl_0301B3B0[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03017320),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B3C8 - 0x0301B3E0
const Gfx flame_seg3_dl_0301B3C8[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03017B20),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B3E0 - 0x0301B3F8
const Gfx flame_seg3_dl_0301B3E0[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03018320),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B3F8 - 0x0301B410
const Gfx flame_seg3_dl_0301B3F8[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03018B20),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B410 - 0x0301B428
const Gfx flame_seg3_dl_0301B410[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03019320),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B428 - 0x0301B440
const Gfx flame_seg3_dl_0301B428[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03019B20),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B440 - 0x0301B458
const Gfx flame_seg3_dl_0301B440[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_0301A320),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B458 - 0x0301B470
const Gfx flame_seg3_dl_0301B458[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_0301AB20),
gsSPBranchList(flame_seg3_dl_0301B320),
};
// 0x0301B470 - 0x0301B500
const Gfx flame_seg3_dl_0301B470[] = {
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsDPSetEnvColor(100, 100, 255, 255),
gsDPSetCombineMode(G_CC_FADEA, G_CC_FADEA),
gsDPSetTile(G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_IA, 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),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsSPVertex(flame_seg3_vertex_030172E0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsSPSetGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsDPSetEnvColor(255, 255, 255, 255),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPEndDisplayList(),
};
// 0x0301B500 - 0x0301B518
const Gfx flame_seg3_dl_0301B500[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03017320),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B518 - 0x0301B530
const Gfx flame_seg3_dl_0301B518[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03017B20),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B530 - 0x0301B548
const Gfx flame_seg3_dl_0301B530[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03018320),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B548 - 0x0301B560
const Gfx flame_seg3_dl_0301B548[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03018B20),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B560 - 0x0301B578
const Gfx flame_seg3_dl_0301B560[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03019320),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B578 - 0x0301B590
const Gfx flame_seg3_dl_0301B578[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_03019B20),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B590 - 0x0301B5A8
const Gfx flame_seg3_dl_0301B590[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_0301A320),
gsSPBranchList(flame_seg3_dl_0301B470),
};
// 0x0301B5A8 - 0x0301B5C0
const Gfx flame_seg3_dl_0301B5A8[] = {
gsDPPipeSync(),
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flame_seg3_texture_0301AB20),
gsSPBranchList(flame_seg3_dl_0301B470),
};