263 lines
12 KiB
C
263 lines
12 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario float moving animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
December 19, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_swimwait_move_prm[]={
|
|
0, 189,16383, -20, 150, 619, 1319, 2183,
|
|
3144, 4135, 5091, 5943, 6854, 7823, 8538, 9035,
|
|
9520, 9943,10249,10387,10303,10034, 9661, 9203,
|
|
8679, 8106, 7502, 6886, 6276, 5691, 5147, 4584,
|
|
3949, 3272, 2585, 1918, 1303, 770, 351, 77,
|
|
-20, 1294, 1254, 1139, 958, 721, 435, 110,
|
|
-245, -623,-1532,-2701,-2948,-2042, -689, 894,
|
|
2491, 3884, 4855, 5518, 6126, 6671, 7144, 7539,
|
|
7848, 8062, 8173, 8175, 8058, 7725, 7127, 6335,
|
|
5421, 4453, 3504, 2643, 1940, 1467, 1294,-3991,
|
|
-4036,-4164,-4361,-4613,-4908,-5231,-5570,-5912,
|
|
-6649,-7562,-7715,-6893,-5655,-4227,-2836,-1708,
|
|
-1071, -847, -786, -859,-1036,-1289,-1588,-1904,
|
|
-2208,-2470,-2661,-2816,-2986,-3163,-3339,-3508,
|
|
-3663,-3796,-3899,-3967,-3991,-14004,-13962,-13840,
|
|
-13648,-13395,-13090,-12742,-12361,-11955,-11446,-10789,
|
|
-10041,-9262,-8511,-7845,-7324,-7005,-6948,-7182,
|
|
-7660,-8328,-9130,-10014,-10923,-11804,-12601,-13261,
|
|
-13728,-14021,-14208,-14306,-14333,-14307,-14246,-14167,
|
|
-14088,-14028,-14004,-2159,-2157,-2143,-2102,-2022,
|
|
-1886,-1683,-1397,-1016, -454, 314, 1215, 2174,
|
|
3115, 3965, 4650, 5093, 5222, 5009, 4517, 3808,
|
|
2945, 1988, 1000, 42, -824,-1536,-2034,-2336,
|
|
-2519,-2603,-2609,-2558,-2469,-2364,-2264,-2188,
|
|
-2159,-14444,-14446,-14449,-14454,-14461,-14467,-14474,
|
|
-14480,-14485,-14492,-14503,-14516,-14528,-14538,-14544,
|
|
-14543,-14533,-14513,-14476,-14424,-14360,-14289,-14215,
|
|
-14144,-14080,-14028,-13992,-13976,-13986,-14020,-14072,
|
|
-14136,-14206,-14276,-14341,-14394,-14431,-14444,-15608,
|
|
-15551,-15392,-15151,-14847,-14500,-14130,-13756,-13397,
|
|
-12997,-12510,-11973,-11422,-10895,-10428,-10057,-9819,
|
|
-9751,-9867,-10133,-10518,-10992,-11524,-12082,-12636,
|
|
-13153,-13603,-13956,-14239,-14502,-14743,-14959,-15148,
|
|
-15308,-15436,-15530,-15588,-15608,-8034,-8804,-10480,
|
|
-12115,-12761,-11893,-10108,-8137,-6715,-5787,-4836,
|
|
-3904,-3033,-2262,-1633,-1188, -967,-1011,-1374,
|
|
-2039,-2940,-4011,-5187,-6402,-7589,-8683,-9617,
|
|
-10327,-10750,-10912,-10875,-10705,-10464,-10217,-9747,
|
|
-9011,-8332,-8034,-4847,-5640,-7369,-9057,-9728,
|
|
-8806,-6917,-4890,-3553,-2921,-2434,-2059,-1766,
|
|
-1524,-1301,-1068, -791, -441, 26, 607, 1256,
|
|
1929, 2581, 3170, 3649, 3976, 4105, 3993, 3322,
|
|
1989, 273,-1549,-3200,-4402,-4969,-5067,-4943,
|
|
-4847,-4715,-3334, -259, 2908, 4566, 3918, 1942,
|
|
-304,-1763,-2389,-2866,-3226,-3500,-3719,-3916,
|
|
-4121,-4367,-4685,-5093,-5568,-6086,-6619,-7143,
|
|
-7629,-8054,-8390,-8611,-8692,-8582,-8280,-7835,
|
|
-7294,-6706,-6117,-5575,-5129,-4827,-4715,-8742,
|
|
-8917,-9383,-10058,-10858,-11698,-12495,-13164,-13621,
|
|
-13915,-14149,-14325,-14445,-14509,-14520,-14479,-14388,
|
|
-14247,-14033,-13734,-13367,-12952,-12508,-12052,-11604,
|
|
-11182,-10805,-10492,-10220,-9958,-9710,-9480,-9273,
|
|
-9094,-8947,-8836,-8767,-8742, 3399, 3368, 3290,
|
|
3186, 3078, 2987, 2934, 2940, 3027, 3225, 3526,
|
|
3897, 4304, 4713, 5089, 5400, 5612, 5690, 5625,
|
|
5449, 5187, 4862, 4502, 4129, 3771, 3451, 3195,
|
|
3027, 2945, 2919, 2939, 2993, 3070, 3158, 3246,
|
|
3323, 3378, 3399,11313,11271,11164,11021,10870,
|
|
10739,10657,10652,10753,10996,11369,11832,12340,
|
|
12852,13324,13714,13980,14078,13997,13776,13447,
|
|
13040,12588,12122,11674,11276,10958,10753,10657,
|
|
10634,10671,10751,10860,10983,11105,11210,11284,
|
|
11313,-7907,-8006,-8271,-8655,-9107,-9581,-10027,
|
|
-10397,-10643,-10779,-10859,-10894,-10895,-10872,-10835,
|
|
-10796,-10765,-10752,-10762,-10786,-10818,-10850,-10875,
|
|
-10886,-10875,-10836,-10761,-10643,-10451,-10176,-9843,
|
|
-9475,-9097,-8733,-8408,-8146,-7970,-7907, -271,
|
|
-269, -260, -247, -229, -208, -182, -153, -121,
|
|
-87, -50, -12, 26, 66, 138, 246, 352,
|
|
416, 433, 429, 408, 375, 335, 279, 205,
|
|
124, 50, -4, -44, -83, -121, -156, -188,
|
|
-216, -239, -257, -268, -271, 538, 538, 539,
|
|
539, 539, 539, 539, 539, 537, 536, 533,
|
|
530, 525, 520, 505, 478, 452, 437, 434,
|
|
437, 445, 457, 472, 495, 528, 562, 589,
|
|
603, 605, 602, 596, 587, 576, 565, 555,
|
|
547, 541, 538,-18891,-18846,-18714,-18501,-18211,
|
|
-17850,-17423,-16936,-16393,-15799,-15161,-14482,-13769,
|
|
-13026,-11626,-9467,-7342,-6047,-5672,-5720,-6098,
|
|
-6714,-7476,-8556,-10016,-11598,-13041,-14087,-14838,
|
|
-15560,-16243,-16874,-17440,-17931,-18333,-18635,-18825,
|
|
-18891,12019,11894,11561,11082,10519, 9934, 9390,
|
|
8949, 8673, 8625, 8869, 9379,10072,10868,11688,
|
|
12450,13074,13479,13704,13848,13922,13938,13908,
|
|
13843,13757,13659,13563,13479,13379,13234,13057,
|
|
12860,12658,12463,12288,12148,12053,12019, 2673,
|
|
2699, 2774, 2892, 3046, 3231, 3441, 3669, 3911,
|
|
4159, 4409, 4654, 4888, 5105, 5299, 5465, 5596,
|
|
5687, 5723, 5701, 5631, 5520, 5378, 5214, 5037,
|
|
4857, 4682, 4521, 4347, 4136, 3900, 3654, 3409,
|
|
3179, 2977, 2817, 2711, 2673, 6338, 6321, 6274,
|
|
6200, 6102, 5986, 5853, 5709, 5557, 5401, 5245,
|
|
5091, 4945, 4810, 4689, 4587, 4507, 4453, 4435,
|
|
4457, 4512, 4593, 4694, 4808, 4929, 5050, 5166,
|
|
5268, 5375, 5500, 5638, 5780, 5921, 6052, 6166,
|
|
6257, 6316, 6338,-22021,-21967,-21812,-21569,-21251,
|
|
-20869,-20436,-19965,-19468,-18956,-18444,-17942,-17464,
|
|
-17022,-16628,-16294,-16034,-15858,-15802,-15875,-16057,
|
|
-16325,-16658,-17036,-17435,-17835,-18214,-18550,-18897,
|
|
-19306,-19753,-20216,-20671,-21095,-21466,-21759,-21952,
|
|
-22021, -74, -64, -39, -4, 35, 75, 110,
|
|
135, 145, 147, 154, 163, 175, 187, 200,
|
|
211, 220, 225, 229, 232, 236, 238, 239,
|
|
239, 236, 230, 221, 208, 188, 159, 125,
|
|
87, 48, 10, -22, -49, -67, -74, -278,
|
|
-277, -274, -269, -264, -258, -254, -250, -249,
|
|
-247, -241, -233, -223, -212, -201, -191, -184,
|
|
-180, -178, -177, -177, -178, -180, -183, -186,
|
|
-190, -194, -199, -205, -214, -224, -234, -245,
|
|
-255, -264, -272, -277, -278,-4934,-5283,-6205,
|
|
-7509,-9003,-10497,-11800,-12722,-13072,-13189,-13506,
|
|
-13970,-14529,-15132,-15726,-16258,-16677,-16931,-17083,
|
|
-17222,-17332,-17398,-17404,-17334,-17174,-16907,-16518,
|
|
-15992,-15197,-14074,-12722,-11236,-9713,-8250,-6944,
|
|
-5892,-5189,-4934,11138,11392,12063,13016,14117,
|
|
15230,16220,16952,17292,17249,16962,16487,15879,
|
|
15194,14489,13818,13239,12807,12483,12192,11931,
|
|
11699,11495,11316,11161,11029,10917,10825,10766,
|
|
10751,10770,10815,10877,10948,11018,11079,11122,
|
|
11138,-3730,-3734,-3747,-3765,-3785,-3806,-3824,
|
|
-3836,-3841,-3715,-3376,-2884,-2301,-1685,-1097,
|
|
-598, -247, -104, -168, -375, -695,-1097,-1550,
|
|
-2022,-2484,-2904,-3251,-3494,-3648,-3751,-3812,
|
|
-3838,-3839,-3821,-3793,-3763,-3739,-3730,-5605,
|
|
-5654,-5784,-5967,-6178,-6388,-6572,-6701,-6751,
|
|
-6733,-6685,-6613,-6522,-6418,-6308,-6197,-6093,
|
|
-6000,-5908,-5807,-5700,-5592,-5486,-5386,-5297,
|
|
-5223,-5168,-5135,-5132,-5159,-5207,-5272,-5345,
|
|
-5420,-5491,-5549,-5590,-5605,-13278,-13608,-14478,
|
|
-15709,-17119,-18530,-19760,-20630,-20960,-21061,-21327,
|
|
-21705,-22142,-22583,-22976,-23266,-23400,-23325,-23038,
|
|
-22594,-22026,-21365,-20641,-19887,-19134,-18414,-17757,
|
|
-17197,-16680,-16146,-15612,-15094,-14609,-14175,-13808,
|
|
-13525,-13342,-13278,-32767,-32767,16753,-16545,-32767,
|
|
-32767,16753,-16545, 1253, 1234, 1175, 1077, 940,
|
|
763, 548, 293, 0, -386, -892,-1472,-2083,
|
|
-2681,-3223,-3664,-3961,-4069,-3979,-3731,-3358,
|
|
-2892,-2367,-1815,-1270, -763, -329, 0, 250,
|
|
471, 662, 824, 959, 1068, 1150, 1208, 1242,
|
|
1253, 621, 612, 585, 540, 475, 389, 282,
|
|
152, 0, -204, -473, -783,-1111,-1431,-1722,
|
|
-1959,-2118,-2177,-2128,-1995,-1795,-1545,-1263,
|
|
-967, -675, -405, -174, 0, 130, 243, 339,
|
|
420, 485, 536, 575, 601, 616, 621,-4362,
|
|
-4370,-4388,-4412,-4435,-4450,-4452,-4435,-4392,
|
|
-4311,-4193,-4051,-3897,-3743,-3601,-3485,-3406,
|
|
-3377,-3401,-3467,-3565,-3687,-3823,-3963,-4100,
|
|
-4223,-4323,-4392,-4431,-4452,-4458,-4452,-4438,
|
|
-4420,-4399,-4381,-4367,-4362,-4488,-4365,-4029,
|
|
-3522,-2890,-2177,-1428, -687, 0, 733, 1601,
|
|
2545, 3506, 4425, 5243, 5900, 6337, 6496, 6364,
|
|
5996, 5439, 4737, 3934, 3077, 2210, 1378, 626,
|
|
0, -570,-1169,-1776,-2370,-2930,-3435,-3864,
|
|
-4197,-4411,-4488, -379, -371, -349, -313, -267,
|
|
-210, -146, -75, 0, 93, 212, 346, 486,
|
|
623, 746, 846, 913, 937, 917, 861, 776,
|
|
670, 551, 424, 299, 181, 79, 0, -63,
|
|
-123, -178, -228, -271, -308, -338, -360, -374,
|
|
-379, 4011, 4000, 3971, 3932, 3889, 3850, 3821,
|
|
3809, 3822, 3867, 3939, 4031, 4133, 4236, 4331,
|
|
4410, 4464, 4484, 4468, 4423, 4356, 4274, 4183,
|
|
4089, 4000, 3921, 3860, 3822, 3809, 3812, 3828,
|
|
3855, 3887, 3922, 3956, 3984, 4004, 4011, 2398,
|
|
2362, 2257, 2093, 1878, 1620, 1328, 1010, 673,
|
|
328, -18, -357, -681, -981,-1248,-1475,-1652,
|
|
-1773,-1814,-1769,-1652,-1477,-1258,-1009, -745,
|
|
-479, -226, 0, 236, 516, 824, 1144, 1460,
|
|
1754, 2012, 2216, 2350, 2398,18075
|
|
};
|
|
static short mario_swimwait_move_tbl[]={
|
|
1, 0, /* chn14translate x */
|
|
1, 1, /* chn14 translate y */
|
|
1, 0, /* chn14 translate z */
|
|
1, 0, /* chn14 rotate x */
|
|
1, 2, /* chn14 rotate y */
|
|
1, 0, /* chn14 rotate z */
|
|
38, 1303, /* <m_waist>1_3 rotate x */
|
|
1, 0, /* <m_waist>1_3 rotate y */
|
|
1, 1341, /* <m_waist>1_3 rotate z */
|
|
38, 1189, /* <m_body>1 rotate x */
|
|
38, 1227, /* <m_body>1 rotate y */
|
|
38, 1265, /* <m_body>1 rotate z */
|
|
38, 1075, /* <m_head>2 rotate x */
|
|
38, 1113, /* <m_head>2 rotate y */
|
|
38, 1151, /* <m_head>2 rotate z */
|
|
|
|
1, 1071, /* chn6 rotate x */
|
|
1, 1072, /* chn6 rotate y */
|
|
1, 1073, /* chn6 rotate z */
|
|
38, 155, /* <m_larmA>1 rotate x */
|
|
38, 193, /* <m_larmA>1 rotate y */
|
|
38, 231, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1 rotate x */
|
|
1, 0, /* <m_larmB>1 rotate y */
|
|
38, 117, /* <m_larmB>1 rotate z */
|
|
38, 3, /* <m_rhand2>2 rotate x */
|
|
38, 41, /* <m_rhand2>2 rotate y */
|
|
38, 79, /* <m_rhand2>2 rotate z */
|
|
|
|
1, 1067, /* chn10 rotate x */
|
|
1, 1068, /* chn10 rotate y */
|
|
1, 1069, /* chn10 rotate z */
|
|
38, 421, /* <m_rarmA>1 rotate x */
|
|
38, 459, /* <m_rarmA>1 rotate y */
|
|
38, 497, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
38, 383, /* <m_rarmB>1 rotate z */
|
|
38, 269, /* <m_rhand2>1 rotate x */
|
|
38, 307, /* <m_rhand2>1 rotate y */
|
|
38, 345, /* <m_rhand2>1 rotate z */
|
|
|
|
1, 0, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
1, 1070, /* chn15 rotate z */
|
|
38, 953, /* <m_llegA>1 rotate x */
|
|
38, 991, /* <m_llegA>1 rotate y */
|
|
38, 1029, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
38, 915, /* <m_llegB>1 rotate z */
|
|
38, 801, /* <m_ltoot>1 rotate x */
|
|
38, 839, /* <m_ltoot>1 rotate y */
|
|
38, 877, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 1074, /* chn17 rotate z */
|
|
38, 687, /* <m_rlegA>1 rotate x */
|
|
38, 725, /* <m_rlegA>1 rotate y */
|
|
38, 763, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
38, 649, /* <m_rlegB>1 rotate z */
|
|
38, 535, /* <m_rfoot>1 rotate x */
|
|
38, 573, /* <m_rfoot>1 rotate y */
|
|
38, 611, /* <m_rfoot>1 rotate z */
|
|
};
|
|
AnimeRecord animMarioFloatMoving = {
|
|
MAP_ANIM_NORMAL, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
38, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_swimwait_move_prm,
|
|
mario_swimwait_move_tbl
|
|
};
|