#define piano_softspriteON (1) /*================================================================================================== piano Shape Gfx Data ====================================================================================================*/ /*##################################################*/ #ifdef GFX_SHAPE /*##################################################*/ /**************************************************************/ /* shape data piano_base_data (skeleton & animation) */ /**************************************************************/ #define ShapeColor_piano_base_data(r,g,b) ShapeColor(r,g,b) /*-------------------------------------------------------------*/ /* light data */ /*-------------------------------------------------------------*/ static Lights1 light_piano_base_data[]={ ShapeColor_piano_base_data(20,19,32), ShapeColor_piano_base_data(255,255,255), ShapeColor_piano_base_data(178,178,178), ShapeColor_piano_base_data(195,0,0), }; #include "piano_texture.h" #include "piano_tooth_shape.sou" #include "piano_body_shape.sou" /*-------------------------------------------------------------*/ /* animation data */ /*-------------------------------------------------------------*/ static short piano_base_data_prm[]={ 0, -17, 373, 196,-16383,16383,16503,-16503, }; static unsigned short piano_base_data_tbl[]= { 1, 1, /* chn21(3) */ 1, 2, 1, 3, 1, 4, /* chn21(3) */ 1, 0, 1, 0, 1, 0, /* piano_body(2) */ 1, 0, 1, 7, 1, 5, /* chn19(1) */ 1, 0, 1, 6, 1, 0, /* piano_tooth(0) */ 1, 0, 1, 0, }; AnimeRecord piano_base_data_anm={ MAP_ANIM_NORMAL, /* attr */ 0, /* code */ 0, /* start */ 0, /* loop */ 100, 4, piano_base_data_prm, piano_base_data_tbl }; /*-------------------------------------------------------------------------------------------------- AnimeData ---------------------------------------------------------------------------------------------------*/ static short piano_dance_anmim_prm[]={ 0, -17, 476, 490, 494, 459, 412, 388, 410, 455, 483, 456, 424, 429, 442, 458, 471, 196,-16383, 0, 1017, 2177, 3333, 4339, 5050, 5319, 4599, 2957, 1166, 0, 31, 715, 1147, 582,16383,16503, 6, -91, -324, -602, -835, -933, -861, -663, -365, 5, 662, 1465, 1857, 1377, 486,-1981,-1893,-1658,-1318, -916, -494, 106, 880, 1534, 1773, 1174, 13, -958, -1501,-1855,-16503,-16503,-16503,-16503,-16503,-16503, -16503,-16503,-16502,-16502,-16502,-16503,-16503,-16503, -16503,}; static unsigned short piano_dance_anmim_tbl[]= { 1, 1, /* chn21(3) */ 15, 2, 1, 17, 1, 18, /* chn21(3) */ 1, 0, 1, 0, 15, 36, /* piano_body(2) */ 15, 51, 15, 66, 1, 34, /* chn19(1) */ 1, 0, 1, 35, 1, 0, /* piano_tooth(0) */ 1, 0, 15, 19, }; AnimeRecord piano_dance_anmim_anm={ MAP_ANIM_NORMAL, /* attr */ 0, /* code */ 0, /* start */ 0, /* loop */ 15, 4, piano_dance_anmim_prm, piano_dance_anmim_tbl }; /*=================================================================================================*/ /* Animation Total */ /*=================================================================================================*/ AnimePtr piano_anime[] = { &piano_base_data_anm, &piano_dance_anmim_anm, }; /*##################################################*/ #else /*##################################################*/ /*================================================================================================== piano Shape Hms Data ====================================================================================================*/ extern Gfx gfx_piano_tooth[]; extern Gfx gfx_piano_body[]; /*-------------------------------------------------------------*/ /* Hms data */ /*-------------------------------------------------------------*/ Hierarchy RCP_HmsEnemypiano[] = { hmsShadow(100,150,1) hmsBegin() hmsScale(0.25f) hmsBegin() hmsJoint(RM_SURF,NULL,0,0,0) /* ,NULL , (0) */ hmsBegin() hmsJoint(RM_SURF,gfx_piano_body,0,0,0) /* ,piano_body, (2) */ hmsBegin() hmsJoint(RM_SURF,NULL,-141,-546,218) /* ,chn19, (1) */ hmsBegin() hmsJoint(RM_SURF,gfx_piano_tooth,0,0,0) /* ,piano_tooth,(0) */ hmsEnd() hmsEnd() hmsEnd() hmsEnd() hmsEnd() hmsEnd() hmsExit() }; // extern AnimeRecord piano_base_data_anm[]; // extern Hierarchy RCP_HmsEnemypiano_base_data[]; /*=============================================================*/ /* END END */ /*=============================================================*/ /*##################################################*/ #endif /*##################################################*/