mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-14 13:25:26 -05:00
359 lines
16 KiB
C
359 lines
16 KiB
C
// 0x050003D8
|
|
static const s16 spindrift_seg5_animvalue_050003D8[] = {
|
|
0x0000, 0x00EC, 0x00EC, 0x00EE, 0x00F1, 0x00F5, 0x00F8, 0x00FC,
|
|
0x00FF, 0x0101, 0x0101, 0x0101, 0x00FF, 0x00FD, 0x00FA, 0x00F6,
|
|
0x00F3, 0x00F0, 0x00EE, 0x00EC, 0x00EC, 0x3FFF, 0x0000, 0x0D79,
|
|
0x1AF2, 0x286B, 0x35E4, 0x435D, 0x50D6, 0x5E50, 0x6BC9, 0x7942,
|
|
0x86BE, 0x9437, 0xA1B0, 0xAF2A, 0xBCA3, 0xCA1C, 0xD795, 0xE50E,
|
|
0xF287, 0x0000, 0x4BD0, 0xC001, 0x0000, 0x0D79, 0x1AF2, 0x286B,
|
|
0x35E4, 0x435D, 0x50D6, 0x5E50, 0x6BC9, 0x7942, 0x86BE, 0x9437,
|
|
0xA1B0, 0xAF2A, 0xBCA3, 0xCA1C, 0xD795, 0xE50E, 0xF287, 0x0000,
|
|
0x4BD0, 0xC001, 0x0000, 0x0D79, 0x1AF2, 0x286B, 0x35E4, 0x435D,
|
|
0x50D6, 0x5E50, 0x6BC9, 0x7942, 0x86BE, 0x9437, 0xA1B0, 0xAF2A,
|
|
0xBCA3, 0xCA1C, 0xD795, 0xE50E, 0xF287, 0x0000, 0x4BD0, 0x0000,
|
|
0x0D79, 0x1AF2, 0x286B, 0x35E4, 0x435D, 0x50D6, 0x5E50, 0x6BC9,
|
|
0x7942, 0x86BE, 0x9437, 0xA1B0, 0xAF2A, 0xBCA3, 0xCA1C, 0xD795,
|
|
0xE50E, 0xF287, 0x0000, 0x4BD0, 0x0000, 0x0D79, 0x1AF2, 0x286B,
|
|
0x35E4, 0x435D, 0x50D6, 0x5E50, 0x6BC9, 0x7942, 0x86BE, 0x9437,
|
|
0xA1B0, 0xAF2A, 0xBCA3, 0xCA1C, 0xD795, 0xE50E, 0xF287, 0x0000,
|
|
0x4BD0, 0x0000, 0x0D79, 0x1AF2, 0x286B, 0x35E4, 0x435D, 0x50D6,
|
|
0x5E50, 0x6BC9, 0x7942, 0x86BE, 0x9437, 0xA1B0, 0xAF2A, 0xBCA3,
|
|
0xCA1C, 0xD795, 0xE50E, 0xF287, 0x0000, 0x4BD0, 0x3FFF, 0xFA42,
|
|
0xFCCB, 0xFFCC, 0x02F5, 0x05F6, 0x087F, 0x0A3F, 0x0AE6, 0x0A5E,
|
|
0x08EB, 0x06C9, 0x0432, 0x0160, 0xFE8F, 0xFBF8, 0xF9D6, 0xF863,
|
|
0xF7DA, 0xF863, 0xF9D6, 0x24E7, 0x23FC, 0x22E4, 0x21BE, 0x20A6,
|
|
0x1FBA, 0x1F17, 0x1EDA, 0x1F0C, 0x1F93, 0x2059, 0x214A, 0x2251,
|
|
0x2357, 0x2448, 0x250F, 0x2596, 0x25C7, 0x2596, 0x250F, 0xFA42,
|
|
0xFCCB, 0xFFCC, 0x02F5, 0x05F6, 0x087F, 0x0A3F, 0x0AE6, 0x0A5E,
|
|
0x08EB, 0x06C9, 0x0432, 0x0160, 0xFE8F, 0xFBF8, 0xF9D6, 0xF863,
|
|
0xF7DA, 0xF863, 0xF9D6, 0x24E7, 0x23FC, 0x22E4, 0x21BE, 0x20A6,
|
|
0x1FBA, 0x1F17, 0x1EDA, 0x1F0C, 0x1F93, 0x2059, 0x214A, 0x2251,
|
|
0x2357, 0x2448, 0x250F, 0x2596, 0x25C7, 0x2596, 0x250F, 0xFA42,
|
|
0xFCCB, 0xFFCC, 0x02F5, 0x05F6, 0x087F, 0x0A3F, 0x0AE6, 0x0A5E,
|
|
0x08EB, 0x06C9, 0x0432, 0x0160, 0xFE8F, 0xFBF8, 0xF9D6, 0xF863,
|
|
0xF7DA, 0xF863, 0xF9D6, 0x24E7, 0x23FC, 0x22E4, 0x21BE, 0x20A6,
|
|
0x1FBA, 0x1F17, 0x1EDA, 0x1F0C, 0x1F93, 0x2059, 0x214A, 0x2251,
|
|
0x2357, 0x2448, 0x250F, 0x2596, 0x25C7, 0x2596, 0x250F, 0xC001,
|
|
};
|
|
|
|
// 0x050005F8
|
|
static const u16 spindrift_seg5_animindex_050005F8[] = {
|
|
0x0001, 0x0000, 0x0014, 0x0001, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0015, 0x0001, 0x0000,
|
|
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x010F,
|
|
0x0001, 0x0000, 0x0014, 0x00E7, 0x0014, 0x00FB,
|
|
0x0001, 0x0000, 0x0014, 0x00BF, 0x0014, 0x00D3,
|
|
0x0001, 0x0000, 0x0014, 0x0097, 0x0014, 0x00AB,
|
|
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0096,
|
|
0x0014, 0x0081, 0x0001, 0x0000, 0x0001, 0x0095,
|
|
0x0014, 0x006C, 0x0001, 0x0000, 0x0001, 0x0080,
|
|
0x0014, 0x0057, 0x0001, 0x0000, 0x0001, 0x006B,
|
|
0x0014, 0x0042, 0x0001, 0x0000, 0x0001, 0x0056,
|
|
0x0014, 0x002C, 0x0001, 0x0000, 0x0001, 0x0040,
|
|
0x0014, 0x0016, 0x0001, 0x0000, 0x0001, 0x002A,
|
|
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0041,
|
|
0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x002B,
|
|
};
|
|
|
|
// 0x050006AC
|
|
static const struct Animation spindrift_seg5_anim_050006AC = {
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0x13,
|
|
ANIMINDEX_NUMPARTS(spindrift_seg5_animindex_050005F8),
|
|
spindrift_seg5_animvalue_050003D8,
|
|
spindrift_seg5_animindex_050005F8,
|
|
0,
|
|
};
|
|
|
|
|
|
// False Bin ID?
|
|
UNUSED static const u64 spindrift_unused_1 = 1;
|
|
|
|
// 0x050006D0
|
|
ALIGNED8 static const u8 spindrift_seg5_texture_050006D0[] = {
|
|
#include "actors/spindrift/spindrift_face.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x05000ED0
|
|
ALIGNED8 static const u8 spindrift_seg5_texture_05000ED0[] = {
|
|
#include "actors/spindrift/spindrift_petal.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x050016D0
|
|
ALIGNED8 static const u8 spindrift_seg5_texture_050016D0[] = {
|
|
#include "actors/spindrift/spindrift_leaf.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x05001ED0
|
|
ALIGNED8 static const u8 spindrift_seg5_texture_05001ED0[] = {
|
|
#include "actors/spindrift/spindrift_head.rgba16.inc.c"
|
|
};
|
|
|
|
// 0x050026D0
|
|
static const Vtx spindrift_seg5_vertex_050026D0[] = {
|
|
{{{ -54, -54, 0}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 56, 56, 0}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -54, 56, 0}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 56, -54, 0}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x05002710 - 0x05002748
|
|
const Gfx spindrift_seg5_dl_05002710[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_05001ED0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(spindrift_seg5_vertex_050026D0, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002748 - 0x050027B8
|
|
const Gfx spindrift_seg5_dl_05002748[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
|
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(spindrift_seg5_dl_05002710),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x050027B8
|
|
static const Vtx spindrift_seg5_vertex_050027B8[] = {
|
|
{{{ 27, -112, -47}, 0, { -36, 520}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 27, -112, 48}, 0, { 990, 520}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -32, -112, -47}, 0, { -36, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ -32, -112, 48}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x050027F8 - 0x05002830
|
|
const Gfx spindrift_seg5_dl_050027F8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_050006D0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(spindrift_seg5_vertex_050027B8, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002830 - 0x050028A0
|
|
const Gfx spindrift_seg5_dl_05002830[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
|
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(spindrift_seg5_dl_050027F8),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x050028A0
|
|
static const Vtx spindrift_seg5_vertex_050028A0[] = {
|
|
{{{ 36, -109, -44}, 0, { -30, 572}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 83, -79, 0}, 0, { 480, 1092}, {0xff, 0xff, 0xff, 0xff}}},
|
|
{{{ 36, -109, 45}, 0, { 990, 572}, {0xff, 0xff, 0xff, 0xff}}},
|
|
};
|
|
|
|
// 0x050028D0 - 0x05002900
|
|
const Gfx spindrift_seg5_dl_050028D0[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_050006D0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPVertex(spindrift_seg5_vertex_050028A0, 3, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0x0),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002900 - 0x05002970
|
|
const Gfx spindrift_seg5_dl_05002900[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
|
|
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(spindrift_seg5_dl_050028D0),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_LIGHTING),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002970
|
|
static const Ambient spindrift_seg5_light_05002970 = {
|
|
{{0x7f, 0x7f, 0x7f}, 0, {0x7f, 0x7f, 0x7f}, 0}
|
|
};
|
|
|
|
// 0x05002978
|
|
static const Light spindrift_seg5_light_05002978 = {
|
|
{{0xff, 0xff, 0xff}, 0, {0xff, 0xff, 0xff}, 0, {0x28, 0x28, 0x28}, 0}
|
|
};
|
|
|
|
// 0x05002988
|
|
static const Vtx spindrift_seg5_vertex_05002988[] = {
|
|
{{{ 19, 22, 102}, 0, { 196, 1200}, {0x90, 0x25, 0x2e, 0xff}}},
|
|
{{{ 13, -6, 4}, 0, { 1032, 456}, {0x92, 0x3e, 0xf5, 0xff}}},
|
|
{{{ -20, -53, 69}, 0, { 250, -194}, {0x90, 0x25, 0x2e, 0xff}}},
|
|
{{{ 34, -56, 120}, 0, { -62, 330}, {0xa9, 0x04, 0x5c, 0xff}}},
|
|
};
|
|
|
|
// 0x050029C8 - 0x05002A20
|
|
const Gfx spindrift_seg5_dl_050029C8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_050016D0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPClearGeometryMode(G_CULL_BACK),
|
|
gsSPLight(&spindrift_seg5_light_05002978, 1),
|
|
gsSPLight(&spindrift_seg5_light_05002970, 2),
|
|
gsSPVertex(spindrift_seg5_vertex_05002988, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
|
gsSPSetGeometryMode(G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002A20 - 0x05002A80
|
|
const Gfx spindrift_seg5_dl_05002A20[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
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(spindrift_seg5_dl_050029C8),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002A80
|
|
static const Ambient spindrift_seg5_light_05002A80 = {
|
|
{{0x7f, 0x7f, 0x7f}, 0, {0x7f, 0x7f, 0x7f}, 0}
|
|
};
|
|
|
|
// 0x05002A88
|
|
static const Light spindrift_seg5_light_05002A88 = {
|
|
{{0xff, 0xff, 0xff}, 0, {0xff, 0xff, 0xff}, 0, {0x28, 0x28, 0x28}, 0}
|
|
};
|
|
|
|
// 0x05002A98
|
|
static const Vtx spindrift_seg5_vertex_05002A98[] = {
|
|
{{{ 0, -33, -69}, 0, { 514, 1102}, {0xa0, 0x40, 0xcd, 0xff}}},
|
|
{{{ 13, -2, 0}, 0, { 1070, 398}, {0x9c, 0x4c, 0xf1, 0xff}}},
|
|
{{{ 53, 33, -86}, 0, { 138, -146}, {0xa0, 0x40, 0xcd, 0xff}}},
|
|
{{{ 62, -15, -122}, 0, { -146, 482}, {0xac, 0x2e, 0xae, 0xff}}},
|
|
};
|
|
|
|
// 0x05002AD8 - 0x05002B30
|
|
const Gfx spindrift_seg5_dl_05002AD8[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_050016D0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPClearGeometryMode(G_CULL_BACK),
|
|
gsSPLight(&spindrift_seg5_light_05002A88, 1),
|
|
gsSPLight(&spindrift_seg5_light_05002A80, 2),
|
|
gsSPVertex(spindrift_seg5_vertex_05002A98, 4, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
|
|
gsSPSetGeometryMode(G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002B30 - 0x05002B90
|
|
const Gfx spindrift_seg5_dl_05002B30[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
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(spindrift_seg5_dl_05002AD8),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002B90
|
|
static const Ambient spindrift_seg5_light_05002B90 = {
|
|
{{0x7f, 0x7f, 0x7f}, 0, {0x7f, 0x7f, 0x7f}, 0}
|
|
};
|
|
|
|
// 0x05002B98
|
|
static const Light spindrift_seg5_light_05002B98 = {
|
|
{{0xff, 0xff, 0xff}, 0, {0xff, 0xff, 0xff}, 0, {0x28, 0x28, 0x28}, 0}
|
|
};
|
|
|
|
// 0x05002BA8
|
|
static const Vtx spindrift_seg5_vertex_05002BA8[] = {
|
|
{{{ 28, -6, 21}, 0, { 474, 1104}, {0x7e, 0xfd, 0x0b, 0xff}}},
|
|
{{{ 42, -20, -134}, 0, { -192, 0}, {0x7e, 0xfd, 0x0b, 0xff}}},
|
|
{{{ 42, 98, -96}, 0, { 1152, 0}, {0x7e, 0xfd, 0x0b, 0xff}}},
|
|
{{{ 28, -21, 0}, 0, { 474, 1104}, {0x7e, 0xf4, 0x00, 0xff}}},
|
|
{{{ 42, 122, -61}, 0, { -192, 0}, {0x7e, 0xf4, 0x00, 0xff}}},
|
|
{{{ 42, 122, 63}, 0, { 1152, 0}, {0x7e, 0xf4, 0x00, 0xff}}},
|
|
{{{ 28, -6, -20}, 0, { 474, 1104}, {0x7e, 0xfd, 0xf5, 0xff}}},
|
|
{{{ 42, 97, 97}, 0, { -192, 0}, {0x7e, 0xfd, 0xf5, 0xff}}},
|
|
{{{ 42, -21, 135}, 0, { 1152, 0}, {0x7e, 0xfd, 0xf5, 0xff}}},
|
|
{{{ 28, 18, -12}, 0, { 474, 1104}, {0x7e, 0x09, 0xf9, 0xff}}},
|
|
{{{ 42, -61, 122}, 0, { -192, 0}, {0x7e, 0x09, 0xf9, 0xff}}},
|
|
{{{ 42, -135, 21}, 0, { 1152, 0}, {0x7e, 0x09, 0xf9, 0xff}}},
|
|
{{{ 28, 18, 13}, 0, { 474, 1104}, {0x7e, 0x0a, 0x07, 0xff}}},
|
|
{{{ 42, -134, -21}, 0, { -192, 0}, {0x7e, 0x0a, 0x07, 0xff}}},
|
|
{{{ 42, -61, -122}, 0, { 1152, 0}, {0x7e, 0x0a, 0x07, 0xff}}},
|
|
};
|
|
|
|
// 0x05002C98 - 0x05002D08
|
|
const Gfx spindrift_seg5_dl_05002C98[] = {
|
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spindrift_seg5_texture_05000ED0),
|
|
gsDPLoadSync(),
|
|
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
|
gsSPClearGeometryMode(G_CULL_BACK),
|
|
gsSPLight(&spindrift_seg5_light_05002B98, 1),
|
|
gsSPLight(&spindrift_seg5_light_05002B90, 2),
|
|
gsSPVertex(spindrift_seg5_vertex_05002BA8, 15, 0),
|
|
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
|
|
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
|
|
gsSP1Triangle(12, 13, 14, 0x0),
|
|
gsSPSetGeometryMode(G_CULL_BACK),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// 0x05002D08 - 0x05002D68
|
|
const Gfx spindrift_seg5_dl_05002D08[] = {
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
|
|
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(spindrift_seg5_dl_05002C98),
|
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPEndDisplayList(),
|
|
};
|
|
|
|
// unlike the other anim lists, this one is way after the actual anim entry. why?
|