140 lines
3.7 KiB
Plaintext
140 lines
3.7 KiB
Plaintext
#define chair_softspriteON (1)
|
|
|
|
/*==================================================================================================
|
|
chair Shape Gfx Data
|
|
====================================================================================================*/
|
|
|
|
/*##################################################*/
|
|
#ifdef GFX_SHAPE
|
|
/*##################################################*/
|
|
|
|
/**************************************************************/
|
|
/* shape data chair_base_data (skeleton & animation) */
|
|
/**************************************************************/
|
|
|
|
#define ShapeColor_chair_base_data(r,g,b) ShapeColor(r,g,b)
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* light data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
static Lights1 light_chair_base_data[]={
|
|
ShapeColor_chair_base_data(100,54,26),
|
|
};
|
|
|
|
|
|
#include "chair_texture.h"
|
|
#include "chairA_shape.sou"
|
|
#include "chairB_shape.sou"
|
|
#include "chairC_shape.sou"
|
|
#include "chairD_shape.sou"
|
|
|
|
|
|
|
|
static short chair_base_data_prm[]={
|
|
0, 153, -86,-16383,-16383,-16383,16383,};
|
|
|
|
static unsigned short chair_base_data_tbl[]= {
|
|
1, 0, /* chn27(7) */
|
|
1, 1,
|
|
1, 2,
|
|
1, 0, /* chn27(7) */
|
|
1, 3,
|
|
1, 0,
|
|
1, 0, /* chairB(6) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chn25(5) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chairD(0) */
|
|
1, 0,
|
|
1, 4,
|
|
1, 0, /* chn24(4) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chairC(1) */
|
|
1, 0,
|
|
1, 5,
|
|
1, 0, /* chn23(3) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* chairA(2) */
|
|
1, 0,
|
|
1, 6,
|
|
};
|
|
|
|
AnimeRecord chair_base_data_anm={
|
|
MAP_ANIM_NORMAL, /* attr */
|
|
0, /* code */
|
|
0, /* start */
|
|
0, /* loop */
|
|
100,
|
|
8,
|
|
chair_base_data_prm,
|
|
chair_base_data_tbl
|
|
};
|
|
|
|
/*=================================================================================================*/
|
|
/* Animation Total */
|
|
/*=================================================================================================*/
|
|
AnimePtr chair_anime[] = {
|
|
&chair_base_data_anm,
|
|
};
|
|
|
|
|
|
/*##################################################*/
|
|
#else
|
|
/*##################################################*/
|
|
|
|
extern Gfx gfx_chairA[];
|
|
extern Gfx gfx_chairB[];
|
|
extern Gfx gfx_chairC[];
|
|
extern Gfx gfx_chairD[];
|
|
|
|
Hierarchy RCP_HmsEnemychair[] = {
|
|
hmsShadow(100,150,1)
|
|
hmsBegin()
|
|
hmsScale(0.25f)
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,null,(6) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_chairB,0,0,0) /* ,chairB,(6) */
|
|
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,-7,-9,0) /* ,chn25,(5) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_chairD,0,0,0) /* ,chairD,(0) */
|
|
|
|
hmsEnd()
|
|
hmsJoint(RM_SURF,NULL,156,-9,0) /* ,chn24,(4) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_chairC,0,0,0) /* ,chairC,(1) */
|
|
|
|
hmsEnd()
|
|
hmsJoint(RM_SURF,NULL,-3,17,0) /* ,chn23,(3) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_chairA,0,0,0) /* ,chairA,(2) */
|
|
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsExit()
|
|
};
|
|
|
|
|
|
|
|
// extern AnimeRecord chair_base_data_anm[];
|
|
// extern Hierarchy RCP_HmsEnemychair_base_data[];
|
|
/*=============================================================*/
|
|
/* END END */
|
|
/*=============================================================*/
|
|
|
|
/*##################################################*/
|
|
#endif
|
|
/*##################################################*/
|
|
|