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

172 lines
5.5 KiB
Plaintext

/*==================================================================================================
goal_flag Shape Gfx Data
====================================================================================================*/
/*##################################################*/
#ifdef GFX_SHAPE
/*##################################################*/
/**************************************************************/
/* shape data animed_patapata (skeleton & animation) */
/**************************************************************/
#define ShapeColor_animed_patapata(r,g,b) ShapeColor(r,g,b)
/*-------------------------------------------------------------*/
/* light data */
/*-------------------------------------------------------------*/
static Lights1 light_animed_patapata[]={
ShapeColor_animed_patapata(0,110,0),
ShapeColor_animed_patapata(255,230,87),
ShapeColor_animed_patapata(172,84,5),
};
#include "goalflag_texture.h"
#include "cyl9_shape.sou"
#include "face7_shape.sou"
#include "face8_shape.sou"
#include "face9_shape.sou"
#include "face10_shape.sou"
#include "face11_shape.sou"
/*-------------------------------------------------------------*/
/* animation data */
/*-------------------------------------------------------------*/
static short animed_patapata_prm[]={
0, 4835, 3907, 2463, 721,-1101,-2789,-4125,
-4928,-5481,-5883,-6121,-6182,-6054,-5723,-5177,
-4309,-2785, -812, 1339, 3401, 5102, 6174, 6692,
6939, 6952, 6769, 6428, 5967, 5423, 3581, 2871,
1610, 109,-1318,-2361,-2855,-3215,-3491,-3677,
-3768,-3758,-3642,-3414,-3068,-2526,-1519, -188,
1277, 2685, 3848, 4573, 4906, 5041, 5011, 4851,
4594, 4274, 3925,-3009,-3210,-3342,-3401,-3389,
-3303,-3143,-2907,-2485,-1816, -982, -59, 871,
1731, 2443, 2931, 3205, 3300, 3237, 3037, 2722,
2296, 1701, 979, 182, -633,-1414,-2107,-2657,
-2628,-2534,-2270,-1862,-1337, -720, -40, 678,
1408, 2089, 2618, 3004, 3257, 3391, 3404, 3140,
2619, 1925, 1144, 361, -339, -873,-1218,-1535,
-1829,-2091,-2312,-2481,-2590, 1258, 1203, 1057,
844, 592, 327, 75, -137, -342, -573, -807,
-1022,-1195,-1305,-1328,-1243,-1060, -810, -524,
-233, 32, 242, 418, 595, 766, 922, 1058,
1164, 1233,16383,-16383,16383,};
static unsigned short animed_patapata_tbl[]= {
1, 0, /* chn8(7) */
1, 0,
1, 0,
1, 0, /* chn8(7) */
1, 0,
1, 0,
1, 0, /* cyl9(6) */
1, 0,
1, 148,
1, 146, /* chn7(5) */
1, 0,
1, 147,
1, 0, /* face7(4) */
1, 0,
29, 117,
1, 0, /* face8(3) */
1, 0,
29, 88,
1, 0, /* face9(2) */
1, 0,
29, 59,
1, 0, /* face10(1) */
1, 0,
29, 30,
1, 0, /* face11(0) */
1, 0,
29, 1,
};
AnimeRecord animed_patapata_anm={
MAP_ANIM_NORMAL, /* attr */
0, /* code */
0, /* start */
0, /* loop */
29,
8,
animed_patapata_prm,
animed_patapata_tbl
};
/*=================================================================================================*/
/* Animation Total */
/*=================================================================================================*/
AnimePtr goal_flag_anime[] = {
&animed_patapata_anm,
};
/*##################################################*/
#else
/*##################################################*/
/*==================================================================================================
goal_flag Shape Hms Data
====================================================================================================*/
extern Gfx gfx_cyl9[];
extern Gfx gfx_face7[];
extern Gfx gfx_face8[];
extern Gfx gfx_face9[];
extern Gfx gfx_face10[];
extern Gfx gfx_face11[];
/*-------------------------------------------------------------*/
/* Hms data */
/*-------------------------------------------------------------*/
Hierarchy RCP_HmsEnemygoal_flag[] = {
hmsGroup()
hmsBegin()
hmsScale(0.25f)
hmsBegin()
hmsJoint(RM_SURF,NULL,0,0,0) /* ,NULL,(6) */
hmsBegin()
hmsJoint(RM_SURF,gfx_cyl9,0,0,0) /* ,cyl9,(6) */
hmsBegin()
hmsJoint(RM_SURF,NULL,2040,0,0) /* ,chn7,(5) */
hmsBegin()
hmsJoint(RM_SURF,gfx_face7,0,0,0) /* ,face7,(4) */
hmsBegin()
hmsJoint(RM_SURF,gfx_face8,460,0,0) /* ,face8,(3) */
hmsBegin()
hmsJoint(RM_SURF,gfx_face9,460,0,0) /* ,face9,(2) */
hmsBegin()
hmsJoint(RM_SURF,gfx_face10,344,0,0) /* ,face10,(1) */
hmsBegin()
hmsJoint(RM_SURF,gfx_face11,288,0,0) /* ,face11,(0) */
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsEnd()
hmsExit()
};
// extern AnimeRecord animed_patapata_anm[];
// extern Hierarchy RCP_HmsEnemyanimed_patapata[];
/*=============================================================*/
/* END END */
/*=============================================================*/
/*##################################################*/
#endif
/*##################################################*/