sm64/data/Anime/punchtake.c
2022-12-04 22:27:02 -05:00

156 lines
6.1 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario punch and taking animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
October 26, 1995
********************************************************************************/
#include "../headers.h"
static short mario_punch_carry_prm[]={
0, 0, 0, 1, 1, 2, 2, 3,
3, 2, 0, 0, 152, 154, 155, 155,
154, 154, 154, 154, 154, 154, 154, 21,
26, 31, 32, 25, 15, 4, -2, -1,
3, 7,16383,-6797,-9486,-9781,-9695,-9321,
-8750,-8076,-7391,-6788,-6358,-6194,-3750,-4478,
-4381,-4122,-3747,-3302,-2834,-2390,-2015,-1756,
-1660,-3504,-3130,-3290,-3571,-3934,-4344,-4762,
-5152,-5477,-5699,-5781,-8845,-8287,-7572,-6718,
-5785,-4832,-3919,-3105,-2450,-2013,-1854,13665,
11702,10616, 9518, 8446, 7436, 6526, 5754, 5156,
4770, 4633,-6079,-4443,-3830,-3304,-2861,-2497,
-2209,-1991,-1841,-1754,-1726,-31722,-32008,-31906,
-31718,-31471,-31191,-30904,-30636,-30412,-30259,-30202,
7861, 7415, 4958, 1531, -483, -601, -99, 754,
1695, 2455, 2767, 5017, 4708, 3270, 1260, -11,
-294, -285, -91, 179, 421, 525,-3848,-2393,
-2526,-3441,-4137,-4349,-4494,-4584,-4632,-4651,
-4654,-6972,-8843,-10108,-11061,-11146,-10250,-8831,
-7196,-5649,-4497,-4045,-3741,-2852,-2836,-2862,
-2921,-3000,-3090,-3178,-3255,-3309,-3330, 7047,
6909, 6493, 6008, 5487, 4960, 4459, 4014, 3658,
3421, 3335,-30673,-30145,-29965,-29779,-29596,-29420,
-29261,-29125,-29018,-28949,-28925, 11, 45, 264,
478, 694, 902, 1092, 1152, 784, 349, 140,
-201, -196, -184, -329, -508, -661, -724, -170,
89, 286, 365,-15307,-16229,-17543,-17635,-17514,
-17434,-17649,-19783,-19180,-18096,-17516,14840,13487,
15887,16731,17244,17146,13889,13304,13074,13048,
13073, 2286, 2868, 3142, 2768, 2078, 1498, 1455,
2385, 3952, 5427, 6081, 4686, 4766, 4985, 5496,
6161, 6754, 7051, 6863, 6353, 5824, 5580,-16012,
-15955,-16629,-18653,-21397,-23935,-25339,-24934,-23358,
-21651,-20850, -582, -458, -213, 102, 419, 667,
777, 618, 247, -128, -300, 143, 224, 339,
469, 586, 662, 670, 531, 270, 18, -94,
-18548,-19695,-19772,-19567,-19234,-18923,-18786,-18929,
-19244,-19559,-19702,11411,11379,11733,12219,12755,
13262,13659,13924,14098,14192,14220,-2617,-3215,
-3993,-4956,-5997,-7011,-7890,-8688,-9433,-9985,
-10201, 1519, 1130, 162,-1272,-2888,-4398,-5514,
-6098,-6312,-6320,-6286,-26621,-26106,-25655,-25156,
-24576,-23883,-23041,-21697,-19943,-18421,-17772,-32767,
-32767,16753,16753,16699,16644,16753,17084,17537,
18030,18483,18815,18943,-16545,-32767,-32767,16664,
16753,16993,17297,17641,18000,18349,18663,18918,
19089,19152,-16545,-10258,-9720,-10539,-11571,-11490,
-9888,-7551,-4934,-2498, -701, 0,-1021,-1582,
-1420, -930, -551, -388, -252, -144, -64, -16,
0,-3959,-4214,-4039,-3496,-2669,-1503, -39,
1495, 2874, 3868, 4250, 7988, 9007,10561,12141,
12527,10843, 7966, 5302, 2999, 910, 0,-4181,
-4669,-3676,-2428,-1537,-1391,-1603,-1624,-1089,
-364, 0, 6219, 4436, 3523, 2781, 2189, 1906,
1773, 1287, -133,-1907,-2777, 6118, 5512, 4959,
4259, 3468, 2644, 1843, 1121, 536, 143, 0,
244, -295, -385, -412, -388, -329, -249, -161,
-81, -22, 0,22195,22574,21972,21055,19927,
18690,17448,16302,15357,14714,14477
};
static short mario_punch_carry_tbl[]={
11, 1, /* chn14_2translate x */
11, 12, /* chn14_2 translate y */
11, 23, /* chn14_2 translate z */
1, 0, /* chn14_2 rotate x */
1, 34, /* chn14_2 rotate y */
1, 0, /* chn14_2 rotate z */
11, 437, /* <m_waist>1_3 rotate x */
11, 448, /* <m_waist>1_3 rotate y */
11, 459, /* <m_waist>1_3 rotate z */
11, 404, /* <m_body>1 rotate x */
11, 415, /* <m_body>1 rotate y */
11, 426, /* <m_body>1 rotate z */
11, 371, /* <m_head>2 rotate x */
11, 382, /* <m_head>2 rotate y */
11, 393, /* <m_head>2 rotate z */
1, 357, /* chn6 rotate x */
1, 358, /* chn6 rotate y */
11, 359, /* chn6 rotate z */
11, 79, /* <m_larmA>1 rotate x */
11, 90, /* <m_larmA>1 rotate y */
11, 101, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
11, 68, /* <m_larmB>1 rotate z */
11, 35, /* <m_lhand>1 rotate x */
11, 46, /* <m_lhand>1 rotate y */
11, 57, /* <m_lhand>1 rotate z */
1, 343, /* chn10 rotate x */
1, 344, /* chn10 rotate y */
11, 345, /* chn10 rotate z */
11, 156, /* <m_rarmA>1 rotate x */
11, 167, /* <m_rarmA>1 rotate y */
11, 178, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
11, 145, /* <m_rarmB>1 rotate z */
11, 112, /* <m_rhand>1 rotate x */
11, 123, /* <m_rhand>1 rotate y */
11, 134, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 356, /* chn15 rotate z */
11, 310, /* <m_llegA>1 rotate x */
11, 321, /* <m_llegA>1 rotate y */
11, 332, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
11, 299, /* <m_llegB>1 rotate z */
11, 266, /* <m_ltoot>1 rotate x */
11, 277, /* <m_ltoot>1 rotate y */
11, 288, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 370, /* chn17 rotate z */
11, 233, /* <m_rlegA>1 rotate x */
11, 244, /* <m_rlegA>1 rotate y */
11, 255, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
11, 222, /* <m_rlegB>1 rotate z */
11, 189, /* <m_rfoot>1 rotate x */
11, 200, /* <m_rfoot>1 rotate y */
11, 211, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioPunchTake = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
11, /* number of frames */
20, /* number of joints */
mario_punch_carry_prm,
mario_punch_carry_tbl
};