179 lines
5.3 KiB
Plaintext
179 lines
5.3 KiB
Plaintext
#define shell_softspriteON (1)
|
|
|
|
/*==================================================================================================
|
|
big_shell Shape Gfx Data
|
|
====================================================================================================*/
|
|
|
|
/*##################################################*/
|
|
#ifdef GFX_SHAPE
|
|
/*##################################################*/
|
|
|
|
/**************************************************************/
|
|
/* shape data big_shell_close (skeleton & animation) */
|
|
/**************************************************************/
|
|
|
|
#define ShapeColor_big_shell_close(r,g,b) ShapeColor(r,g,b)
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* light data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
static Lights1 light_big_shell_close[]={
|
|
ShapeColor_big_shell_close(109,143,195),
|
|
ShapeColor_big_shell_close(96,162,226),
|
|
};
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* vertex & polygon data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
|
|
#include "shell_texture.h"
|
|
#include "shell_A_shape.sou"
|
|
#include "shell_B_shape.sou"
|
|
|
|
|
|
/****************
|
|
(0),shell_A,RCP_big_shell_close0,NULL,(-1),NULL,(-1),0,0,0
|
|
(1),chn1,NULL,NULL,(-1),shell_A,(0),-520,-6,0
|
|
(2),shell_B,RCP_big_shell_close1,NULL,(-1),chn1,(1),0,0,0
|
|
(3),chn2,light_sourcex,NULL,(-1),shell_B,(2),0,0,0
|
|
****************/
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* animation data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
static short big_shell_close_prm[]={
|
|
0,16383, 3592, 4405, 5208, 4376, 3514, 4181,
|
|
4902, 4270, 3646, 4385, 5106, 4458, 3713, 4010,
|
|
4391, 4060, 3676, 3601, 3584, 3597, 3609, 3592,
|
|
8932,19801,28355,31287,31903,32275,32120,32275,
|
|
-32767,-32767,-32767,};
|
|
|
|
static unsigned short big_shell_close_tbl[]= {
|
|
1, 0, /* chn2(3) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chn2(3) */
|
|
1, 1,
|
|
1, 0,
|
|
1, 0, /* shell_B(2) */
|
|
1, 0,
|
|
1, 34,
|
|
1, 32, /* chn1(1) */
|
|
1, 33,
|
|
1, 0,
|
|
1, 0, /* shell_A(0) */
|
|
1, 0,
|
|
30, 2,
|
|
};
|
|
|
|
AnimeRecord big_shell_close_anm={
|
|
MAP_ANIM_ONETIME, /* attr */
|
|
0, /* code */
|
|
0, /* start */
|
|
0, /* loop */
|
|
30,
|
|
4,
|
|
big_shell_close_prm,
|
|
big_shell_close_tbl
|
|
};
|
|
/*--------------------------------------------------------------------------------------------------
|
|
AnimeData
|
|
---------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
static short big_shell_open_prm[]={
|
|
0,16383,32275,32250,32178,32060,31897,31692,
|
|
31445,31159,30836,30476,30082,29656,29198,28711,
|
|
28196,27656,27091,26503,25895,25267,24622,23960,
|
|
23285,22597,21898,21190,20474,19752,19026,18298,
|
|
17569,16841,16115,15393,14677,13969,13270,12582,
|
|
11907,11245,10600, 9972, 9364, 8776, 8211, 7671,
|
|
7156, 6669, 6211, 5785, 5391, 5031, 4708, 4422,
|
|
4175, 3970, 3807, 3689, 3617, 3592,-32767,-32767,
|
|
-32767,};
|
|
|
|
static unsigned short big_shell_open_tbl[]= {
|
|
1, 0, /* chn2_1(3) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chn2_1(3) */
|
|
1, 1,
|
|
1, 0,
|
|
1, 0, /* shell_B(2) */
|
|
1, 0,
|
|
1, 64,
|
|
1, 62, /* chn1(1) */
|
|
1, 63,
|
|
1, 0,
|
|
1, 0, /* shell_A(0) */
|
|
1, 0,
|
|
60, 2,
|
|
};
|
|
|
|
AnimeRecord big_shell_open_anm={
|
|
MAP_ANIM_ONETIME, /* attr */
|
|
0, /* code */
|
|
0, /* start */
|
|
0, /* loop */
|
|
60,
|
|
4,
|
|
big_shell_open_prm,
|
|
big_shell_open_tbl
|
|
};
|
|
|
|
/*=================================================================================================*/
|
|
/* Animation Total */
|
|
/*=================================================================================================*/
|
|
AnimePtr big_shell_anime[] = {
|
|
&big_shell_close_anm,
|
|
&big_shell_open_anm,
|
|
};
|
|
|
|
|
|
/*##################################################*/
|
|
#else
|
|
/*##################################################*/
|
|
|
|
|
|
/*==================================================================================================
|
|
big_shell Shape Hms Data
|
|
====================================================================================================*/
|
|
extern Gfx gfx_shell_B[];
|
|
extern Gfx gfx_shell_A[];
|
|
|
|
Hierarchy RCP_HmsEnemybig_shell[] = {
|
|
hmsGroup()
|
|
hmsBegin()
|
|
hmsScale(0.25f)
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,NULL,(1) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_shell_B,0,0,0) /* ,shell_B,(2) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,-520,-6,0) /* ,chn1,(1) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_shell_A,0,0,0) /* ,shell_A,(0) */
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsExit()
|
|
};
|
|
|
|
|
|
|
|
// extern AnimeRecord big_shell_close_anm[];
|
|
// extern Hierarchy RCP_HmsEnemybig_shell_close[];
|
|
/*=============================================================*/
|
|
/* END END */
|
|
/*=============================================================*/
|
|
|
|
/*##################################################*/
|
|
#endif
|
|
/*##################################################*/
|
|
|