269 lines
7.2 KiB
Plaintext
269 lines
7.2 KiB
Plaintext
#define book_softspriteON (1)
|
|
|
|
/*==================================================================================================
|
|
book Shape Gfx Data
|
|
====================================================================================================*/
|
|
|
|
/*##################################################*/
|
|
#ifdef GFX_SHAPE
|
|
/*##################################################*/
|
|
|
|
/**************************************************************/
|
|
/* shape data book_laugh (skeleton & animation) */
|
|
/**************************************************************/
|
|
|
|
#define ShapeColor_book_laugh(r,g,b) ShapeColor(r,g,b)
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* light data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
static Lights1 light_book_laugh[]={
|
|
ShapeColor_book_laugh(255,255,255),
|
|
ShapeColor_book_laugh(12,102,38),
|
|
ShapeColor_book_laugh(255,255,255),
|
|
ShapeColor_book_laugh(255,0,0),
|
|
};
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* vertex & polygon data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/****************
|
|
(0),book_toothA,RCP_book_laugh0,NULL,(-1),NULL,(-1),0,0,0
|
|
(1),book_toothB,RCP_book_laugh1,NULL,(-1),NULL,(-1),0,0,0
|
|
(2),book_coverB,RCP_book_laugh2,book_toothA,(0),NULL,(-1),0,0,0
|
|
(3),book_coverA,RCP_book_laugh3,book_toothB,(1),NULL,(-1),0,0,0
|
|
(4),book_pagesB,RCP_book_laugh4,book_coverB,(2),NULL,(-1),0,0,0
|
|
(5),book_pagesA,RCP_book_laugh5,book_coverA,(3),NULL,(-1),0,0,0
|
|
(6),jnt1_1,NULL,NULL,(-1),book_pagesB,(4),0,0,0
|
|
(7),jnt3_1,NULL,NULL,(-1),book_pagesA,(5),0,0,0
|
|
(8),chn3,NULL,NULL,(-1),jnt3_1,(7),0,0,0
|
|
(9),chn1,light_sourcex,chn3,(8),jnt1_1,(6),0,0,0
|
|
****************/
|
|
|
|
/*-------------------------------------------------------------*/
|
|
/* animation data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
static short book_laugh_prm[]={
|
|
0,-16383, 1820, 3472, 6539, 8191, 6539, 3472,
|
|
2730, 4146, 6775, 8191, 6775, 4146,16383,-32767,
|
|
};
|
|
|
|
static unsigned short book_laugh_tbl[]= {
|
|
1, 0, /* chn1(9) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 1, /* chn1(9) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* jnt1_1(6) */
|
|
1, 0,
|
|
6, 2,
|
|
1, 0, /* book_pagesB(4) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_coverB(2) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_toothA(0) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 14, /* chn3(8) */
|
|
1, 15,
|
|
1, 0,
|
|
1, 0, /* jnt3_1(7) */
|
|
1, 0,
|
|
6, 8,
|
|
1, 0, /* book_pagesA(5) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_coverA(3) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_toothB(1) */
|
|
1, 0,
|
|
1, 0,
|
|
};
|
|
|
|
AnimeRecord book_laugh_anm={
|
|
MAP_ANIM_NORMAL, /* attr */
|
|
0, /* code */
|
|
0, /* start */
|
|
0, /* loop */
|
|
6,
|
|
10,
|
|
book_laugh_prm,
|
|
book_laugh_tbl
|
|
};
|
|
/*--------------------------------------------------------------------------------------------------
|
|
AnimeData
|
|
---------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
static short book_open_prm[]={
|
|
0,-16383,16383,16383,16383,16383,16383,16383,
|
|
16383,16383,16383,16383,16383,16383,16383,16383,
|
|
16383,15540,14367,12930,11296, 9534, 7709, 5889,
|
|
4141, 2532, 1129, 0, -261, 424, 1353, 1820,
|
|
16383,16383,16383,16383,16383,16383,16383,16383,
|
|
16383,16383,16383,16383,16383,16383,16383,15535,
|
|
14349,12894,11240, 9459, 7619, 5791, 4045, 2451,
|
|
1079, 0, -85, 910, 2133, 2730,16383,-32767,
|
|
};
|
|
|
|
static unsigned short book_open_tbl[]= {
|
|
1, 0, /* chn1(9) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 1, /* chn1(9) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* jnt1_1(6) */
|
|
1, 0,
|
|
30, 2,
|
|
1, 0, /* book_pagesB(4) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_coverB(2) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_toothA(0) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 62, /* chn3(8) */
|
|
1, 63,
|
|
1, 0,
|
|
1, 0, /* jnt3_1(7) */
|
|
1, 0,
|
|
30, 32,
|
|
1, 0, /* book_pagesA(5) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_coverA(3) */
|
|
1, 0,
|
|
1, 0,
|
|
1, 0, /* book_toothB(1) */
|
|
1, 0,
|
|
1, 0,
|
|
};
|
|
|
|
AnimeRecord book_open_anm={
|
|
MAP_ANIM_NORMAL, /* attr */
|
|
0, /* code */
|
|
0, /* start */
|
|
0, /* loop */
|
|
30,
|
|
10,
|
|
book_open_prm,
|
|
book_open_tbl
|
|
};
|
|
|
|
/*=================================================================================================*/
|
|
/* Animation Total */
|
|
/*=================================================================================================*/
|
|
AnimePtr book_anime[] = {
|
|
&book_laugh_anm,
|
|
&book_open_anm,
|
|
};
|
|
|
|
|
|
/*##################################################*/
|
|
#else
|
|
/*##################################################*/
|
|
|
|
|
|
/*==================================================================================================
|
|
book Shape Hms Data
|
|
====================================================================================================*/
|
|
|
|
extern
|
|
extern
|
|
extern
|
|
extern
|
|
extern
|
|
extern
|
|
/*-------------------------------------------------------------*/
|
|
/* Hms data */
|
|
/*-------------------------------------------------------------*/
|
|
|
|
/*
|
|
* ninjen files
|
|
*/
|
|
|
|
#include "book/book_texture.h"
|
|
|
|
#include "book/book_coverA_shape.sou"
|
|
|
|
#include "book/book_coverB_shape.sou"
|
|
|
|
#include "book/book_pagesA_shape.sou"
|
|
|
|
#include "book/book_pagesB_shape.sou"
|
|
|
|
#include "book/book_toothA_shape.sou"
|
|
|
|
#include "book/book_toothB_shape.sou"
|
|
|
|
Hierarchy RCP_HmsEnemybook[] = {
|
|
hmsShadow(100,150,1)
|
|
hmsBegin()
|
|
hmsScale(0.25f)
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,sos,(6) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,jnt1_1,(6) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_book_pagesB,0,0,0) /* ,book_pagesB,(4) */
|
|
|
|
hmsJoint(RM_SURF,gfx_book_coverB,0,0,0) /* ,book_coverB,(2) */
|
|
|
|
hmsJoint(RM_SURF,gfx_book_toothA,0,0,0) /* ,book_toothA,(0) */
|
|
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,chn3,(8) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,NULL,0,0,0) /* ,jnt3_1,(7) */
|
|
hmsBegin()
|
|
hmsJoint(RM_SURF,gfx_book_pagesA,0,0,0) /* ,book_pagesA,(5) */
|
|
|
|
hmsJoint(RM_SURF,gfx_book_coverA,0,0,0) /* ,book_coverA,(3) */
|
|
|
|
hmsJoint(RM_SURF,gfx_book_toothB,0,0,0) /* ,book_toothB,(1) */
|
|
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsEnd()
|
|
hmsExit()
|
|
};
|
|
|
|
|
|
|
|
// extern AnimeRecord book_laugh_anm[];
|
|
// extern Hierarchy RCP_HmsEnemybook_laugh[];
|
|
/*=============================================================*/
|
|
/* END END */
|
|
/*=============================================================*/
|
|
|
|
/*##################################################*/
|
|
#endif
|
|
/*##################################################*/
|
|
|