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

177 lines
7.3 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario hang jumpping animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
September 19, 1995
********************************************************************************/
#include "../headers.h"
static short mario_hanger_jump_prm[]={
0, 7, 7, 7, 7, 6, 5, 4,
3, 2, 0, 0, 0, 0, 0, 0,
0, -272, -170, -91, 88, 167, 210, 205,
192, 176, 144, 136, 150, 158, 164, 170,
170, -92, -148, -160, -122, -88, -52, -7,
40, 78, 66, 63, 63, 62, 62, 62,
58,16383, 6142, 518, 3116, 7215, 835,-3991,
-2857,-1435, -126, 667, 897, 852, 636, 352,
105, 0, -205, -451, -763,-5497, 371, 1772,
714, -436,-1449,-2091,-2323,-2318,-2164,-1946,
-1752,-1668,-3611,-5699,-7074,-9595,-3569,-2810,
-3466,-4173,-4788,-5168,-5286,-5245,-5109,-4936,
-4787,-4724,-2813,-11837,-11677,-5629,-3342,-11642,
-14130,-15927,-17058,-17545,-12507,-12231,-12487,-13005,
-13515,-13745,-87344,-93068,-94337,-93696,-88085,-94183,
-84843,-71854,-58801,-46619,-6313,-2780,-1149, -778,
-1026,-1251,-27285,-24592,-24642,-29921,-29195,-23781,
-22679,-21692,-21192,-23252,-8178,-8204,-9001,-10123,
-11123,-11556,57569,68382,71449,69342,63910,72834,
65789,55215,44011,30617,-6067,-9387,-10981,-11417,
-11262,-11084,-3284, -347, 1587, 5130, 3753, 2973,
2212, 1514, 925, 491, 217, 60, -10, -24,
-10, 0, 1646, 6048, 8949,14260, 3366, 1806,
1204, 1170, 1313, 1244, 939, 649, 392, 186,
49, 0,-3129,-2564,-2192,-1509,-4354,-4318,
-3952,-3431,-2932,-2629,-2536,-2528,-2576,-2648,
-2714,-2743,-1877,-13280,-12461,-4693,-6434,-9166,
-12414,-15704,-18560,-20507,-14042,-13422,-13421,-13764,
-14173,-14371,17251,16908,14932,16507,14508,16150,
18537,20515,20928,10736, 8100, 5819, 3949, 2545,
1662, 1355,28485,22269,22385,26018,27283,23762,
19537,15120,11020, 8431, 8657, 9180, 9848,10511,
11019,11222,-9070,-4031,-3069, -259,-2663, -518,
2488, 5167, 6326,-2650,-5345,-7813,-9936,-11597,
-12679,-13066, -22, -18, -33, -140, -130, -88,
74, 662, 1124, 1167, 711, 719, 527, 288,
85, 0, -208, -213, -210, -155, -150, -154,
-160, -167, -179, -112, -61, -177, -198, -207,
-209, -208,-12789,-13035,-12254,-6218,-9475,-14509,
-18416,-18916,-18098,-20703,-21230,-18952,-17329,-15672,
-14383,-13864,10049,10162, 9753, 6711, 9992,14467,
17087,13844,10089,16034,17565,14305,12178,10048,
8409, 7754, 9011, 5355, 1790, 9589, 9563, 8171,
6982, 6876, 6757, 5208, 4854, 5667, 6095, 6501,
6802, 6921, 5899, 4110, 2117, 4599, 5724, 6644,
7032, 5904, 4660, 6372, 6610, 5845, 5376, 4913,
4561, 4420,-22006,-23408,-24624,-20810,-21475,-22932,
-23849,-22803,-21825,-24869,-25460,-23944,-23100,-22288,
-21677,-21436, 0, 0, 0, 0, -34, -75,
-97, -71, -21,-1167,-1353,-1459, -737, 0,
-14, 0, 0, 0, 0, 0, 44, 101,
163, 244, 312, 98, -61, 33, 21, -9,
-19, 0,-17843,-16435,-13462,-7830,-10219,-14119,
-17126,-17155,-16622,-22197,-21437,-20650,-19256,-17837,
-16891,-16576,18991,15099, 9462, 7831,10686,14408,
16602,13994,10986,16097,16887,15002,13319,11528,
10106, 9527,-6370,-5804,-5561,-8436,-7789,-6537,
-6036,-7826,-10067,-9724,-9100,-9855,-10161,-10424,
-10608,-10678,-6244,-3854, -812,-2075,-3448,-4905,
-5950,-5849,-5455,-6218,-7473,-6465,-5973,-5518,
-5185,-5055,-25692,-26393,-26294,-20566,-20343,-21052,
-21487,-20801,-20034,-20679,-21715,-20500,-19972,-19504,
-19169,-19042,32767,32767,16753,-16545,32767,32767,
16753,-16545, 481, 458, 402, 339, 274, 203,
131, 61, 0, 0, 0, 0, 0, 0,
0, 0, -257, -308, -398, -428, -374, -288,
-186, -85, 0, 0, 0, 0, 0, 0,
0, 0,-5029,-4072,-2164, -754, -262, -46,
39, 141, 407, 1627, 1306, 795, 207, -349,
-764, -926, -37, -179, -481, -759, -895, -703,
-461, -212, 0, 0, 0, 0, 0, 0,
0, 0, -976, -909, -762, -616, -472, -347,
-222, -103, 0, 0, 0, 0, 0, 0,
0, 0, -996, 721, 4415, 7889,10061, 8932,
7305, 5581, 4161, 4392, 4247, 3843, 3307, 2765,
2347, 2180, -108, -137, -57, 597, 588, 558,
510, 449, 379, 304, 229, 158, 95, 45,
12, 0, 1408, 1423, 1417, 1281, 1167, 1039,
902, 761, 619, 481, 353, 238, 140, 65,
17, 0,16246,16045,16682,21609,21501,21220,
20801,20278,19687,19062,18437,17849,17331,16917,
16644,16545
};
static short mario_hanger_jump_tbl[]={
16, 1, /* chn14_1_1_1translate x */
16, 17, /* chn14_1_1_1 translate y */
16, 33, /* chn14_1_1_1 translate z */
1, 0, /* chn14_1_1_1 rotate x */
1, 49, /* chn14_1_1_1 rotate y */
1, 0, /* chn14_1_1_1 rotate z */
16, 602, /* <m_waist>1_3_1 rotate x */
16, 618, /* <m_waist>1_3_1 rotate y */
16, 634, /* <m_waist>1_3_1 rotate z */
16, 554, /* <m_body>1_1 rotate x */
16, 570, /* <m_body>1_1 rotate y */
16, 586, /* <m_body>1_1 rotate z */
16, 506, /* <m_head>2_1 rotate x */
16, 522, /* <m_head>2_1 rotate y */
16, 538, /* <m_head>2_1 rotate z */
1, 502, /* chn6_1 rotate x */
1, 503, /* chn6_1 rotate y */
1, 504, /* chn6_1 rotate z */
16, 114, /* <m_larmA>1_1 rotate x */
16, 130, /* <m_larmA>1_1 rotate y */
16, 146, /* <m_larmA>1_1 rotate z */
1, 0, /* <m_larmB>1_1 rotate x */
1, 0, /* <m_larmB>1_1 rotate y */
16, 98, /* <m_larmB>1_1 rotate z */
16, 50, /* <m_lhand>1_1 rotate x */
16, 66, /* <m_lhand>1_1 rotate y */
16, 82, /* <m_lhand>1_1 rotate z */
1, 498, /* chn10_1 rotate x */
1, 499, /* chn10_1 rotate y */
1, 500, /* chn10_1 rotate z */
16, 226, /* <m_rarmA>1_1 rotate x */
16, 242, /* <m_rarmA>1_1 rotate y */
16, 258, /* <m_rarmA>1_1 rotate z */
1, 0, /* <m_rarmB>1_1 rotate x */
1, 0, /* <m_rarmB>1_1 rotate y */
16, 210, /* <m_rarmB>1_1 rotate z */
16, 162, /* <m_rhand>1_1 rotate x */
16, 178, /* <m_rhand>1_1 rotate y */
16, 194, /* <m_rhand>1_1 rotate z */
1, 0, /* chn15_1 rotate x */
1, 0, /* chn15_1 rotate y */
1, 501, /* chn15_1 rotate z */
16, 450, /* <m_llegA>1_1 rotate x */
16, 466, /* <m_llegA>1_1 rotate y */
16, 482, /* <m_llegA>1_1 rotate z */
1, 0, /* <m_llegB>1_1 rotate x */
1, 0, /* <m_llegB>1_1 rotate y */
16, 434, /* <m_llegB>1_1 rotate z */
16, 386, /* <m_ltoot>1_1 rotate x */
16, 402, /* <m_ltoot>1_1 rotate y */
16, 418, /* <m_ltoot>1_1 rotate z */
1, 0, /* chn17_1 rotate x */
1, 0, /* chn17_1 rotate y */
1, 505, /* chn17_1 rotate z */
16, 338, /* <m_rlegA>1_1 rotate x */
16, 354, /* <m_rlegA>1_1 rotate y */
16, 370, /* <m_rlegA>1_1 rotate z */
1, 0, /* <m_rlegB>1_1 rotate x */
1, 0, /* <m_rlegB>1_1 rotate y */
16, 322, /* <m_rlegB>1_1 rotate z */
16, 274, /* <m_rfoot>1_1 rotate x */
16, 290, /* <m_rfoot>1_1 rotate y */
16, 306, /* <m_rfoot>1_1 rotate z */
};
AnimeRecord animMarioHangJump = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
16, /* number of frames */
20, /* number of joints */
mario_hanger_jump_prm,
mario_hanger_jump_tbl
};