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

247 lines
11 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario swimming throw animation data
Copyright 1996 Nintendo co., ltd. All rights reserved
February 1, 1996
********************************************************************************/
#include "../headers.h"
static short mario_swim_wait_pitch_prm[]={
0, 189,16383,-1831,-2212,-3221,-4658,-6321,
-8010,-9523,-10661,-11633,-12015,-10661,-6653,-1058,
4293, 7571, 8877, 9614, 9903, 9867, 9629, 9309,
9031, 8916, 8792, 8485, 8115, 7804, 7674,-1501,
-1840,-2739,-4019,-5500,-7005,-8353,-9367,-10056,
-10220,-9367,-7001,-3694, -552, 1315, 1973, 2275,
2299, 2123, 1825, 1483, 1176, 982, 794, 506,
201, -41, -140,-10788,-9871,-7440,-3981, 23,
4090, 7736,10476,11766,11639,10476, 8142, 4898,
1726, -395,-1513,-2364,-2999,-3470,-3829,-4129,
-4420,-4756,-5049,-5206,-5267,-5274,-5268,-5918,
-6681,-8642,-11307,-14185,-16782,-18606,-19165,-18131,
-15834,-12764,-9413,-6271,-3830,-2581,-2551,-3296,
-4597,-6237,-7997,-9659,-11006,-11818,-11800,-11071,
-10043,-9125,-8728,-3615,-3483,-3108,-2516,-1739,
-804, 259, 1423, 2962, 4995, 7254, 9475,11391,
12735,13242,10547, 4270,-2873,-8171,-10719,-12024,
-12990,-14521,-17193,-20506,-23752,-26220,-27200,31766,
31602,31164,30526,29765,28958,28182,27512,26854,
26111,25349,24638,24045,23640,23489,23205,22837,
23108,24744,28839,-30826,-25134,-21569,-20647,-21128,
-22325,-23548,-24109,-3832,-4014,-4447,-4966,-5401,
-5587,-5354,-4536,-2734, 32, 3313, 6653, 9600,
11701,12502,10386, 5471, -93,-4157,-6445,-8005,
-8670,-8273,-6296,-3002, 599, 3499, 4690, 5734,
6012, 6746, 7792, 9003,10233,11335,12164,13067,
13541,12164, 7772, 1608,-4135,-7270,-8195,-8798,
-9123,-9213,-9110,-8858,-8500,-8079,-7638,-7220,
-6868,-6625,-6535, 4571, 4799, 5402, 6262, 7256,
8266, 9172, 9852,10310,10415, 9852, 8312, 6163,
4105, 2837, 2226, 1673, 1177, 735, 347, 11,
-275, -513, -704, -850, -952,-1012,-1032,-7717,
-6925,-4828,-1842, 1613, 5122, 8268,10633,11896,
11937,10633, 7481, 3068,-1090,-3481,-4382,-5099,
-5650,-6055,-6334,-6507,-6593,-6611,-6582,-6525,
-6460,-6407,-6385,-9178,-9742,-11181,-13113,-15157,
-16932,-18056,-18148,-16856,-14402,-11265,-7923,-4856,
-2542,-1460,-1864,-3415,-5697,-8297,-10800,-12793,
-13861,-13717,-12637,-11049,-9384,-8070,-7536,31139,
31147,31141,31076,30907,30589,30077,29327,28092,
26329,24299,22266,20490,19232,18755,21118,26767,
-31994,-26259,-21973,-18252,-15311,-12748,-10163,-7773,
-5796,-4451,-3954,-3915,-4039,-4369,-4846,-5408,
-5993,-6541,-6991,-7395,-7825,-8248,-8634,-8949,
-9161,-9239,-9466,-9669,-9126,-7118,-1332, 6631,
11623,12673,12535,11655,10476, 9443, 9000,26778,
26682,26473,26272,26198,26371,26911,27939,29856,
32688,-29538,-26199,-23267,-21184,-20392,-22891,-28631,
30563,26265,25457,26712,28353,29935,31922,-31526,
-29654,-28305,-27786, -34, -36, -43, -53, -66,
-80, -95, -111, -126, -139, -150, -158, -162,
-162, -135, -77, -17, 18, 30, 38, 43,
46, 46, 45, 43, 41, 39, 39, 563,
563, 561, 560, 557, 555, 552, 549, 547,
544, 542, 541, 540, 540, 545, 555, 566,
572, 575, 577, 579, 580, 581, 582, 582,
583, 583, 583,-14567,-14611,-14734,-14920,-15155,
-15423,-15710,-16000,-16278,-16530,-16740,-16893,-16974,
-16969,-16472,-15420,-14314,-13656,-13428,-13270,-13172,
-13122,-13109,-13124,-13154,-13189,-13218,-13230,17934,
18093,18511,19096,19758,20404,20945,21288,21344,
21020,20227,15954, 8819, 4166, 3844, 5325, 7390,
8819, 9535,10262,10979,11667,12304,12870,13346,
13711,13945,14027, -283, -216, -26, 268, 652,
1105, 1612, 2154, 2715, 3276, 3820, 4330, 4788,
5177, 5464, 5632, 5688, 5639, 5506, 5317, 5089,
4838, 4582, 4335, 4114, 3936, 3818, 3775, 2523,
2508, 2468, 2408, 2331, 2242, 2146, 2048, 1952,
1862, 1784, 1722, 1681, 1665, 1745, 1949, 2216,
2487, 2768, 3093, 3445, 3807, 4160, 4489, 4775,
5000, 5148, 5202,-26181,-26218,-26321,-26476,-26670,
-26891,-27126,-27362,-27585,-27783,-27943,-28051,-28096,
-28064,-27633,-26726,-25698,-24903,-24318,-23698,-23067,
-22447,-21860,-21329,-20876,-20525,-20298,-20217, 124,
125, 126, 128, 130, 133, 137, 141, 144,
148, 152, 155, 158, 160, 162, 163, 163,
161, 157, 151, 145, 139, 132, 126, 121,
117, 114, 113, -251, -251, -250, -249, -247,
-245, -243, -241, -239, -237, -234, -233, -231,
-230, -229, -230, -231, -233, -235, -237, -241,
-244, -247, -250, -253, -255, -256, -257,-12361,
-12381,-12438,-12525,-12638,-12771,-12919,-13077,-13239,
-13400,-13555,-13698,-13823,-13926,-14000,-14029,-13999,
-13892,-13712,-13483,-13222,-12945,-12666,-12403,-12170,
-11984,-11861,-11817,15303,15559,16223,17144,18168,
19144,19917,20336,20239,19320,17214,12545, 6690,
3413, 4207, 6984,10144,12085,12799,13362,13792,
14105,14321,14457,14532,14562,14568,14566, -574,
-623, -760, -974,-1250,-1576,-1939,-2325,-2723,
-3118,-3498,-3849,-4160,-4416,-4543,-4529,-4452,
-4395,-4370,-4339,-4303,-4266,-4229,-4194,-4164,
-4139,-4123,-4117,-4184,-4159,-4088,-3979,-3839,
-3675,-3495,-3305,-3113,-2927,-2754,-2600,-2473,
-2381,-2384,-2509,-2712,-2949,-3221,-3545,-3903,
-4275,-4642,-4984,-5284,-5522,-5679,-5735,-25697,
-25752,-25904,-26137,-26433,-26774,-27144,-27525,-27900,
-28251,-28562,-28814,-28992,-29077,-28767,-27982,-27039,
-26253,-25608,-24898,-24155,-23410,-22694,-22038,-21474,
-21032,-20744,-20641, 6603, 6603, 6603, 6603, 6603,
6603, 6603, 6603, 6603, 6603, 6603, 6603, 6603,
6603, 6603, 7068, 8363,10336,12838,15716,18821,
22002,25107,27985,30487,32460,-31778,-31313,-32552,
-32552,-32552,-32552,-32552,-32552,-32552,-32552,-32552,
-32552,-32552,-32552,-32552,-32552,-32552,-32556,-32566,
-32583,-32603,-32627,-32652,-32678,-32704,-32727,-32748,
-32764,32758,32755,22994,22994,22994,22994,22994,
22994,22994,22994,22994,22994,22994,22994,22994,
22994,22994,22883,22574,22103,21507,20820,20079,
19321,18580,17893,17297,16826,16517,16406,-16545,
-8145,-8145,-8145,-8145,-8145,-8145,-8145,-8145,
-8145,-8145,-8145,-8145,-8145,-8145,-8145,-8674,
-10116,-12249,-14852,-17706,-20588,-23279,-25558,-27729,
-30016,-32075,31971,31399,31328,31328,31328,31328,
31328,31328,31328,31328,31328,31328,31328,31328,
31328,31328,31328,31359,31443,31568,31720,31886,
32055,32212,32345,32472,32606,32726,-32720,-32687,
23115,23115,23115,23115,23115,23115,23115,23115,
23115,23115,23115,23115,23115,23115,23115,22978,
22605,22054,21382,20644,19899,19204,18615,18054,
17463,16931,16547,16399,-16545, -443, -442, -438,
-432, -425, -417, -410, -404, -401, -401, -402,
-401, -398, -389, -373, -349, -320, -286, -250,
-211, -172, -134, -99, -66, -39, -18, -4,
0, -19, -6, 26, 71, 118, 159, 183,
183, 149, 86, 7, -76, -154, -213, -241,
-245, -239, -225, -204, -179, -150, -120, -90,
-62, -37, -17, -4, 0,-2515,-2195,-1383,
-297, 841, 1814, 2401, 2382, 1579, 127,-1721,
-3715,-5600,-7126,-8039,-8485,-8790,-8972,-9049,
-9040,-8964,-8838,-8681,-8511,-8347,-8207,-8110,
-8073, 401, 380, 368, 395, 436, 478, 509,
517, 502, 474, 437, 394, 352, 313, 282,
255, 227, 198, 168, 140, 112, 86, 62,
41, 24, 11, 2, 0, -328, -354, -355,
-280, -178, -74, 5, 33, 2, -65, -156,
-254, -343, -409, -435, -429, -410, -379, -340,
-294, -245, -195, -145, -99, -59, -28, -7,
0, 2607, 3310, 3456, 1808, -493,-2838,-4613,
-5209,-4492,-2953, -913, 1306, 3385, 5004, 5839,
6055, 6049, 5858, 5517, 5061, 4526, 3947, 3360,
2800, 2303, 1904, 1639, 1542, 46, 41, 26,
8, -10, -26, -34, -31, -10, 24, 67,
113, 153, 183, 196, 194, 185, 172, 154,
134, 112, 89, 66, 45, 27, 12, 3,
0, 309, 310, 311, 313, 315, 315, 314,
311, 306, 299, 291, 282, 271, 258, 243,
226, 205, 183, 158, 133, 108, 84, 62,
41, 24, 11, 3, 0,17991,17799,17313,
16675,16023,15497,15237,15383,16071,17223,18655,
20185,21628,22801,23521,23898,24173,24357,24465,
24508,24499,24450,24374,24284,24192,24110,24053,
24030
};
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 */
28, 1125, /* <m_waist>1_3 rotate x */
28, 1153, /* <m_waist>1_3 rotate y */
28, 1181, /* <m_waist>1_3 rotate z */
28, 1041, /* <m_body>1 rotate x */
28, 1069, /* <m_body>1 rotate y */
28, 1097, /* <m_body>1 rotate z */
28, 957, /* <m_head>2 rotate x */
28, 985, /* <m_head>2 rotate y */
28, 1013, /* <m_head>2 rotate z */
28, 872, /* chn6 rotate x */
28, 900, /* chn6 rotate y */
28, 928, /* chn6 rotate z */
28, 115, /* <m_larmA>1 rotate x */
28, 143, /* <m_larmA>1 rotate y */
28, 171, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
28, 87, /* <m_larmB>1 rotate z */
28, 3, /* <m_rhand2>2 rotate x */
28, 31, /* <m_rhand2>2 rotate y */
28, 59, /* <m_rhand2>2 rotate z */
28, 787, /* chn10 rotate x */
28, 815, /* chn10 rotate y */
28, 843, /* chn10 rotate z */
28, 311, /* <m_rarmA>1 rotate x */
28, 339, /* <m_rarmA>1 rotate y */
28, 367, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
28, 283, /* <m_rarmB>1 rotate z */
28, 199, /* <m_rhand2>1 rotate x */
28, 227, /* <m_rhand2>1 rotate y */
28, 255, /* <m_rhand2>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 871, /* chn15 rotate z */
28, 703, /* <m_llegA>1 rotate x */
28, 731, /* <m_llegA>1 rotate y */
28, 759, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
28, 675, /* <m_llegB>1 rotate z */
28, 591, /* <m_ltoot>1 rotate x */
28, 619, /* <m_ltoot>1 rotate y */
28, 647, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 956, /* chn17 rotate z */
28, 507, /* <m_rlegA>1 rotate x */
28, 535, /* <m_rlegA>1 rotate y */
28, 563, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
28, 479, /* <m_rlegB>1 rotate z */
28, 395, /* <m_rfoot>1 rotate x */
28, 423, /* <m_rfoot>1 rotate y */
28, 451, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioSwimThrow = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
28,
20,
mario_swim_wait_pitch_prm,
mario_swim_wait_pitch_tbl
};