mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
283 lines
12 KiB
C
283 lines
12 KiB
C
// Bowser Flame
|
|
|
|
// TODO: These 64x64 textures are referenced as two different texture addresses in the DLs
|
|
|
|
// 0x06000000
|
|
ALIGNED8 const Texture flame_seg6_texture_06000000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_0.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06002000
|
|
ALIGNED8 const Texture flame_seg6_texture_06002000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_1.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06004000
|
|
ALIGNED8 const Texture flame_seg6_texture_06004000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_2.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06006000
|
|
ALIGNED8 const Texture flame_seg6_texture_06006000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_3.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06008000
|
|
ALIGNED8 const Texture flame_seg6_texture_06008000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_4.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x0600A000
|
|
ALIGNED8 const Texture flame_seg6_texture_0600A000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_5.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x0600C000
|
|
ALIGNED8 const Texture flame_seg6_texture_0600C000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_6.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x0600E000
|
|
ALIGNED8 const Texture flame_seg6_texture_0600E000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_7.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06010000
|
|
ALIGNED8 const Texture flame_seg6_texture_06010000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_8.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06012000
|
|
ALIGNED8 const Texture flame_seg6_texture_06012000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_9.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06014000
|
|
ALIGNED8 const Texture flame_seg6_texture_06014000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_10.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06016000
|
|
ALIGNED8 const Texture flame_seg6_texture_06016000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_11.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x06018000
|
|
ALIGNED8 const Texture flame_seg6_texture_06018000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_12.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x0601A000
|
|
ALIGNED8 const Texture flame_seg6_texture_0601A000[] = {
|
|
#include "actors/bowser_flame/bowser_flame_13.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x0601C000
|
|
static const Vtx flame_seg6_vertex_0601C000[] = {
|
|
{{{ -150, 150, 0}, 0, { 0, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 150, 150, 0}, 0, { 2016, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 150, 300, 0}, 0, { 2016, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -150, 300, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -150, 0, 0}, 0, { 0, 2016}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 150, 0, 0}, 0, { 2016, 2016}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 150, 150, 0}, 0, { 2016, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -150, 150, 0}, 0, { 0, 992}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x0601C080 - 0x0601C0B0
|
|
const Gfx flame_seg6_dl_0601C080[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
gsSPGeometryMode(G_LIGHTING, G_SHADING_SMOOTH),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C0B0 - 0x0601C0C8
|
|
const Gfx flame_seg6_dl_0601C0B0[] = {
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C0C8 - 0x0601C0E0
|
|
const Gfx flame_seg6_dl_0601C0C8[] = {
|
|
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C0E0 - 0x0601C108
|
|
const Gfx flame_seg6_dl_0601C0E0[] = {
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C108 - 0x0601C1A8
|
|
const Gfx flame_seg6_dl_0601C108[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06000000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06000000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C1A8 - 0x0601C248
|
|
const Gfx flame_seg6_dl_0601C1A8[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06002000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06002000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C248 - 0x0601C2E8
|
|
const Gfx flame_seg6_dl_0601C248[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06004000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06004000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C2E8 - 0x0601C388
|
|
const Gfx flame_seg6_dl_0601C2E8[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06006000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06006000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C388 - 0x0601C428
|
|
const Gfx flame_seg6_dl_0601C388[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06008000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06008000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C428 - 0x0601C4C8
|
|
const Gfx flame_seg6_dl_0601C428[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_0600A000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C4C8 - 0x0601C568
|
|
const Gfx flame_seg6_dl_0601C4C8[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_0600C000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600C000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C568 - 0x0601C608
|
|
const Gfx flame_seg6_dl_0601C568[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_0600E000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_0600E000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C608 - 0x0601C6A8
|
|
const Gfx flame_seg6_dl_0601C608[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06010000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06010000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C6A8 - 0x0601C748
|
|
const Gfx flame_seg6_dl_0601C6A8[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06012000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06012000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C748 - 0x0601C7E8
|
|
const Gfx flame_seg6_dl_0601C748[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06014000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06014000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C7E8 - 0x0601C888
|
|
const Gfx flame_seg6_dl_0601C7E8[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06016000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06016000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C888 - 0x0601C928
|
|
const Gfx flame_seg6_dl_0601C888[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_06018000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_06018000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x0601C928 - 0x0601C9C8
|
|
const Gfx flame_seg6_dl_0601C928[] = {
|
|
gsSPDisplayList(flame_seg6_dl_0601C080),
|
|
gsDPLoadTextureBlock(flame_seg6_texture_0601A000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 64, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 6, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPVertex(flame_seg6_vertex_0601C000, 8, 0),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0B0),
|
|
//gsDPLoadTextureBlock((u8*)flame_seg6_texture_0601A000 + 0x1000, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_CLAMP, G_TX_CLAMP, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0C8),
|
|
gsSPDisplayList(flame_seg6_dl_0601C0E0),
|
|
gsSPEndDisplayList(),
|
|
};
|