sm64/shape/enemy2_e/wallman/wallman.shape
2022-12-04 22:27:02 -05:00

411 lines
13 KiB
Plaintext

#define ichiro_softspriteON (1)
/*==================================================================================================
ichiro Shape Gfx Data
====================================================================================================*/
/*##################################################*/
#ifdef GFX_SHAPE
/*##################################################*/
/**************************************************************/
/* shape data ichiro_falldown (skeleton & animation) */
/**************************************************************/
#define ShapeColor_ichiro_falldown(r,g,b) ShapeColor(r,g,b)
static long long ichiro_dmmy = 2;
#include "ichiro_texture.h"
#include "ichi_body_shape.sou"
#include "ichi_Rarm_shape.sou"
#include "ichi_Larm_shape.sou"
#include "ichi_Rhand_shape.sou"
#include "ichi_Lhand_shape.sou"
#include "ichi_Rfoot_shape.sou"
#include "ichi_Lfoot_shape.sou"
/*-------------------------------------------------------------*/
/* animation data */
/*-------------------------------------------------------------*/
static short ichiro_falldown_prm[]={
0, 5, 180, 104, 0, 0, 0, 0,
1, 1, 1, 1, 0, 0, 0, 0,
0, 0, 0,-15887,-16017,-16327,-16698,-17008,
-17138,-17096,-16984,-16820,-16626,-16421,-16224,-16056,
-15938,-15887, 0, 0, 2, 5, 7, 8,
7, 7, 6, 4, 3, 2, 1, 0,
0, 0, 0, 0, 0, 1, 1, 1,
1, 0, 0, 0, 0, 0, 0, 0,
-15887,-16017,-16327,-16698,-17008,-17138,-17096,-16984,
-16820,-16626,-16421,-16224,-16056,-15938,-15887, 3,
3, 4, 4, 5, 6, 6, 7, 8,
9, 10, 10, 11, 11, 11, 6675, 6953,
7734, 8934,10470,12260,14219,16266,18317,20290,
22101,23668,24907,25736,26071,-16380,-16380,-16381,
-16381,-16381,-16382,-16382,-16383,-16384,-16384,-16385,
-16385,-16385,-16386,-16386, 0, 0, 1, 3,
6, 9, 13, 16, 20, 23, 26, 29,
31, 33, 33,-6362,-6647,-7444,-8670,-10239,
-12067,-14069,-16159,-18255,-20270,-22120,-23720,-24986,
-25833,-26176,-16384,-16384,-16384,-16384,-16384,-16383,
-16383,-16383,-16383,-16383,-16382,-16382,-16382,-16382,
-16382, 8226,16383,-8226, 8226,16383,-8226, 8226,
16383,-8226, 8226,16383,-8226, 0, -151, -513,
-946,-1308,-1460,-1411,-1279,-1089, -862, -622,
-393, -198, -59, 0,16453,16453,16453,16453,
16453,16453,16453,16453,16453,16453,16453,16453,
16453,16453,16453,};
static unsigned short ichiro_falldown_tbl[]= {
1, 1, /* chn18(11) */
1, 2,
1, 0,
1, 0, /* chn18(11) */
1, 0,
1, 3,
1, 0, /* ichi_body(10) */
15, 181,
15, 196,
1, 178, /* chn21(9) */
1, 179,
1, 180,
1, 0, /* ichi_Rfoot(0) */
15, 4,
15, 19,
1, 175, /* chn19(8) */
1, 176,
1, 177,
15, 34, /* ichi_Lfoot(1) */
15, 49,
15, 64,
1, 172, /* chn28(7) */
1, 173,
1, 174,
15, 79, /* ichi_Rarm(3) */
15, 94,
15, 109,
1, 0, /* ichi_Rhand(2) */
1, 0,
1, 0,
1, 169, /* chn26(6) */
1, 170,
1, 171,
15, 124, /* ichi_Larm(5) */
15, 139,
15, 154,
1, 0, /* ichi_Lhand(4) */
1, 0,
1, 0,
};
AnimeRecord ichiro_falldown_anm={
MAP_ANIM_ONETIME, /* attr */
0, /* code */
0, /* start */
0, /* loop */
15,
12,
ichiro_falldown_prm,
ichiro_falldown_tbl
};
/*--------------------------------------------------------------------------------------------------
AnimeData
---------------------------------------------------------------------------------------------------*/
static short ichiro_walk_prm[]={
0, 5, 178, 180, 186, 194, 203, 213,
223, 231, 236, 238, 237, 233, 228, 221,
213, 205, 197, 190, 183, 178, 175, 173,
173, 175, 178, 186, 198, 211, 224, 236,
245, 248, 248, 245, 238, 226, 211, 195,
183, 178, 178, 178, 178, 178, 178, 178,
178, 178, 178, 178, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-1, -5, -8, -7, 0, 18, 46, 76,
100, 113, 110, 95, 75, 55, 39, 28,
17, 8, 2, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, -18, -54, -82, -73, 0, 171,
422, 702, 959, 1143, 1261, 1348, 1391, 1380,
1302, 1093, 761, 403, 117, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
-15887,-15887,-15887,-15887,-15890,-15895,-15900,-15898,
-15887,-15856,-15810,-15761,-15722,-15707,-15725,-15767,
-15819,-15867,-15898,-15909,-15907,-15899,-15891,-15887,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
-15887,-15887, 0, -2, -8, -17, -27, -38,
-49, -57, -64, -66, -64, -60, -54, -47,
-38, -29, -20, -12, -5, 0, 2, 3,
2, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, -46, -170, -350,
-564, -789,-1002,-1182,-1307,-1353,-1324,-1241,
-1118, -963, -789, -606, -425, -256, -111, 0,
57, 64, 43, 14, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,-15887,-15885,
-15882,-15877,-15871,-15864,-15858,-15853,-15849,-15848,
-15849,-15851,-15855,-15859,-15864,-15869,-15875,-15879,
-15884,-15887,-15888,-15889,-15888,-15887,-15887,-15887,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
-15887,-15887,-15887,-15887,-15887,-15887,-15887,-15887,
3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 5,
7, 9, 10, 7, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 1, 0, 0, 0,
2, 3, 6675, 6672, 6663, 6650, 6634, 6615,
6595, 6574, 6555, 6536, 6521, 6509, 6503, 6502,
6507, 6521, 6544, 6576, 6619, 6675, 7069, 7724,
8031, 7177, 6323, 6993, 7742, 7258, 6675, 6960,
7301, 7002, 6675, 6635, 6626, 6637, 6661, 6689,
6713, 6724, 6714, 6675, 6292, 6049, 6891, 7567,
6616, 5609, 6086, 6675,-16380,-16380,-16380,-16380,
-16380,-16380,-16380,-16380,-16380,-16380,-16380,-16380,
-16380,-16380,-16380,-16380,-16380,-16380,-16380,-16380,
-16380,-16380,-16380,-16381,-16381,-16380,-16379,-16379,
-16380,-16380,-16380,-16380,-16380,-16380,-16380,-16380,
-16380,-16380,-16380,-16380,-16380,-16380,-16380,-16380,
-16380,-16380,-16381,-16381,-16381,-16380, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 3, 3, 3, 4, 6,
6, 5, 2, 0, 0, 0, 0, -1,
-1, -1, -1, -1, 0, 0, 0, 2,
6, 7, 8, 9, 8, 5, 1, 0,
-6362,-6359,-6352,-6340,-6326,-6309,-6291,-6273,
-6255,-6239,-6226,-6215,-6209,-6208,-6214,-6226,
-6246,-6274,-6313,-6362,-6928,-7509,-7133,-6704,
-7089,-7427,-6871,-6240,-6232,-6362,-6363,-6351,
-6329,-6303,-6276,-6254,-6241,-6240,-6257,-6296,
-6362,-6903,-7405,-6852,-6364,-7177,-7925,-7519,
-6767,-6362,-16384,-16384,-16384,-16384,-16384,-16384,
-16384,-16384,-16384,-16384,-16384,-16384,-16384,-16384,
-16384,-16384,-16384,-16384,-16384,-16384,-16384,-16385,
-16385,-16384,-16384,-16384,-16384,-16384,-16384,-16384,
-16384,-16384,-16384,-16384,-16384,-16384,-16384,-16384,
-16384,-16384,-16384,-16384,-16384,-16384,-16383,-16384,
-16385,-16385,-16384,-16384, 8226,16383,-8226, 8226,
16383,-8226, 8226,16383,-8226, 8226,16383,-8226,
-3337,-3266,-3071,-2774,-2402,-1978,-1528,-1076,
-646, -263, 92, 455, 823, 1194, 1565, 1933,
2297, 2654, 3002, 3337, 3572, 3681, 3700, 3645,
3642, 3616, 3337, 2729, 1952, 1122, 359, -217,
-665,-1111,-1545,-1956,-2333,-2666,-2943,-3155,
-3290,-3337,-3337,-3338,-3339,-3339,-3339,-3338,
-3337,-3337, 21, 21, 20, 18, 15, 12,
10, 7, 4, 1, 0, 2, 4, 7,
10, 10, 8, 3, -6, -21, -144, -219,
39, 281, 228, 81, -21, -42, -40, -25,
-8, 1, 4, 7, 10, 12, 15, 17,
19, 20, 21, 21, -90, -176, 34, 238,
199, 86, 21, 21,16449,16406,16291,16125,
15927,15719,15522,15355,15240,15197,15224,15297,
15407,15545,15702,15869,16036,16195,16335,16449,
16429,16362,16412,16468,16428,16372,16449,16736,
17139,17556,17883,18015,17971,17852,17676,17464,
17232,17000,16787,16612,16493,16449,16486,16515,
16445,16377,16390,16428,16449,16449,};
static unsigned short ichiro_walk_tbl[]= {
1, 1, /* chn18(11) */
50, 2,
1, 0,
1, 0, /* chn18(11) */
1, 0,
1, 0,
50, 664, /* ichi_body(10) */
50, 714,
50, 764,
1, 661, /* chn21(9) */
1, 662,
1, 663,
50, 52, /* ichi_Rfoot(0) */
50, 102,
50, 152,
1, 658, /* chn19(8) */
1, 659,
1, 660,
50, 202, /* ichi_Lfoot(1) */
50, 252,
50, 302,
1, 655, /* chn28(7) */
1, 656,
1, 657,
50, 352, /* ichi_Rarm(3) */
50, 402,
50, 452,
1, 0, /* ichi_Rhand(2) */
1, 0,
1, 0,
1, 652, /* chn26(6) */
1, 653,
1, 654,
50, 502, /* ichi_Larm(5) */
50, 552,
50, 602,
1, 0, /* ichi_Lhand(4) */
1, 0,
1, 0,
};
AnimeRecord ichiro_walk_anm={
MAP_ANIM_NORMAL, /* attr */
0, /* code */
0, /* start */
0, /* loop */
50,
12,
ichiro_walk_prm,
ichiro_walk_tbl
};
/*=================================================================================================*/
/* Animation Total */
/*=================================================================================================*/
AnimePtr wallman_anime[] = {
&ichiro_walk_anm,
&ichiro_falldown_anm,
};
short wallman_info[] = {
BGCHECKCODE_POINT,8,
-150, 50, -100,
150, 50, -100,
150, 430, -100,
-150, 430, -100,
-150, 50, -3,
150, 430, -3,
150, 50, -3,
-150, 430, -3,
BGCHECKCODE_CAM_NOCHECK,12,
2, 1, 0,
3, 2, 0,
6, 5, 4,
5, 7, 4,
7, 5, 3,
5, 2, 3,
6, 4, 0,
1, 6, 0,
5, 1, 2,
6, 1, 5,
0, 7, 3,
0, 4, 7,
BGCHECKCODE_PLANEEND,
BGCHECKCODE_ALLEND
};
static long long wallman_0 = 0;
/*##################################################*/
#else
/*##################################################*/
extern Gfx gfx_ichi_body[];
extern Gfx gfx_ichi_Rarm[];
extern Gfx gfx_ichi_Larm[];
extern Gfx gfx_ichi_Rhand[];
extern Gfx gfx_ichi_Lhand[];
extern Gfx gfx_ichi_Rfoot[];
extern Gfx gfx_ichi_Lfoot[];
Hierarchy RCP_HmsEnemywallman[] = {
hmsHeader(2000)
hmsBegin()
hmsTrans(0,0,-50)
hmsBegin()
hmsShadow(0,180,51)
hmsBegin()
hmsScale(0.25f)
hmsBegin()
hmsJoint(RM_SURF,NULL,0,0,0) /* ,NULL,(10) */
hmsBegin()
hmsJoint(RM_SURF,gfx_ichi_body,0,0,0) /* ,ichi_body,(10) */
hmsBegin()
hmsJoint(RM_SURF,NULL,-12,490,-5) /* ,chn21,(9) */
hmsBegin()
hmsJoint(RM_SURF,gfx_ichi_Rfoot,0,0,0) /* ,ichi_Rfoot,(0) */
hmsEnd()
hmsJoint(RM_SURF,NULL,-18,-479,-5) /* ,chn19,(8) */
hmsBegin()
hmsJoint(RM_SURF,gfx_ichi_Lfoot,0,0,0) /* ,ichi_Lfoot,(1) */
hmsEnd()
hmsJoint(RM_SURF,NULL,1075,570,0) /* ,chn28,(7) */
hmsBegin()
hmsJoint(RM_SURF,gfx_ichi_Rarm,0,0,0) /* ,ichi_Rarm,(3) */
hmsBegin()
hmsJoint(RM_SPRITE,NULL,400,0,0) /* wallman_Rhand(2) */
hmsBegin()
hmsBboard(0,0,0)
hmsBegin()
hmsGfx(RM_SPRITE,gfx_ichi_Rhand)
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsJoint(RM_SURF,NULL,1068,-574,0) /* ,chn26,(6) */
hmsBegin()
hmsJoint(RM_SURF,gfx_ichi_Larm,0,0,0) /* ,ichi_Larm,(5) */
hmsBegin()
hmsJoint(RM_SPRITE,NULL,400,0,0) /* wallman_Lhand(2) */
hmsBegin()
hmsBboard(0,0,0)
hmsBegin()
hmsGfx(RM_SPRITE,gfx_ichi_Lhand)
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsExit()
};
// extern AnimeRecord ichiro_falldown_anm[];
// extern Hierarchy RCP_HmsEnemyichiro_falldown[];
/*=============================================================*/
/* END END */
/*=============================================================*/
/*##################################################*/
#endif
/*##################################################*/