/**********************************************************************************
		Cameraman jyugemu.
									[ 1996.4.23 ]
***********************************************************************************/


#ifdef	HMS_SHAPE


extern Gfx	gfx_j2_body[]	;
extern Gfx	gfx_j2_head[]	;
extern Gfx	gfx_j2_Lhand[]	;
extern Gfx	gfx_j2_Rhand[]	;
extern Gfx	gfx_j2_glass1[]	;
extern Gfx	gfx_j2_glass2[]	;
extern Gfx	gfx_j_camera[]	;


extern Gfx	RCP_cameraman_fly1[];
extern Gfx	RCP_cameraman_fly3[];
extern Gfx	RCP_cameraman_fly4[];

/* ========================================================================
		: Hms data.
===========================================================================	*/
Hierarchy RCP_HmsEnemycamerajugem[] = {
 hmsShadow(100,150,1)
 hmsBegin()
 hmsScale(0.25f)
    hmsBegin()
      hmsJoint(RM_SURF,NULL,0,0,0)										/* ,NULL,(0) */
      hmsBegin()
         hmsJoint(RM_SURF,gfx_j2_body,0,0,0)  							/* ,j_body1,(10) */
         hmsBegin()	
            hmsJoint(RM_SURF,gfx_j2_head,132,0,0)  						/* ,j_head,(9) */
			hmsBegin()
				hmsSelect(2, ControlShapeAnime)
				hmsBegin()
					hmsGfx(RM_SPRITE, gfx_j2_glass1)
					hmsGfx(RM_SPRITE, gfx_j2_glass2)
				hmsEnd()
			hmsEnd()
            hmsJoint(RM_SURF,NULL,87,18,72)  							/* ,chn19,(8) */
            hmsBegin()
               hmsJoint(RM_SURF,gfx_j2_Lhand,0,0,0)  				/* ,j_Lhand1,(0) */
            hmsEnd()
            hmsJoint(RM_SURF,NULL,87,18,-72)  							/* ,chn21,(7) */
            hmsBegin()
               hmsJoint(RM_SURF,gfx_j2_Rhand,0,0,0)  				/* ,j_Rhand1,(6) */
               hmsBegin()
                  hmsJoint(RM_SURF,NULL,334,-214,-50) 				    /* ,chn22,(5) */
                  hmsBegin()
                     hmsJoint(RM_SURF,RCP_cameraman_fly4,0,0,0)  		/* ,grid1,(4) */
                     hmsBegin()
                        hmsJoint(RM_SURF,gfx_j_camera,191,0,0) 	/* ,camera,(2) */
                     hmsEnd()
                     hmsJoint(RM_SURF,RCP_cameraman_fly3,0,0,0)  		/* ,grid2,(3) */
                  hmsEnd()
               hmsEnd()
               hmsJoint(RM_SURF,RCP_cameraman_fly1,0,0,0)  				/* ,j_sao,(1) */
            hmsEnd()
         hmsEnd()
      hmsEnd()
   hmsEnd()
 hmsEnd()
 hmsExit()
};


#else


/* ========================================================================
		: Gfx data.
===========================================================================	*/
#include "jugem_texture.h"
#include "j_body_shape.sou"
#include "j_head_shape.sou"
#include "j_Lhand_shape.sou"
#include "j_Rhand_shape.sou"
#include "j_glass_shape.sou"
#include "j_camera_shape.sou"
#include "j_softimage_shape.sou"


/* ========================================================================
		: Animation data.
===========================================================================	*/
static short cameraman_fly_prm[]={
	    0,  151,  -62,16383, -890, 5139,-30283,  410,
	-4047,-30547,    0,    0,    0,    0,    0,    0,
	    0,    1,    2,    2,    3,    4,    4,    4,
	    5,    5,    5,    5,    5,    6,    6,    6,
	    6,    6,    6,    5,    4,    3,    1,    0,
	-1773,-1612,-1378,-1085, -744, -372,   19,  416,
	  804, 1171, 1501, 1782, 1999, 2140, 2190, 2147,
	 2025, 1834, 1587, 1294,  965,  612,  246, -122,
	 -482, -823,-1133,-1402,-1619,-1773,  154,  101,
	   64,   42,   34,   38,   53,   78,  110,  149,
	  194,  242,  292,  344,  395,  444,  490,  532,
	  567,  595,  614,  623,  620,  604,  573,  527,
	  463,  381,  278,  154, 1460, 1414, 1286, 1090,
	  839,  547,  228, -104, -437, -756,-1048,-1299,
	-1495,-1623,-1668,-1628,-1516,-1343,-1119, -857,
	 -567, -260,   51,  358,  648,  911, 1134, 1308,
	 1420, 1460,-16537,-16537,-16537,-16537,-16537,-16537,
	-16537,-16537,-16538,-16538,-16538,-16538,-16538,-16538,
	-16538,-16538,-16538,-16538,-16538,-16538,-16538,-16538,
	-16537,-16537,-16537,-16537,-16537,-16537,-16537,-16537,
	 1460, 1414, 1286, 1090,  839,  547,  228, -104,
	 -437, -756,-1048,-1299,-1495,-1623,-1668,-1628,
	-1516,-1343,-1119, -857, -567, -260,   51,  358,
	  648,  911, 1134, 1308, 1420, 1460,-16537,-16537,
	-16537,-16537,-16537,-16537,-16537,-16537,-16538,-16538,
	-16538,-16538,-16538,-16538,-16538,-16538,-16538,-16538,
	-16538,-16538,-16538,-16538,-16537,-16537,-16537,-16537,
	-16537,-16537,-16537,-16537, 1246,-3880,30440,  410,
	-4047,-30547,-23861,-23861,  -54, -400,10051,10058,
	10077,10107,10145,10189,10237,10288,10339,10388,
	10433,10472,10503,10524,10533,10528,10512,10486,
	10452,10412,10367,10319,10271,10223,10178,10137,
	10102,10074,10057,10051,23653,};

static unsigned short cameraman_fly_tbl[]= {
	     1,     0,	/* chn18(11) */
	     1,     1,
	     1,     2,
	     1,     0,	/* chn18(11) */
	     1,     3,
	     1,     0,
	     1,     0,	/* j_body1(10) */
	     1,     0,
	     1,   260,
	     1,   228,	/* j_head(9) */
	     1,   229,
	    30,   230,
	     1,     0,	/* chn19(8) */
	     1,     0,
	     1,   227,
	     1,     4,	/* j_Lhand1(0) */
	     1,     5,
	     1,     6,
	     1,     0,	/* chn21(7) */
	     1,     0,
	     1,   226,
	     1,   223,	/* j_Rhand1(6) */
	     1,   224,
	     1,   225,
	     1,   220,	/* chn22(5) */
	     1,   221,
	     1,   222,
	     1,     0,	/* grid1(4) */
	    30,   160,
	    30,   190,
	    30,    10,	/* camera(2) */
	    30,    40,
	    30,    70,
	     1,     0,	/* grid2(3) */
	    30,   100,
	    30,   130,
	     1,     7,	/* j_sao(1) */
	     1,     8,
	     1,     9,
};

AnimeRecord cameraman_fly_anm={
	MAP_ANIM_NORMAL,	/* attr 	*/
	0,					/* code 	*/
	0,					/* start 	*/
	0,					/* loop 	*/
	30,
	12,
	cameraman_fly_prm,
	cameraman_fly_tbl
};

AnimePtr camerajugem_anime[] = {
	&cameraman_fly_anm,
};


#endif
