sm64/shape/keep/snow_ball.shape

98 lines
5.2 KiB
Plaintext

/********************************************************************************
Snoe Ball shape data.
[ Feb 14 1996 ]
********************************************************************************/
#ifdef HMS_SHAPE
/* ============================================================================================
: Hms data of snow ball.
=============================================================================================== */
extern Gfx RCP_snow_ball[];
/********************************************************************************/
/* Hierarchy map data. */
/********************************************************************************/
Hierarchy RCP_HmsSnowBall[] = {
hmsShadow(50, 180, 1)
hmsBegin()
hmsGfx(RM_SPRITE, RCP_snow_ball)
hmsEnd()
hmsExit()
};
#else
/* ============================================================================================
: Gfx data of snow ball.
=============================================================================================== */
#define SnowBall_RED 255
#define SnowBall_GREEN 255
#define SnowBall_BLUE 255
#define SnowBall_ALPHA 255
/********************************************************************************/
/* Vertex data. */
/********************************************************************************/
static Vtx vtx_snow_ball[] = {
{ -15, -15, 0, 0, 0<<5, 15<<5, SnowBall_RED, SnowBall_GREEN, SnowBall_BLUE, SnowBall_ALPHA },
{ 15, -15, 0, 0, 15<<5, 15<<5, SnowBall_RED, SnowBall_GREEN, SnowBall_BLUE, SnowBall_ALPHA },
{ 15, 15, 0, 0, 15<<5, 0<<5, SnowBall_RED, SnowBall_GREEN, SnowBall_BLUE, SnowBall_ALPHA },
{ -15, 15, 0, 0, 0<<5, 0<<5, SnowBall_RED, SnowBall_GREEN, SnowBall_BLUE, SnowBall_ALPHA },
};
/********************************************************************************/
/* Texture data. */
/********************************************************************************/
static unsigned short snow_ball_txt[] = {
0xd6be, 0xdefe, 0xf7be, 0xffbe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe,
0xc63e, 0xd6be, 0xffbe, 0xfffe, 0xfffe, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xefbe,
0xbdfe, 0xce7e, 0xf7be, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 0xfffe, 0xef7e,
0xbdfe, 0xce7e, 0xef7f, 0xf7bf, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 0xef7e,
0xc63e, 0xce7e, 0xe73f, 0xf77f, 0xffbf, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 0xefbe,
0xc63e, 0xcebf, 0xdeff, 0xe73f, 0xf7bf, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xef7e,
0xb5fe, 0xce7f, 0xd6bf, 0xdf3f, 0xf7bf, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xf7bf, 0xe73e,
0xa53e, 0xbdff, 0xc63f, 0xd6bf, 0xef7f, 0xf7ff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xf7bf, 0xf7bf, 0xef7f, 0xdefe,
0x9cfe, 0xa53f, 0xb5bf, 0xce7f, 0xdeff, 0xef7f, 0xf7bf, 0xffff, 0xffff, 0xffff, 0xffff, 0xf7bf, 0xf7bf, 0xef7f, 0xdeff, 0xce7e,
0x94be, 0x9cff, 0xad7f, 0xbdff, 0xce7f, 0xd6ff, 0xef7f, 0xf7bf, 0xf7bf, 0xef7f, 0xef7f, 0xef7f, 0xf7bf, 0xef7f, 0xce7f, 0xbdfe,
0x94be, 0x94bf, 0x9cff, 0xad7f, 0xb5bf, 0xc63f, 0xd6bf, 0xdeff, 0xdf3f, 0xdf3f, 0xe73f, 0xdf3f, 0xdeff, 0xd6bf, 0xbdff, 0xad7e,
0x8c7e, 0x8c7e, 0x8c7f, 0x94bf, 0x9cff, 0xa53f, 0xb5bf, 0xbdff, 0xbdff, 0xc63f, 0xce7f, 0xce7f, 0xc63f, 0xbdff, 0xa57e, 0x9cfe,
0x843e, 0x847e, 0x8c7f, 0x8c7f, 0x8c7f, 0x94bf, 0x9cff, 0xad7f, 0xad7f, 0xad7f, 0xad7f, 0xad7f, 0xa53f, 0xa53f, 0x9cfe, 0x9cbe,
0x7bfc, 0x843e, 0x847e, 0x843f, 0x8c7f, 0x8c7f, 0x8c7f, 0x94bf, 0x94bf, 0x94bf, 0x94bf, 0x94bf, 0x94bf, 0x94be, 0x8c7e, 0x8c7e,
0x6b76, 0x73fc, 0x7c3e, 0x843e, 0x843e, 0x843f, 0x843f, 0x843f, 0x843f, 0x843f, 0x843f, 0x843e, 0x843e, 0x843e, 0x843e, 0x843e,
0x52ee, 0x6334, 0x73ba, 0x7bfc, 0x7bfe, 0x843e, 0x843e, 0x7bfe, 0x7bfe, 0x7bfe, 0x7bfe, 0x7bfe, 0x7bfe, 0x7bfe, 0x7bfe, 0x73bc,
};
/********************************************************************************/
/* Graphic display list. */
/********************************************************************************/
Gfx RCP_snow_ball[] = {
gsDPPipeSync(),
gsSPClearGeometryMode(G_LIGHTING),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsDPLoadTextureBlock(snow_ball_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0,
G_TX_CLAMP|G_TX_NOMIRROR, G_TX_CLAMP|G_TX_NOMIRROR,
4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
gsSPVertex(&vtx_snow_ball[0], 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList()
};
#endif