261 lines
11 KiB
C
261 lines
11 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario junmping animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
July 11, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_jump_prm[]={
|
|
0, 170, 170, 170, 170, 170, 170, 170,
|
|
170, 170, 170, 170, 170, 170, 170, 170,
|
|
170, 170, 170, 170, 170, 170, 170, 170,
|
|
144, 116, 115, 122, 129, 134, 140, 145,
|
|
150, 154, 158, 162, 165, 167, 170, 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, 0, 0,
|
|
0, 0, 0, 0, 0,16383,-1668,-4724,
|
|
-10809,-9949,-7872,-5329,-3072,-1854,-1431,-1058,
|
|
-738, -473, -265, -117, -31, -10, -55, -169,
|
|
-354, -613, -948,-1361,-1854,-3471,-6476,-9711,
|
|
-12015,-12635,-12287,-12015,-12146,-12303,-12480,-12669,
|
|
-12862,-13053,-13234,-13399,-13539,-13649,-2535,-2911,
|
|
-3820,-4932,-5919,-6451,-6616,-6722,-6778,-6792,
|
|
-6772,-6726,-6662,-6588,-6512,-6441,-6384,-6348,
|
|
-6342,-6374,-6451,-6762,-7339,-7960,-8402,-8632,
|
|
-8676,-8402,-7861,-7210,-6480,-5701,-4901,-4112,
|
|
-3362,-2681,-2100,-1648,-11266,-11182,-10977,-10726,
|
|
-10503,-10383,-10350,-10336,-10339,-10355,-10380,-10411,
|
|
-10444,-10476,-10504,-10524,-10532,-10526,-10501,-10455,
|
|
-10383,-10124,-9644,-9126,-8758,-8613,-8623,-8758,
|
|
-8969,-9224,-9510,-9815,-10128,-10437,-10730,-10996,
|
|
-11224,-11401,-9618,-9188,-8150,-6880,-5752,-5144,
|
|
-4957,-4839,-4779,-4768,-4797,-4855,-4934,-5023,
|
|
-5114,-5196,-5259,-5296,-5295,-5248,-5144,-4735,
|
|
-3976,-3158,-2576,-2287,-2242,-2576,-3220,-3994,
|
|
-4863,-5790,-6742,-7681,-8573,-9383,-10074,-10612,
|
|
-2743,-14820,-14066,-12244,-10013,-8033,-6965,-6611,
|
|
-6331,-6120,-5971,-5881,-5842,-5851,-5901,-5988,
|
|
-6105,-6248,-6411,-6588,-6775,-6965,-7541,-8613,
|
|
-9767,-10588,-10762,-10591,-10588,-10874,-11218,-11604,
|
|
-12017,-12440,-12857,-13254,-13614,-13921,-14160,16380,
|
|
16091,15394,14541,13783,13375,13312,13403,13614,
|
|
13912,14263,14634,14992,15303,15534,15652,15623,
|
|
15414,14992,14323,13375, 9919, 3518,-3178,-7522,
|
|
-7398,-4662,-2620,-2044,-1503,-1000, -537, -117,
|
|
255, 579, 851, 1067, 1225,15863,16047,16491,
|
|
17035,17517,17778,17890,18028,18183,18345,18503,
|
|
18649,18773,18864,18913,18910,18846,18710,18493,
|
|
18186,17778,16332,13653,10843, 9005, 9019,10106,
|
|
10875,11007,11106,11179,11228,11257,11271,11271,
|
|
11264,11251,11238,-9897,-10428,-11710,-13279,-14672,
|
|
-15424,-15600,-15601,-15461,-15214,-14896,-14541,-14183,
|
|
-13859,-13602,-13447,-13429,-13583,-13944,-14546,-15424,
|
|
-18689,-24730,-30999,-34950,-34597,-31631,-29012,-27472,
|
|
-25805,-24059,-22284,-20532,-18851,-17291,-15903,-14737,
|
|
-13842, -138, -138, -138, -138, -138, -138, -147,
|
|
-171, -205, -247, -293, -339, -381, -415, -439,
|
|
-448, -438, -405, -347, -260, -138, 260, 1007,
|
|
1842, 2503, 2303, 1743, 1336, 1197, 1051, 901,
|
|
751, 605, 467, 339, 227, 133, 61, -155,
|
|
-155, -155, -155, -155, -155, -157, -162, -169,
|
|
-177, -187, -196, -204, -212, -216, -218, -216,
|
|
-210, -198, -180, -155, -74, 77, 247, 382,
|
|
345, 227, 155, 120, 82, 42, 1, -38,
|
|
-76, -112, -143, -170, -190,-6249,-6249,-6249,
|
|
-6249,-6249,-6249,-6193,-6040,-5815,-5542,-5244,
|
|
-4947,-4674,-4449,-4296,-4240,-4304,-4513,-4891,
|
|
-5461,-6249,-8793,-13561,-18967,-23425,-23527,-21682,
|
|
-20818,-20176,-19468,-18717,-17946,-17179,-16439,-15749,
|
|
-15132,-14612,-14212, 4312, 4312, 4312, 4312, 4312,
|
|
4312, 4259, 4115, 3903, 3646, 3367, 3087, 2830,
|
|
2618, 2474, 2421, 2482, 2678, 3034, 3571, 4312,
|
|
6672,11101,16177,20473,21475,19411,18179,17220,
|
|
16161,15036,13882,12731,11621,10585, 9659, 8878,
|
|
8277, 3918, 3918, 3918, 3918, 3918, 3918, 3922,
|
|
3936, 3955, 3979, 4005, 4031, 4055, 4074, 4088,
|
|
4092, 4087, 4069, 4036, 3986, 3918, 3708, 3313,
|
|
2847, 2422, 2090, 1845, 2104, 2527, 3003, 3516,
|
|
4047, 4580, 5098, 5583, 6019, 6388, 6672, 1190,
|
|
1190, 1190, 1190, 1190, 1190, 1175, 1134, 1074,
|
|
1001, 922, 843, 770, 710, 669, 654, 671,
|
|
727, 828, 980, 1190, 1856, 3106, 4543, 5768,
|
|
6116, 6086, 5880, 5744, 5594, 5436, 5274, 5113,
|
|
4958, 4814, 4685, 4576, 4493,-16131,-16131,-16131,
|
|
-16131,-16131,-16131,-16098,-16006,-15872,-15709,-15532,
|
|
-15354,-15191,-15057,-14966,-14932,-14971,-15095,-15321,
|
|
-15661,-16131,-17614,-20401,-23615,-26382,-27388,-27599,
|
|
-26983,-26475,-25913,-25316,-24702,-24090,-23498,-22946,
|
|
-22453,-22036,-21715, 0, 0, 0, 0, 0,
|
|
0, 1, 5, 10, 17, 24, 31, 38,
|
|
43, 47, 48, 46, 41, 32, 19, 0,
|
|
-62, -179, -310, -414, -387, 0, 993, 970,
|
|
906, 812, 694, 564, 429, 298, 181, 86,
|
|
23, 0, 0, 0, 0, 0, 0, -1,
|
|
-5, -11, -19, -27, -35, -43, -49, -53,
|
|
-55, -53, -47, -37, -21, 0, 81, 231,
|
|
384, 472, 170, 0, 574, 561, 524, 469,
|
|
401, 326, 248, 172, 104, 50, 13,-11674,
|
|
-11674,-11674,-11674,-11674,-11674,-11645,-11569,-11456,
|
|
-11319,-11170,-11021,-10884,-10772,-10695,-10667,-10699,
|
|
-10804,-10993,-11279,-11674,-12930,-15288,-17991,-20279,
|
|
-20819,-19383,-21319,-21015,-20592,-20082,-19514,-18922,
|
|
-18335,-17785,-17302,-16919,-16667,19540,19540,19540,
|
|
19540,19540,19540,19540,19540,19540,19541,19542,
|
|
19542,19543,19543,19544,19544,19543,19543,19542,
|
|
19541,19540,19474,19365,19334,19504,21102,18728,
|
|
18840,17989,17002,15923,14799,13676,12599,11616,
|
|
10771,10110, 9680,-1857,-1663,-1198, -644, -179,
|
|
15, 21, 39, 65, 97, 132, 167, 199,
|
|
225, 243, 249, 242, 217, 173, 107, 15,
|
|
-274, -820,-1449,-1990,-2185,-2231,-3589,-4335,
|
|
-5149,-6000,-6859,-7698,-8488,-9199,-9802,-10269,
|
|
-10571,-4861,-4906,-5014,-5143,-5251,-5296,-5298,
|
|
-5302,-5308,-5315,-5323,-5332,-5339,-5345,-5349,
|
|
-5351,-5349,-5343,-5333,-5318,-5296,-5224,-5089,
|
|
-4942,-4832,-4923,-5156,-4843,-4841,-4850,-4868,
|
|
-4893,-4922,-4953,-4984,-5011,-5034,-5050,-32139,
|
|
-32554,-33543,-34723,-35711,-36126,-36146,-36201,-36281,
|
|
-36379,-36485,-36592,-36690,-36770,-36825,-36845,-36822,
|
|
-36747,-36612,-36408,-36126,-35228,-33543,-31612,-29978,
|
|
-29599,-29796,-27476,-26539,-25541,-24514,-23490,-22499,
|
|
-21574,-20747,-20048,-19510,-19164,32767,32767,16753,
|
|
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
|
|
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
|
|
-16545,-16545,-16545,-16545,-16545,-16506,-16441,-16428,
|
|
-16545,-17588,-16545,-16545,-16545,-16545,-16545,-16545,
|
|
-16545,-16545,-16545,-16545,-16545,-16545,32767,32767,
|
|
16753,-16545, 557, -43,-1494,-3270,-4846,-5696,
|
|
-5987,-6235,-6440,-6603,-6723,-6802,-6840,-6837,
|
|
-6793,-6708,-6584,-6421,-6218,-5976,-5696,-4786,
|
|
-3096,-1284, -12, 280, 5, -222, -216, -204,
|
|
-185, -162, -137, -109, -82, -56, -34, -16,
|
|
2175, 2385, 2891, 3511, 4061, 4358, 4463, 4559,
|
|
4644, 4718, 4779, 4825, 4855, 4868, 4862, 4836,
|
|
4788, 4718, 4624, 4504, 4358, 3874, 2973, 2002,
|
|
1310, 1129, 1237, 1291, 1192, 1074, 942, 801,
|
|
656, 514, 379, 257, 152, 71, 1358, 1233,
|
|
931, 561, 233, 56, 3, -27, -40, -37,
|
|
-22, 1, 29, 60, 90, 115, 132, 138,
|
|
130, 103, 56, -78, -336, -681,-1072,-1688,
|
|
-2411,-2753,-2709,-2605,-2452,-2262,-2050,-1825,
|
|
-1602,-1391,-1206,-1059,-5058,-3807, -783, 2917,
|
|
6202, 7974, 8565, 9040, 9406, 9670, 9840, 9924,
|
|
9927, 9859, 9725, 9534, 9293, 9009, 8690, 8342,
|
|
7974, 6825, 4692, 2411, 823, 513, 937, 1233,
|
|
1162, 1065, 948, 816, 676, 534, 397, 270,
|
|
161, 76,-1052,-1312,-1940,-2709,-3391,-3760,
|
|
-3883,-3983,-4061,-4118,-4156,-4176,-4179,-4166,
|
|
-4140,-4101,-4050,-3989,-3920,-3843,-3760,-3506,
|
|
-3033,-2517,-2131,-1992,-1983,-1925,-1767,-1585,
|
|
-1384,-1173, -959, -749, -551, -372, -220, -103,
|
|
4521, 3691, 1684, -772,-2952,-4129,-4532,-4878,
|
|
-5165,-5394,-5565,-5679,-5735,-5734,-5675,-5559,
|
|
-5387,-5157,-4871,-4528,-4129,-2780, -283, 2320,
|
|
3992, 3852, 2669, 1876, 1781, 1731, 1720, 1740,
|
|
1785, 1847, 1919, 1994, 2064, 2124,16545,16545,
|
|
16545,16545,16545,16545,16538,16520,16492,16459,
|
|
16423,16387,16354,16326,16308,16301,16309,16334,
|
|
16380,16449,16545,16933,17643,18326,18631,18604,
|
|
18530,18414,18265,18090,17897,17692,17484,17279,
|
|
17086,16911,16762,16646,
|
|
};
|
|
static short mario_jump_tbl[]={
|
|
1, 0, /* chn14translate x */
|
|
38, 1, /* chn14 translate y */
|
|
38, 39, /* chn14 translate z */
|
|
1, 0, /* chn14 rotate x */
|
|
1, 77, /* chn14 rotate y */
|
|
1, 0, /* chn14 rotate z */
|
|
1, 0, /* <m_waist>1_3 rotate x */
|
|
1, 0, /* <m_waist>1_3 rotate y */
|
|
38, 1190, /* <m_waist>1_3 rotate z */
|
|
38, 1076, /* <m_body>1 rotate x */
|
|
38, 1114, /* <m_body>1 rotate y */
|
|
38, 1152, /* <m_body>1 rotate z */
|
|
38, 962, /* <m_head>2 rotate x */
|
|
38, 1000, /* <m_head>2 rotate y */
|
|
38, 1038, /* <m_head>2 rotate z */
|
|
|
|
1, 958, /* chn6 rotate x */
|
|
1, 959, /* chn6 rotate y */
|
|
1, 960, /* chn6 rotate z */
|
|
38, 118, /* <m_larmA>1 rotate x */
|
|
38, 156, /* <m_larmA>1 rotate y */
|
|
38, 194, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1 rotate x */
|
|
1, 0, /* <m_larmB>1 rotate y */
|
|
38, 80, /* <m_larmB>1 rotate z */
|
|
1, 0, /* <m_lhand>1 rotate x */
|
|
1, 78, /* <m_lhand>1 rotate y */
|
|
1, 79, /* <m_lhand>1 rotate z */
|
|
|
|
1, 917, /* chn10 rotate x */
|
|
1, 918, /* chn10 rotate y */
|
|
1, 919, /* chn10 rotate z */
|
|
38, 271, /* <m_rarmA>1 rotate x */
|
|
38, 309, /* <m_rarmA>1 rotate y */
|
|
38, 347, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
38, 233, /* <m_rarmB>1 rotate z */
|
|
1, 0, /* <m_rhand>1 rotate x */
|
|
1, 0, /* <m_rhand>1 rotate y */
|
|
1, 232, /* <m_rhand>1 rotate z */
|
|
|
|
1, 0, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
38, 920, /* chn15 rotate z */
|
|
38, 803, /* <m_llegA>1 rotate x */
|
|
38, 841, /* <m_llegA>1 rotate y */
|
|
38, 879, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
38, 765, /* <m_llegB>1 rotate z */
|
|
38, 651, /* <m_ltoot>1 rotate x */
|
|
38, 689, /* <m_ltoot>1 rotate y */
|
|
38, 727, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 961, /* chn17 rotate z */
|
|
38, 537, /* <m_rlegA>1 rotate x */
|
|
38, 575, /* <m_rlegA>1 rotate y */
|
|
38, 613, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
38, 499, /* <m_rlegB>1 rotate z */
|
|
38, 385, /* <m_rfoot>1 rotate x */
|
|
38, 423, /* <m_rfoot>1 rotate y */
|
|
38, 461, /* <m_rfoot>1 rotate z */
|
|
};
|
|
|
|
AnimeRecord animMarioJumping = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
12, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_jump_prm,
|
|
mario_jump_tbl
|
|
};
|
|
|
|
AnimeRecord animMarioJumpEnd = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
22, /* start frame */
|
|
0, /* loop frame */
|
|
38, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_jump_prm,
|
|
mario_jump_tbl
|
|
};
|