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

252 lines
11 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario floating throw animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
August 23, 1995
********************************************************************************/
#include "../headers.h"
static short mario_swim_wait_pitch_prm[]={
0, 189,16383,-10661,-11633,-12015,-10661,-6419,
-433, 4995, 7571, 6820, 4338, 928,-2606,-5462,
-6837,-7070,-7061,-6841,-6446,-5909,-5263,-4542,
-3780,-3010,-2266,-1583, -992, -529, -226, -118,
-9367,-10056,-10220,-9367,-6933,-3513, -348, 1315,
1261, 350,-1043,-2544,-3776,-4365,-4454,-4447,
-4357,-4197,-3980,-3721,-3432,-3127,-2819,-2522,
-2249,-2013,-1828,-1707,-1664,10476,11766,11639,
10476, 8106, 4804, 1620, -395,-1117,-1263,-1045,
-676, -367, -331, -526, -765,-1039,-1339,-1658,
-1986,-2316,-2638,-2945,-3228,-3478,-3687,-3847,
-3949,-3985,-19165,-18178,-15991,-13046,-9790,-6664,
-4113,-2581,-2306,-2983,-4241,-5709,-7018,-7796,
-8074,-8169,-8137,-8033,-7914,-7836,-7854,-8025,
-8429,-9042,-9766,-10501,-11149,-11610,-11785, 1423,
2962, 4995, 7254, 9475,11391,12735,13242,12450,
10440, 7767, 4982, 2640, 1293, 687, 194, -196,
-495, -712, -859, -946, -983, -981, -950, -902,
-845, -792, -753, -737,-38021,-38679,-39422,-40184,
-40895,-41488,-41893,-42044,-41730,-40885,-39655,-38185,
-36622,-35110,-33562,-31822,-29934,-27942,-25891,-23825,
-21788,-19825,-17980,-16297,-14821,-13595,-12665,-12075,
-11868,-4536,-2734, 32, 3313, 6653, 9600,11701,
12502,11642, 9437, 6449, 3240, 371,-1593,-2923,
-4253,-5569,-6858,-8106,-9299,-10424,-11467,-12415,
-13254,-13971,-14553,-14985,-15254,-15347,12164,13067,
13541,12164, 7725, 1484,-4274,-7270,-7134,-5458,
-2891, -84, 2311, 3646, 3816, 3321, 2416, 1355,
390, -222, -550, -829,-1062,-1252,-1401,-1512,
-1589,-1632,-1646, 9852,10310,10415, 9852, 8303,
6138, 4077, 2837, 2524, 2648, 3030, 3494, 3860,
3952, 3709, 3262, 2718, 2185, 1768, 1577, 1601,
1741, 1965, 2241, 2537, 2823, 3066, 3235, 3298,
10633,11896,11937,10633, 7560, 3280, -851,-3481,
-4455,-4702,-4482,-4055,-3680,-3620,-3862,-4199,
-4588,-4990,-5365,-5674,-5944,-6224,-6504,-6772,
-7017,-7227,-7390,-7497,-7535,-18148,-16894,-14529,
-11493,-8228,-5173,-2770,-1460,-1578,-2854,-4816,
-6995,-8919,-10117,-10545,-10573,-10346,-10010,-9712,
-9599,-9653,-9751,-9878,-10023,-10171,-10310,-10426,
-10505,-10534,29327,28092,26329,24299,22266,20490,
19232,18755,19501,21427,24060,26928,29560,31485,
32974,34459,35709,36489,36569,35715,31541,24563,
18900,15200,11551, 8232, 5518, 3686, 3014,-6991,
-7395,-7825,-8248,-8634,-8949,-9161,-9239,-9218,
-9106,-8827,-8307,-7472,-6247,-4464,-2149, 480,
3209, 5822, 8102, 9987,11406,12123,12216,12007,
11622,11189,10836,10690,27939,29856,32688,35995,
39334,42266,44349,45141,44063,41275,37447,33251,
29357,26435,24708,23685,22963,22141,20819,18593,
13544, 6489, 1138,-2010,-4851,-7266,-9138,-10347,
-10777, -111, -126, -139, -150, -158, -162, -162,
-133, -74, -13, 18, 24, 28, 29, 29,
28, 25, 21, 16, 11, 6, 0, -4,
-8, -11, -14, -14, -14, -14, 549, 547,
544, 542, 541, 540, 540, 545, 555, 566,
572, 576, 579, 582, 584, 587, 590, 592,
594, 597, 598, 600, 601, 602, 603, 604,
604, 604, 604,-16000,-16278,-16530,-16740,-16893,
-16974,-16969,-16447,-15354,-14240,-13656,-13544,-13475,
-13444,-13446,-13477,-13531,-13603,-13689,-13783,-13880,
-13976,-14066,-14144,-14206,-14247,-14262,-14262,-14262,
21288,21344,21020,20227,15954, 8819, 4166, 3890,
5447, 7527, 8819, 9275, 9721,10153,10570,10968,
11344,11697,12024,12322,12589,12822,13018,13175,
13290,13362,13386,13386,13386, 2154, 2715, 3276,
3820, 4330, 4788, 5177, 5451, 5598, 5651, 5639,
5597, 5540, 5470, 5389, 5301, 5207, 5109, 5012,
4916, 4825, 4742, 4667, 4605, 4558, 4527, 4517,
4517, 4517, 2048, 1952, 1862, 1784, 1722, 1681,
1665, 1758, 1985, 2258, 2487, 2676, 2880, 3097,
3322, 3551, 3780, 4006, 4225, 4433, 4625, 4799,
4950, 5074, 5167, 5226, 5247, 5247, 5247,-27362,
-27585,-27783,-27943,-28051,-28096,-28064,-27617,-26683,
-25650,-24903,-24414,-23903,-23377,-22843,-22309,-21783,
-21271,-20782,-20322,-19900,-19522,-19196,-18929,-18730,
-18604,-18561,-18561,-18561, 141, 144, 148, 152,
155, 158, 160, 162, 162, 161, 161, 160,
160, 159, 158, 157, 156, 156, 155, 154,
153, 152, 151, 151, 150, 150, 149, 149,
149, -241, -239, -237, -234, -233, -231, -230,
-229, -230, -231, -233, -233, -234, -235, -236,
-237, -238, -239, -241, -242, -243, -244, -244,
-245, -246, -246, -247, -247, -247,-13077,-13239,
-13400,-13555,-13698,-13823,-13926,-13977,-13970,-13932,
-13892,-13859,-13821,-13780,-13736,-13689,-13642,-13594,
-13546,-13499,-13454,-13411,-13372,-13337,-13306,-13281,
-13262,-13250,-13246,20336,20239,19320,17214,12545,
6690, 3413, 4254, 7112,10288,12085,12597,13052,
13454,13805,14110,14371,14592,14776,14927,15048,
15142,15212,15263,15296,15317,15327,15331,15332,
-2325,-2723,-3118,-3498,-3849,-4160,-4416,-4544,
-4531,-4455,-4395,-4366,-4334,-4299,-4261,-4222,
-4181,-4140,-4098,-4058,-4019,-3982,-3948,-3918,
-3891,-3869,-3853,-3843,-3839,-3305,-3113,-2927,
-2754,-2600,-2473,-2381,-2392,-2530,-2735,-2949,
-3159,-3390,-3640,-3903,-4176,-4454,-4734,-5011,
-5281,-5540,-5784,-6009,-6211,-6385,-6527,-6634,
-6702,-6725,-27525,-27900,-28251,-28562,-28814,-28992,
-29077,-28723,-27866,-26908,-26253,-25876,-25488,-25092,
-24692,-24292,-23896,-23508,-23133,-22775,-22437,-22123,
-21838,-21586,-21371,-21196,-21066,-20985,-20957, 6603,
6603, 6603, 6603, 6603, 6603, 6603, 6603, 6462,
6152, 5841, 5700, 5898, 6603, 7968, 9889,12149,
14529,16815,18787,20645,22662,24737,26770,28660,
30305,31605,32459,32767,32981,32981,32981,32981,
32981,32981,32981,32981,32982,32985,32987,32988,
32987,32981,32970,32954,32936,32916,32897,32881,
32866,32849,32832,32816,32800,32787,32776,32769,
32767,22994,22994,22994,22994,22994,22994,22994,
22994,23028,23102,23176,23209,23162,22994,22668,
22210,21671,21103,20558,20087,19644,19163,18668,
18183,17732,17340,17030,16826,16753,-16545,57388,
57388,57388,57388,57388,57388,57388,57388,57551,
57909,58267,58430,58202,57388,56053,54430,52576,
50547,48399,46189,43972,41805,39745,37847,36168,
34764,33692,33007,32767,31328,31328,31328,31328,
31328,31328,31328,31328,31318,31297,31276,31267,
31280,31328,31406,31501,31609,31728,31853,31982,
32112,32238,32359,32470,32568,32650,32712,32752,
32767,23115,23115,23115,23115,23115,23115,23115,
23115,23157,23249,23342,23384,23325,23115,22770,
22350,21871,21347,20792,20221,19648,19088,18556,
18065,17632,17269,16992,16815,16753,-16545, -404,
-399, -393, -386, -381, -376, -373, -373, -379,
-393, -409, -422, -425, -415, -391, -360, -324,
-283, -241, -197, -154, -113, -77, -45, -21,
-5, 0, 0, 0, 183, 151, 93, 19,
-60, -136, -200, -241, -255, -248, -229, -202,
-177, -158, -144, -130, -114, -98, -82, -66,
-51, -37, -24, -14, -6, -1, 0, 0,
0, 2382, 1592, 172,-1640,-3607,-5488,-7045,
-8039,-8343,-8118,-7560,-6866,-6230,-5850,-5667,
-5493,-5330,-5179,-5040,-4914,-4802,-4705,-4624,
-4559,-4511,-4482,-4472,-4472,-4472, 517, 501,
469, 428, 383, 340, 304, 282, 278, 290,
309, 329, 340, 336, 317, 293, 264, 231,
197, 161, 126, 93, 63, 37, 17, 4,
0, 0, 0, 33, 6, -53, -133, -223,
-311, -386, -435, -458, -464, -457, -440, -418,
-395, -369, -337, -301, -262, -221, -180, -140,
-103, -69, -41, -19, -5, 0, 0, 0,
-5209,-4542,-3120,-1213, 906, 2969, 4704, 5839,
6271, 6197, 5799, 5259, 4760, 4483, 4383, 4293,
4211, 4139, 4075, 4020, 3973, 3934, 3903, 3879,
3862, 3852, 3849, 3849, 3849, -31, -12, 19,
59, 102, 142, 175, 196, 201, 194, 180,
161, 143, 129, 118, 106, 93, 80, 67,
54, 42, 30, 20, 12, 5, 1, 0,
0, 0, 311, 304, 293, 281, 268, 257,
248, 243, 247, 258, 272, 284, 290, 284,
268, 248, 223, 195, 166, 136, 106, 78,
53, 31, 14, 3, 0, 0, 0,15383,
16072,17226,18660,20191,21635,22806,23521,23663,
23350,22750,22032,21364,20913,20622,20324,20025,
19729,19442,19169,18916,18687,18488,18324,18200,
18122,18095,18095,18095
};
static short mario_swim_wait_pitch_tbl[]={
1, 0, /* chn14_3translate x */
1, 1, /* chn14_3 translate y */
1, 0, /* chn14_3 translate z */
1, 0, /* chn14_3 rotate x */
1, 2, /* chn14_3 rotate y */
1, 0, /* chn14_3 rotate z */
29, 1165, /* <m_waist>1_3 rotate x */
29, 1194, /* <m_waist>1_3 rotate y */
29, 1223, /* <m_waist>1_3 rotate z */
29, 1078, /* <m_body>1 rotate x */
29, 1107, /* <m_body>1 rotate y */
29, 1136, /* <m_body>1 rotate z */
29, 991, /* <m_head>2 rotate x */
29, 1020, /* <m_head>2 rotate y */
29, 1049, /* <m_head>2 rotate z */
29, 903, /* chn6 rotate x */
29, 932, /* chn6 rotate y */
29, 961, /* chn6 rotate z */
29, 119, /* <m_larmA>1 rotate x */
29, 148, /* <m_larmA>1 rotate y */
29, 177, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
29, 90, /* <m_larmB>1 rotate z */
29, 3, /* <m_rhand2>2 rotate x */
29, 32, /* <m_rhand2>2 rotate y */
29, 61, /* <m_rhand2>2 rotate z */
29, 815, /* chn10 rotate x */
29, 844, /* chn10 rotate y */
29, 873, /* chn10 rotate z */
29, 322, /* <m_rarmA>1 rotate x */
29, 351, /* <m_rarmA>1 rotate y */
29, 380, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
29, 293, /* <m_rarmB>1 rotate z */
29, 206, /* <m_rhand2>1 rotate x */
29, 235, /* <m_rhand2>1 rotate y */
29, 264, /* <m_rhand2>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 902, /* chn15 rotate z */
29, 728, /* <m_llegA>1 rotate x */
29, 757, /* <m_llegA>1 rotate y */
29, 786, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
29, 699, /* <m_llegB>1 rotate z */
29, 612, /* <m_ltoot>1 rotate x */
29, 641, /* <m_ltoot>1 rotate y */
29, 670, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 990, /* chn17 rotate z */
29, 525, /* <m_rlegA>1 rotate x */
29, 554, /* <m_rlegA>1 rotate y */
29, 583, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
29, 496, /* <m_rlegB>1 rotate z */
29, 409, /* <m_rfoot>1 rotate x */
29, 438, /* <m_rfoot>1 rotate y */
29, 467, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioFloatThrow = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
29,
20,
mario_swim_wait_pitch_prm,
mario_swim_wait_pitch_tbl
};