sm64/shape/enemy2_e/wanwan/wanwan.shape

157 lines
4.8 KiB
Plaintext

#define wanwan_softspriteON (1)
/*==================================================================================================
wanwan Shape Gfx Data
====================================================================================================*/
/*##################################################*/
#ifdef GFX_SHAPE
/*##################################################*/
/**************************************************************/
/* shape data wanwan_anim (skeleton & animation) */
/**************************************************************/
#define ShapeColor_wanwan_anim(r,g,b) ShapeColor(r,g,b)
/*-------------------------------------------------------------*/
/* light data */
/*-------------------------------------------------------------*/
static Lights1 light_wanwan_anim[]={
ShapeColor_wanwan_anim(255,255,255),
ShapeColor_wanwan_anim(13,15,22),
ShapeColor_wanwan_anim(150,0,0),
};
/*
* ninjen files
*/
#include "wanwan_texture.h"
#include "wan_bodyA_shape.sou"
#include "wan_bodyB_shape.sou"
#include "wan_eye_shape.sou"
#include "wan_toothA_shape.sou"
#include "wan_toothB_shape.sou"
/*-------------------------------------------------------------*/
/* animation data */
/*-------------------------------------------------------------*/
static short wanwan_anim_prm[]={
0,16383,-27134,-27517,-28462,-29669,-30834,-31654,
-31828,-30546,-28060,-25659,-24631,-25476,-27377,-29657,
-31635,-32630,-31928,-30021,-28045,-27134,28594,28870,
29545,30394,31190,31709,31723,30546,28375,26314,
25465,26258,27988,30060,31879,-32684,32380,30896,
29325,28594,-27134,-27517,-28462,-29669,-30834,-31654,
-31828,-30546,-28060,-25659,-24631,-25476,-27377,-29657,
-31635,-32630,-31928,-30021,-28045,-27134,28594,28870,
29545,30394,31190,31709,31723,30546,28375,26314,
25465,26258,27988,30060,31879,-32684,32380,30896,
29325,28594,28594,28870,29545,30394,31190,31709,
31723,30546,28375,26314,25465,26258,27988,30060,
31879,-32684,32380,30896,29325,28594,16383,};
static unsigned short wanwan_anim_tbl[]= {
1, 0, /* chn1(6) */
1, 0,
1, 0,
1, 0, /* chn1(6) */
1, 1,
1, 0,
1, 0, /* wan_bodyB(2) */
1, 0,
20, 42,
1, 0, /* wan_toothB(0) */
1, 0,
20, 2,
1, 0, /* chn2(5) */
1, 102,
1, 0,
1, 0, /* wan_bodyA(4) */
1, 0,
20, 82,
1, 0, /* wan_toothA(3) */
1, 0,
20, 62,
1, 0, /* wan_eye(1) */
1, 0,
20, 22,
};
AnimeRecord wanwan_anim_anm={
MAP_ANIM_NORMAL, /* attr */
0, /* code */
0, /* start */
0, /* loop */
20,
7,
wanwan_anim_prm,
wanwan_anim_tbl
};
/*=================================================================================================*/
/* Animation Total */
/*=================================================================================================*/
AnimePtr wanwan_anime[] = {
&wanwan_anim_anm,
};
/*##################################################*/
#else
/*##################################################*/
/*==================================================================================================
wanwan Shape Hms Data
====================================================================================================*/
/*-------------------------------------------------------------*/
/* Hms data */
/*-------------------------------------------------------------*/
extern Gfx gfx_wan_bodyB[];
extern Gfx gfx_wan_toothB[];
extern Gfx gfx_wan_bodyA[];
extern Gfx gfx_wan_toothA[];
extern Gfx gfx_wan_eye[];
Hierarchy RCP_HmsEnemywanwan[] = {
hmsShadow(200,150,1)
hmsBegin()
hmsScale(0.25f)
hmsBegin()
hmsJoint(RM_SURF,NULL,0,0,0) /* ,XXX, */
hmsBegin()
hmsJoint(RM_SURF,gfx_wan_bodyB,0,0,0) /* ,wan_bodyB,(2) */
hmsJoint(RM_SURF,gfx_wan_toothB,0,0,0) /* ,wan_toothB,(0) */
hmsEnd()
hmsJoint(RM_SURF,NULL,0,0,0) /* ,chn2,(5) */
hmsBegin()
hmsJoint(RM_SURF,gfx_wan_bodyA,0,0,0) /* ,wan_bodyA,(4) */
hmsJoint(RM_SURF,gfx_wan_toothA,0,0,0) /* ,wan_toothA,(3) */
hmsJoint(RM_SPRITE,gfx_wan_eye,0,0,0) /* ,wan_eye,(1) */
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsExit()
};
// extern AnimeRecord wanwan_anim_anm[];
// extern Hierarchy RCP_HmsEnemywanwan_anim[];
/*=============================================================*/
/* END END */
/*=============================================================*/
/*##################################################*/
#endif
/*##################################################*/