sm64/shape/enemy2_h/bat/bat.sou
2022-12-04 22:27:02 -05:00

580 lines
17 KiB
Plaintext

/*==================================================================================================
bat Shape Gfx Data
====================================================================================================*/
/*##################################################*/
#ifdef GFX_SHAPE
/*##################################################*/
/**************************************************************/
/* shape data bat_fly (skeleton & animation) */
/**************************************************************/
#define ShapeColor_bat_fly(r,g,b) ShapeColor(r,g,b)
/*-------------------------------------------------------------*/
/* light data */
/*-------------------------------------------------------------*/
static Lights1 light_bat_fly[]={
ShapeColor_bat_fly(42,0,149),
ShapeColor_bat_fly(255,255,255),
};
/*-------------------------------------------------------------*/
/* vertex & polygon data */
/*-------------------------------------------------------------*/
static Vtx vtx_bat_fly0[]={
{0,0,131,0,0,0,0,-127,0,0},
{0,0,-132,0,0,0,0,-127,0,0},
{262,0,-132,0,0,0,0,-127,0,0},
{262,0,131,0,0,0,0,-127,0,255},
};
static Vtx vtx_bat_fly1[]={
{262,0,-131,0,0,0,0,-127,0,0},
{262,0,132,0,0,0,0,-127,0,0},
{0,0,132,0,0,0,0,-127,0,0},
{0,0,-131,0,0,0,0,-127,0,255},
};
static Vtx vtx_bat_fly2[]={
{12,78,-15,0,0,0,-20,125,0,0},
{-17,73,-9,0,0,0,-20,125,0,0},
{-17,73,9,0,0,0,-20,125,0,0},
{12,78,15,0,0,0,-20,125,0,255},
{185,47,-55,0,0,0,-59,107,-32,0},
{192,32,-118,0,0,0,-34,122,6,0},
{79,-3,-32,0,0,0,-34,122,6,0},
{79,-3,32,0,0,0,-34,122,-6,255},
{115,33,129,0,0,0,-4,118,-44,255},
{192,32,118,0,0,0,-34,122,-6,255},
{115,33,-129,0,0,0,-4,118,44,255},
{185,47,55,0,0,0,-59,107,32,255},
};
static Vtx vtx_bat_fly3[]={
{81,3,-52,0,0,0,74,-11,-102,0},
{16,-18,-88,0,0,0,-46,-10,-117,0},
{29,70,-45,0,0,0,1,75,-102,0},
{79,37,-44,0,0,0,62,55,-95,255},
{39,111,0,0,0,0,-6,126,0,255},
{64,76,24,0,0,0,69,89,57,255},
{64,76,-24,0,0,0,69,89,-57,255},
{29,70,45,0,0,0,1,75,102,255},
{16,-18,88,0,0,0,-46,-10,117,255},
{81,3,52,0,0,0,74,-11,102,255},
{79,37,44,0,0,0,62,55,95,255},
{33,-55,44,0,0,0,60,-101,47,255},
{33,-55,-44,0,0,0,60,-101,-47,255},
{82,-37,-24,0,0,0,80,-86,-47,255},
{82,-37,24,0,0,0,80,-86,47,255},
{-14,56,27,0,0,0,-100,54,54,255},
{-14,56,-27,0,0,0,-100,54,-54,0},
{-11,-14,0,0,0,0,-117,-47,0,0},
{112,4,-24,0,0,0,114,-25,-49,255},
{110,53,0,0,0,0,106,69,0,255},
{112,4,24,0,0,0,114,-25,49,255},
{82,-37,-24,0,0,0,80,-86,-47,255},
{33,-55,-44,0,0,0,60,-101,-47,255},
{16,-18,-88,0,0,0,-46,-10,-117,255},
{81,3,-52,0,0,0,74,-11,-102,255},
{64,76,-24,0,0,0,69,89,-57,255},
{64,76,24,0,0,0,69,89,57,255},
{39,111,0,0,0,0,-6,126,0,255},
{29,70,45,0,0,0,1,75,102,255},
{79,37,44,0,0,0,62,55,95,255},
{81,3,52,0,0,0,74,-11,102,255},
{-14,56,27,0,0,0,-100,54,54,255},
{-11,-14,0,0,0,0,-117,-47,0,0},
{16,-18,88,0,0,0,-46,-10,117,0},
{33,-55,44,0,0,0,60,-101,47,255},
{82,-37,24,0,0,0,80,-86,47,255},
{81,3,52,0,0,0,74,-11,102,255},
{112,4,-24,0,0,0,114,-25,-49,255},
{112,4,24,0,0,0,114,-25,49,255},
{82,-37,-24,0,0,0,80,-86,-47,255},
{33,-55,-44,0,0,0,-91,-86,-13,255},
{33,-55,44,0,0,0,-91,-86,13,255},
{16,-18,-88,0,0,0,-46,-10,-117,255},
{81,3,-52,0,0,0,74,-11,-102,255},
{79,37,-44,0,0,0,62,55,-95,255},
{64,76,-24,0,0,0,69,89,-57,255},
{110,53,0,0,0,0,106,69,0,255},
{64,76,24,0,0,0,69,89,57,255},
{79,37,44,0,0,0,62,55,95,0},
{110,53,0,0,0,0,106,69,0,0},
{29,70,45,0,0,0,1,75,102,255},
{39,111,0,0,0,0,-6,126,0,255},
{-14,56,27,0,0,0,-100,54,54,255},
{64,76,-24,0,0,0,69,89,-57,255},
{79,37,-44,0,0,0,62,55,-95,255},
{29,70,-45,0,0,0,1,75,-102,255},
{-14,56,-27,0,0,0,-100,54,-54,255},
{112,4,-24,0,0,0,114,-25,-49,255},
{81,3,-52,0,0,0,74,-11,-102,255},
{16,-18,-88,0,0,0,-46,-10,-117,255},
{16,-18,88,0,0,0,-46,-10,117,255},
};
static Vtx vtx_bat_fly4[]={
{-49,-15,14,0,0,0,-116,-36,34,0},
{-49,0,20,0,0,0,-117,-2,48,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-37,-27,26,0,0,0,-88,-64,63,255},
{-37,0,37,0,0,0,-90,-1,89,255},
{-19,-35,35,0,0,0,-47,-83,82,255},
{-20,0,49,0,0,0,-48,0,117,255},
{0,-37,37,0,0,0,1,-89,89,255},
{0,0,53,0,0,0,0,0,127,255},
{21,-34,35,0,0,0,50,-82,82,255},
{20,0,49,0,0,0,48,0,117,255},
{38,-26,26,0,0,0,91,-61,63,255},
{37,0,37,0,0,0,90,1,89,255},
{49,-13,14,0,0,0,117,-32,34,255},
{49,0,20,0,0,0,117,2,48,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,-21,0,0,0,0,-116,-50,0,255},
{-49,-15,14,0,0,0,-116,-36,34,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-37,-38,0,0,0,0,-88,-91,0,255},
{-37,-27,26,0,0,0,-88,-64,63,255},
{-19,-49,0,0,0,0,-46,-118,0,255},
{-19,-35,35,0,0,0,-47,-83,82,255},
{0,-53,0,0,0,0,2,-127,0,255},
{0,-37,37,0,0,0,1,-89,89,255},
{21,-49,0,0,0,0,50,-116,0,255},
{21,-34,35,0,0,0,50,-82,82,255},
{38,-37,0,0,0,0,91,-87,0,255},
{38,-26,26,0,0,0,91,-61,63,255},
{49,-19,0,0,0,0,118,-46,0,255},
{49,-13,14,0,0,0,117,-32,34,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,-15,-14,0,0,0,-116,-36,-34,255},
{-49,-21,0,0,0,0,-116,-50,0,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-37,-27,-26,0,0,0,-88,-64,-63,255},
{-37,-38,0,0,0,0,-88,-91,0,255},
{-19,-35,-35,0,0,0,-47,-83,-82,255},
{-19,-49,0,0,0,0,-46,-118,0,255},
{0,-37,-37,0,0,0,1,-89,-89,255},
{0,-53,0,0,0,0,2,-127,0,255},
{21,-34,-35,0,0,0,50,-82,-82,255},
{21,-49,0,0,0,0,50,-116,0,255},
{38,-26,-26,0,0,0,91,-61,-63,255},
{38,-37,0,0,0,0,91,-87,0,255},
{49,-13,-14,0,0,0,117,-32,-34,255},
{49,-19,0,0,0,0,118,-46,0,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,0,-20,0,0,0,-117,-2,-48,255},
{-49,-15,-14,0,0,0,-116,-36,-34,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-37,0,-37,0,0,0,-90,-1,-89,255},
{-37,-27,-26,0,0,0,-88,-64,-63,255},
{-20,0,-49,0,0,0,-48,0,-117,255},
{-19,-35,-35,0,0,0,-47,-83,-82,255},
{0,0,-53,0,0,0,0,0,-127,255},
{0,-37,-37,0,0,0,1,-89,-89,255},
{20,0,-49,0,0,0,48,0,-117,255},
{21,-34,-35,0,0,0,50,-82,-82,255},
{37,0,-37,0,0,0,90,1,-89,255},
{38,-26,-26,0,0,0,91,-61,-63,255},
{49,0,-20,0,0,0,117,2,-48,255},
{49,-13,-14,0,0,0,117,-32,-34,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,13,-14,0,0,0,-117,32,-34,255},
{-49,0,-20,0,0,0,-117,-2,-48,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-38,26,-26,0,0,0,-91,61,-63,255},
{-37,0,-37,0,0,0,-90,-1,-89,255},
{-21,34,-35,0,0,0,-50,82,-82,255},
{-20,0,-49,0,0,0,-48,0,-117,255},
{0,37,-37,0,0,0,-1,89,-89,255},
{0,0,-53,0,0,0,0,0,-127,255},
{19,35,-35,0,0,0,47,83,-82,255},
{20,0,-49,0,0,0,48,0,-117,255},
{37,27,-26,0,0,0,88,64,-63,255},
{37,0,-37,0,0,0,90,1,-89,255},
{49,15,-14,0,0,0,116,36,-34,255},
{49,0,-20,0,0,0,117,2,-48,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,19,0,0,0,0,-118,46,0,255},
{-49,13,-14,0,0,0,-117,32,-34,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-38,37,0,0,0,0,-91,87,0,255},
{-38,26,-26,0,0,0,-91,61,-63,255},
{-21,49,0,0,0,0,-50,116,0,255},
{-21,34,-35,0,0,0,-50,82,-82,255},
{0,53,0,0,0,0,-2,127,0,255},
{0,37,-37,0,0,0,-1,89,-89,255},
{19,49,0,0,0,0,46,118,0,255},
{19,35,-35,0,0,0,47,83,-82,255},
{37,38,0,0,0,0,88,91,0,255},
{37,27,-26,0,0,0,88,64,-63,255},
{49,21,0,0,0,0,116,50,0,255},
{49,15,-14,0,0,0,116,36,-34,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,13,14,0,0,0,-117,32,34,255},
{-49,19,0,0,0,0,-118,46,0,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-38,26,26,0,0,0,-91,61,63,255},
{-38,37,0,0,0,0,-91,87,0,255},
{-21,34,35,0,0,0,-50,82,82,255},
{-21,49,0,0,0,0,-50,116,0,255},
{0,37,37,0,0,0,-1,89,89,255},
{0,53,0,0,0,0,-2,127,0,255},
{19,35,35,0,0,0,47,83,82,255},
{19,49,0,0,0,0,46,118,0,255},
{37,27,26,0,0,0,88,64,63,255},
{37,38,0,0,0,0,88,91,0,255},
{49,15,14,0,0,0,116,36,34,255},
{49,21,0,0,0,0,116,50,0,255},
{53,0,0,0,0,0,127,2,0,255},
{-49,0,20,0,0,0,-117,-2,48,255},
{-49,13,14,0,0,0,-117,32,34,0},
{-53,0,0,0,0,0,-127,-2,0,0},
{-37,0,37,0,0,0,-90,-1,89,255},
{-38,26,26,0,0,0,-91,61,63,255},
{-20,0,49,0,0,0,-48,0,117,255},
{-21,34,35,0,0,0,-50,82,82,255},
{0,0,53,0,0,0,0,0,127,255},
{0,37,37,0,0,0,-1,89,89,255},
{20,0,49,0,0,0,48,0,117,255},
{19,35,35,0,0,0,47,83,82,255},
{37,0,37,0,0,0,90,1,89,255},
{37,27,26,0,0,0,88,64,63,255},
{49,0,20,0,0,0,117,2,48,255},
{49,15,14,0,0,0,116,36,34,255},
{53,0,0,0,0,0,127,2,0,255},
};
Gfx RCP_bat_fly0[]={
gsSPLight((&light_bat_fly[0].l[0]),1),
gsSPLight((&light_bat_fly[0].a),2),
gsSPVertex(&vtx_bat_fly0[0],4,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(0,2,3,0),
gsSPEndDisplayList()
};
Gfx RCP_bat_fly1[]={
gsSPLight((&light_bat_fly[0].l[0]),1),
gsSPLight((&light_bat_fly[0].a),2),
gsSPVertex(&vtx_bat_fly1[0],4,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(0,2,3,0),
gsSPEndDisplayList()
};
Gfx RCP_bat_fly2[]={
gsSPLight((&light_bat_fly[1].l[0]),1),
gsSPLight((&light_bat_fly[1].a),2),
gsSPVertex(&vtx_bat_fly2[0],4,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(0,2,3,0),
gsSPLight((&light_bat_fly[0].l[0]),1),
gsSPLight((&light_bat_fly[0].a),2),
gsSPVertex(&vtx_bat_fly2[4],8,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(3,4,5,0),
gsSP1Triangle(1,6,2,0),
gsSP1Triangle(3,5,7,0),
gsSPEndDisplayList()
};
Gfx RCP_bat_fly3[]={
gsSPLight((&light_bat_fly[0].l[0]),1),
gsSPLight((&light_bat_fly[0].a),2),
gsSPVertex(&vtx_bat_fly3[0],15,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(0,2,3,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(7,8,9,0),
gsSP1Triangle(7,9,10,0),
gsSP1Triangle(11,12,13,0),
gsSP1Triangle(11,13,14,0),
gsSPVertex(&vtx_bat_fly3[15],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(3,4,5,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(6,8,9,0),
gsSP1Triangle(8,2,1,0),
gsSP1Triangle(4,10,11,0),
gsSP1Triangle(12,1,0,0),
gsSP1Triangle(13,14,11,0),
gsSP1Triangle(5,4,14,0),
gsSP1Triangle(5,14,15,0),
gsSPVertex(&vtx_bat_fly3[31],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(3,4,5,0),
gsSP1Triangle(3,5,2,0),
gsSP1Triangle(6,7,4,0),
gsSP1Triangle(6,4,8,0),
gsSP1Triangle(1,9,10,0),
gsSP1Triangle(11,9,1,0),
gsSP1Triangle(8,12,6,0),
gsSP1Triangle(13,14,15,0),
gsSP1Triangle(10,2,1,0),
gsSP1Triangle(5,4,7,0),
gsSPVertex(&vtx_bat_fly3[47],14,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(3,4,5,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,9,4,0),
gsSP1Triangle(8,4,6,0),
gsSP1Triangle(7,2,10,0),
gsSP1Triangle(7,10,11,0),
gsSP1Triangle(9,8,12,0),
gsSP1Triangle(13,3,5,0),
gsSP1Triangle(0,4,3,0),
gsSPEndDisplayList()
};
Gfx RCP_bat_fly4[]={
gsSPLight((&light_bat_fly[0].l[0]),1),
gsSPLight((&light_bat_fly[0].a),2),
gsSPVertex(&vtx_bat_fly4[0],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[16],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[32],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[48],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[64],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[80],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[96],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPVertex(&vtx_bat_fly4[112],16,0),
gsSP1Triangle(0,1,2,0),
gsSP1Triangle(1,0,3,0),
gsSP1Triangle(1,3,4,0),
gsSP1Triangle(4,3,5,0),
gsSP1Triangle(4,5,6,0),
gsSP1Triangle(6,5,7,0),
gsSP1Triangle(6,7,8,0),
gsSP1Triangle(8,7,9,0),
gsSP1Triangle(8,9,10,0),
gsSP1Triangle(10,9,11,0),
gsSP1Triangle(10,11,12,0),
gsSP1Triangle(12,11,13,0),
gsSP1Triangle(12,13,14,0),
gsSP1Triangle(14,13,15,0),
gsSPEndDisplayList()
};
/****************
(0),bat_Lwing,RCP_bat_fly0,NULL,(-1),NULL,(-1),0,0,0
(1),bat_Rwing,RCP_bat_fly1,NULL,(-1),NULL,(-1),0,0,0
(2),chn3,NULL,NULL,(-1),bat_Rwing,(1),57,-48,0
(3),chn1,NULL,chn3,(2),bat_Lwing,(0),57,-48,0
(4),bat_ear,RCP_bat_fly2,chn1,(3),NULL,(-1),54,0,0
(5),bat_head,RCP_bat_fly3,bat_ear,(4),NULL,(-1),54,0,0
(6),bat_body,RCP_bat_fly4,NULL,(-1),bat_head,(5),0,0,0
(7),chn5,light_sourcex,NULL,(-1),bat_body,(6),0,48,5
****************/
/*-------------------------------------------------------------*/
/* animation data */
/*-------------------------------------------------------------*/
static short bat_fly_prm[]={
0, 48, 5,16383, 8191, 5406, 234,-2551,
-945, 2623, 6286, 8172, 8191, 5649, 929,-1612,
-147, 3110, 6453, 8174,24483,16383,-8100,-24483,
-16383,-8100,-2408,-2137,-1635,-1364,-1520,-1867,
-2223,-2406,-2408,-2137,-1635,-1364,-1520,-1867,
-2223,-2406,20268,19862,19109,18703,18937,19457,
19990,20265,};
static unsigned short bat_fly_tbl[]= {
1, 0, /* chn5(7) */
1, 1,
1, 2,
1, 0, /* chn5(7) */
1, 3,
1, 0,
1, 0, /* bat_body(6) */
1, 0,
8, 42,
1, 0, /* bat_head(5) */
1, 0,
8, 34,
1, 0, /* bat_ear(4) */
1, 0,
8, 26,
1, 23, /* chn1(3) */
1, 24,
1, 25,
1, 0, /* bat_Lwing(0) */
1, 0,
8, 4,
1, 20, /* chn3(2) */
1, 21,
1, 22,
1, 0, /* bat_Rwing(1) */
1, 0,
8, 12,
};
AnimeRecord bat_fly_anm={
MAP_ANIM_NORMAL, /* attr */
0, /* code */
0, /* start */
0, /* loop */
8,
8,
bat_fly_prm,
bat_fly_tbl
};
/*=================================================================================================*/
/* Animation Total */
/*=================================================================================================*/
AnimePtr bat_anime[] = {
&bat_fly_anm,
};
/*##################################################*/
#else
/*##################################################*/
/*==================================================================================================
bat Shape Hms Data
====================================================================================================*/
extern Gfx RCP_bat_fly4[];
extern Gfx RCP_bat_fly3[];
extern Gfx RCP_bat_fly2[];
extern Gfx RCP_bat_fly0[];
extern Gfx RCP_bat_fly1[];
/*-------------------------------------------------------------*/
/* Hms data */
/*-------------------------------------------------------------*/
Hierarchy RCP_HmsEnemybat[] = {
hmsShadow(100,150,1)
hmsBegin()
hmsScale(0.25f)
hmsBegin()
hmsJoint(RM_SURF,NULL,0,0,0) /* ,null, */
hmsBegin()
hmsJoint(RM_SURF,RCP_bat_fly4,0,0,0) /* ,bat_body,(6) */
hmsBegin()
hmsJoint(RM_SURF,RCP_bat_fly3,54,0,0) /* ,bat_head,(5) */
hmsJoint(RM_SURF,RCP_bat_fly2,54,0,0) /* ,bat_ear,(4) */
hmsJoint(RM_SURF,NULL,57,-48,0) /* ,chn1,(3) */
hmsBegin()
hmsJoint(RM_SURF,RCP_bat_fly0,0,0,0) /* ,bat_Lwing,(0) */
hmsEnd()
hmsJoint(RM_SURF,NULL,57,-48,0) /* ,chn3,(2) */
hmsBegin()
hmsJoint(RM_SURF,RCP_bat_fly1,0,0,0) /* ,bat_Rwing,(1) */
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsExit()
};
// extern AnimeRecord bat_fly_anm[];
// extern Hierarchy RCP_HmsEnemybat_fly[];
/*=============================================================*/
/* END END */
/*=============================================================*/
/*##################################################*/
#endif
/*##################################################*/