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

250 lines
11 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario floating animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
July 11, 1995
********************************************************************************/
#include "../headers.h"
static short mario_swimwait_prm[]={
0, 189, 189, 189, 189, 190, 190, 191,
192, 193, 194, 196, 199, 203, 207, 212,
215, 218, 218, 218, 217, 216, 214, 213,
211, 209, 207, 205, 203, 201, 198, 197,
195, 193, 192, 190, 189, 189, 189,16383,
-118, 12, 378, 938, 1655, 2487, 3396, 4341,
5283, 6183, 7000, 7696, 8229, 8562, 8710, 8727,
8629, 8434, 8157, 7816, 7428, 7009, 6575, 6144,
5732, 5356, 4990, 4599, 4187, 3757, 3313, 2858,
2396, 1930, 1464, 1002, 547, 103,-1664,-1717,
-1859,-2069,-2326,-2607,-2891,-3155,-3377,-3536,
-3610,-3576,-3414,-3100,-2551,-1733, -706, 470,
1739, 3041, 4316, 5507, 6553, 7398, 7981, 8244,
8189, 7883, 7362, 6661, 5816, 4864, 3839, 2779,
1719, 694, -257,-1102,-3985,-4034,-4170,-4378,
-4642,-4947,-5277,-5617,-5950,-6262,-6536,-6757,
-6910,-6978,-6958,-6861,-6701,-6490,-6242,-5968,
-5683,-5398,-5127,-4881,-4675,-4520,-4408,-4320,
-4251,-4200,-4161,-4133,-4111,-4093,-4075,-4053,
-4025,-3986,-11785,-11799,-11838,-11898,-11975,-12066,
-12166,-12273,-12382,-12489,-12591,-12685,-12765,-12828,
-12883,-12938,-12991,-13041,-13086,-13125,-13156,-13178,
-13188,-13186,-13169,-13137,-13086,-13015,-12928,-12826,
-12714,-12594,-12467,-12338,-12210,-12083,-11963,-11851,
-737, -736, -736, -740, -751, -774, -811, -867,
-945,-1048,-1181,-1346,-1547,-1788,-2119,-2568,
-3106,-3706,-4339,-4976,-5588,-6148,-6626,-6995,
-7225,-7289,-7182,-6933,-6562,-6090,-5536,-4921,
-4266,-3590,-2914,-2259,-1644,-1090,-11868,-11835,
-11744,-11605,-11427,-11219,-10993,-10757,-10522,-10297,
-10092,-9916,-9781,-9695,-9654,-9643,-9660,-9701,
-9761,-9837,-9925,-10022,-10123,-10226,-10325,-10418,
-10510,-10611,-10718,-10832,-10950,-11071,-11195,-11320,
-11445,-11568,-11690,-11808,-15347,-15349,-15352,-15352,
-15345,-15326,-15291,-15235,-15154,-15045,-14901,-14720,
-14497,-14227,-13854,-13347,-12737,-12058,-11340,-10618,
-9922,-9286,-8742,-8321,-8057,-7982,-8100,-8379,
-8795,-9326,-9949,-10640,-11377,-12138,-12898,-13635,
-14327,-14949,-1646,-1677,-1764,-1896,-2064,-2259,
-2471,-2691,-2908,-3113,-3297,-3450,-3562,-3623,
-3635,-3608,-3547,-3459,-3349,-3224,-3089,-2951,
-2815,-2687,-2573,-2480,-2401,-2326,-2255,-2186,
-2120,-2056,-1993,-1930,-1868,-1804,-1740,-1674,
3298, 3400, 3682, 4105, 4633, 5228, 5853, 6470,
7042, 7531, 7901, 8113, 8131, 7916, 7385, 6522,
5396, 4076, 2629, 1125, -367,-1781,-3048,-4098,
-4864,-5277,-5350,-5164,-4757,-4166,-3427,-2577,
-1653, -692, 267, 1191, 2041, 2780,-7535,-7501,
-7407,-7262,-7077,-6864,-6632,-6392,-6155,-5931,
-5731,-5565,-5444,-5378,-5368,-5402,-5474,-5575,
-5701,-5843,-5996,-6152,-6305,-6448,-6575,-6677,
-6763,-6843,-6918,-6989,-7057,-7122,-7186,-7248,
-7311,-7375,-7440,-7508,-10534,-10568,-10664,-10811,
-10995,-11207,-11435,-11668,-11893,-12100,-12277,-12413,
-12496,-12516,-12461,-12338,-12161,-11940,-11688,-11419,
-11144,-10876,-10627,-10409,-10236,-10119,-10053,-10021,
-10018,-10038,-10078,-10133,-10197,-10265,-10334,-10398,
-10452,-10492, 3014, 2920, 2657, 2256, 1748, 1161,
527, -123, -762,-1358,-1880,-2299,-2584,-2705,
-2650,-2443,-2110,-1677,-1170, -614, -36, 537,
1082, 1571, 1979, 2281, 2491, 2650, 2765, 2843,
2892, 2919, 2931, 2935, 2940, 2952, 2978, 3027,
10690,10681,10656,10618,10572,10519,10465,10413,
10366,10327,10300,10289,10297,10327,10390,10489,
10615,10761,10920,11084,11246,11399,11535,11646,
11725,11765,11766,11738,11684,11609,11517,11412,
11299,11181,11063,10950,10845,10753,-10777,-10870,
-11131,-11528,-12029,-12603,-13219,-13847,-14454,-15010,
-15483,-15842,-16056,-16094,-15927,-15568,-15053,-14418,
-13699,-12930,-12147,-11386,-10681,-10070,-9586,-9265,
-9093,-9020,-9032,-9116,-9257,-9441,-9653,-9880,
-10106,-10318,-10502,-10643, -14, -15, -18, -20,
-20, -17, -9, 4, 27, 58, 126, 234,
353, 452, 500, 507, 504, 491, 471, 446,
416, 384, 351, 320, 291, 266, 244, 222,
199, 177, 154, 131, 109, 86, 63, 40,
18, -4, 604, 603, 601, 597, 592, 584,
574, 562, 547, 530, 497, 448, 396, 354,
338, 343, 353, 370, 390, 413, 438, 463,
487, 509, 528, 542, 553, 561, 568, 574,
578, 582, 586, 588, 591, 595, 598, 603,
-14262,-14293,-14363,-14438,-14482,-14460,-14338,-14081,
-13655,-13023,-11627,-9361,-6874,-4812,-3824,-3718,
-3848,-4174,-4659,-5263,-5949,-6677,-7410,-8108,
-8734,-9248,-9688,-10114,-10531,-10938,-11338,-11732,
-12123,-12512,-12901,-13292,-13687,-14087,13386,13247,
12857,12259,11494,10603, 9629, 8614, 7598, 6624,
5734, 4968, 4370, 3980, 3841, 4029, 4548, 5335,
6322, 7445, 8639, 9839,10978,11993,12817,13386,
13739,13973,14103,14148,14124,14049,13940,13814,
13687,13578,13503,13479, 4517, 4510, 4492, 4465,
4430, 4389, 4344, 4298, 4251, 4206, 4165, 4130,
4103, 4085, 4079, 4087, 4111, 4147, 4192, 4244,
4299, 4354, 4406, 4453, 4491, 4517, 4533, 4544,
4550, 4552, 4551, 4547, 4542, 4536, 4531, 4526,
4522, 4521, 5247, 5214, 5123, 4984, 4806, 4598,
4371, 4135, 3898, 3671, 3464, 3286, 3146, 3055,
3023, 3067, 3188, 3371, 3601, 3863, 4141, 4420,
4686, 4922, 5114, 5247, 5329, 5383, 5414, 5424,
5419, 5401, 5376, 5346, 5317, 5291, 5274, 5268,
-18561,-18577,-18620,-18688,-18774,-18874,-18983,-19097,
-19211,-19321,-19421,-19507,-19574,-19618,-19633,-19612,
-19554,-19465,-19355,-19228,-19094,-18959,-18831,-18717,
-18625,-18561,-18521,-18495,-18480,-18475,-18478,-18486,
-18499,-18513,-18527,-18539,-18548,-18550, 149, 151,
156, 162, 168, 174, 177, 177, 171, 160,
130, 78, 20, -28, -53, -59, -59, -55,
-48, -39, -27, -14, -1, 11, 22, 32,
41, 50, 59, 68, 78, 87, 97, 107,
116, 126, 135, 145, -247, -246, -242, -238,
-232, -226, -221, -218, -216, -217, -225, -240,
-258, -274, -284, -288, -290, -292, -293, -293,
-293, -292, -291, -290, -288, -287, -285, -283,
-280, -277, -274, -270, -267, -263, -259, -256,
-252, -249,-13246,-13335,-13563,-13874,-14211,-14515,
-14731,-14800,-14666,-14271,-13080,-11003,-8658,-6661,
-5629,-5391,-5345,-5461,-5712,-6068,-6499,-6976,
-7469,-7951,-8391,-8759,-9089,-9428,-9777,-10133,
-10495,-10862,-11231,-11603,-11974,-12343,-12710,-13072,
15332,15209,14865,14337,13661,12875,12015,11118,
10222, 9362, 8576, 7900, 7372, 7028, 6905, 7071,
7529, 8223, 9095,10087,11141,12200,13206,14102,
14830,15332,15644,15850,15965,16005,15984,15918,
15821,15709,15598,15501,15435,15414,-3839,-3836,
-3829,-3817,-3802,-3784,-3765,-3745,-3725,-3706,
-3688,-3673,-3661,-3653,-3650,-3654,-3664,-3680,
-3700,-3722,-3745,-3769,-3792,-3812,-3828,-3839,
-3846,-3851,-3853,-3854,-3854,-3852,-3850,-3848,
-3845,-3843,-3842,-3841,-6725,-6686,-6579,-6413,
-6202,-5956,-5686,-5405,-5125,-4855,-4609,-4398,
-4232,-4125,-4086,-4138,-4282,-4499,-4772,-5082,
-5413,-5744,-6059,-6340,-6568,-6725,-6823,-6887,
-6923,-6936,-6929,-6908,-6878,-6843,-6808,-6778,
-6757,-6751,-20957,-20953,-20941,-20923,-20899,-20872,
-20842,-20811,-20780,-20750,-20722,-20699,-20680,-20668,
-20664,-20670,-20686,-20710,-20740,-20775,-20812,-20848,
-20884,-20915,-20940,-20957,-20968,-20976,-20980,-20981,
-20980,-20978,-20975,-20971,-20967,-20963,-20961,-20960,
32767,32767,16753,-16545,32767,32767,16753,-16545,
-4472,-4466,-4446,-4415,-4373,-4322,-4263,-4196,
-4123,-4046,-3964,-3879,-3793,-3706,-3619,-3534,
-3452,-3373,-3300,-3232,-3171,-3119,-3075,-3043,
-3021,-3012,-3029,-3079,-3159,-3264,-3388,-3526,
-3675,-3828,-3981,-4129,-4268,-4392, 3849, 3838,
3805, 3755, 3689, 3610, 3522, 3427, 3327, 3227,
3127, 3031, 2943, 2864, 2798, 2747, 2714, 2702,
2707, 2722, 2747, 2781, 2822, 2871, 2926, 2987,
3052, 3120, 3192, 3265, 3340, 3415, 3489, 3562,
3633, 3700, 3764, 3822,18095,18085,18055,18009,
17949,17878,17799,17714,17627,17539,17455,17375,
17304,17244,17197,17167,17156,17160,17171,17190,
17215,17247,17283,17325,17371,17420,17472,17527,
17584,17641,17700,17758,17816,17873,17927,17980,
18029,18075
};
static short mario_swimwait_tbl[]={
1, 0, /* chn14translate x */
38, 1, /* chn14 translate y */
1, 0, /* chn14 translate z */
1, 0, /* chn14 rotate x */
1, 39, /* 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, 1188, /* <m_waist>1_3 rotate z */
1, 0, /* <m_body>1 rotate x */
1, 0, /* <m_body>1 rotate y */
38, 1150, /* <m_body>1 rotate z */
1, 0, /* <m_head>2 rotate x */
1, 0, /* <m_head>2 rotate y */
38, 1112, /* <m_head>2 rotate z */
1, 1108, /* chn6 rotate x */
1, 1109, /* chn6 rotate y */
1, 1110, /* chn6 rotate z */
38, 192, /* <m_larmA>1 rotate x */
38, 230, /* <m_larmA>1 rotate y */
38, 268, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
38, 154, /* <m_larmB>1 rotate z */
38, 40, /* <m_rhand2>2 rotate x */
38, 78, /* <m_rhand2>2 rotate y */
38, 116, /* <m_rhand2>2 rotate z */
1, 1104, /* chn10 rotate x */
1, 1105, /* chn10 rotate y */
1, 1106, /* chn10 rotate z */
38, 458, /* <m_rarmA>1 rotate x */
38, 496, /* <m_rarmA>1 rotate y */
38, 534, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
38, 420, /* <m_rarmB>1 rotate z */
38, 306, /* <m_rhand2>1 rotate x */
38, 344, /* <m_rhand2>1 rotate y */
38, 382, /* <m_rhand2>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 1107, /* chn15 rotate z */
38, 990, /* <m_llegA>1 rotate x */
38, 1028, /* <m_llegA>1 rotate y */
38, 1066, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
38, 952, /* <m_llegB>1 rotate z */
38, 838, /* <m_ltoot>1 rotate x */
38, 876, /* <m_ltoot>1 rotate y */
38, 914, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 1111, /* chn17 rotate z */
38, 724, /* <m_rlegA>1 rotate x */
38, 762, /* <m_rlegA>1 rotate y */
38, 800, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
38, 686, /* <m_rlegB>1 rotate z */
38, 572, /* <m_rfoot>1 rotate x */
38, 610, /* <m_rfoot>1 rotate y */
38, 648, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioFloating = {
MAP_ANIM_NORMAL, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
38, /* number of frames */
20, /* number of joints */
mario_swimwait_prm,
mario_swimwait_tbl
};