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

241 lines
10 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario swim jumping animation data
Copyright 1996 Nintendo co., ltd. All rights reserved
January 29, 1996
********************************************************************************/
#include "../headers.h"
static short mario_swim_jump_prm[]={
0, 170, 170, 170, 170, 170, 170, 170,
170, 171, 172, 174, 175, 176, 177, 178,
180, 181, 182, 183, 185, 186, 186, 187,
188, 188, 189, 189, 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,
0, -156, -594,-1261,-2108,-3085,-4141,-5226,
-6290,-7283,-8154,-8854,-9331,-9536,-9419,-8835,
-7743,-6250,-4463,-2487, -429, 1602, 3504, 5169,
6490, 7360, 7674,-1668,-1708,-1819,-1989,-2205,
-2455,-2725,-3004,-3278,-3536,-3765,-3951,-4083,
-4148,-4133,-4006,-3756,-3410,-2994,-2531,-2048,
-1571,-1123, -731, -419, -214, -140,-4724,-4629,
-4361,-3951,-3426,-2816,-2150,-1457, -765, -103,
498, 1012, 1409, 1660, 1737, 1581, 1189, 607,
-116, -933,-1796,-2658,-3470,-4185,-4755,-5131,
-5268,-12060,-12060,-12058,-12052,-12042,-12027,-12005,
-11975,-11936,-11887,-11826,-11752,-11664,-11561,-11442,
-11281,-11063,-10802,-10510,-10203,-9893,-9593,-9318,
-9080,-8893,-8771,-8728,-23261,-23046,-22445,-21524,
-20349,-18987,-17503,-15964,-14435,-12984,-11676,-10576,
-9753,-9271,-9196,-9678,-10740,-12265,-14133,-16226,
-18426,-20612,-22667,-24472,-25909,-26858,-27200,-15067,
-15134,-15325,-15622,-16009,-16470,-16989,-17549,-18134,
-18728,-19313,-19875,-20395,-20859,-21249,-21597,-21944,
-22282,-22608,-22916,-23200,-23456,-23677,-23858,-23994,
-24079,-24109,-1155,-1367,-1960,-2867,-4022,-5360,
-6813,-8317,-9805,-11210,-12467,-13510,-14273,-14689,
-14692,-14122,-12944,-11284,-9267,-7018,-4663,-2327,
-134, 1788, 3317, 4326, 4690, 0, -36, -117,
-198, -235, -184, 0, 377, 935, 1601, 2307,
2982, 3556, 3960, 4123, 3975, 3460, 2621, 1537,
287,-1051,-2399,-3679,-4811,-5716,-6317,-6535,
0, -21, -69, -116, -138, -108, 0, 208,
500, 846, 1216, 1578, 1901, 2155, 2309, 2333,
2212, 1971, 1637, 1238, 802, 357, -68, -448,
-754, -958,-1032,-2743,-2729,-2698,-2667,-2653,
-2672,-2743,-2857,-2994,-3151,-3322,-3505,-3694,
-3887,-4078,-4264,-4464,-4693,-4940,-5196,-5451,
-5694,-5916,-6106,-6254,-6350,-6385,-14820,-14277,
-12908,-11103,-9251,-7742,-6965,-6716,-6527,-6393,
-6307,-6266,-6265,-6298,-6359,-6445,-6550,-6669,
-6797,-6929,-7060,-7184,-7298,-7394,-7470,-7519,
-7536,16380,15916,14828,13573,12608,12390,13375,
15293,17541,20071,22838,25796,28898,32098,-30184,
-26926,-23710,-20580,-17584,-14767,-12175,-9856,-7854,
-6217,-4990,-4220,-3954,15863,16041,16477,17018,
17516,17819,17778,17476,17104,16672,16189,15664,
15105,14524,13928,13326,12729,12145,11583,11053,
10563,10124, 9744, 9432, 9198, 9051, 9000,-9897,
-10561,-12144,-14035,-15620,-16287,-15424,-13384,-10966,
-8222,-5203,-1962, 1448, 4976, 8569,12176,15743,
19218,22549,25684,28571,31157,-32143,-30315,-28945,
-28084,-27786, 89, 72, 30, -23, -78, -120,
-138, -139, -137, -132, -125, -116, -106, -94,
-81, -68, -54, -40, -27, -14, -1, 9,
19, 27, 33, 37, 39, -188, -190, -193,
-194, -190, -178, -155, -123, -86, -46, -2,
43, 91, 140, 190, 239, 288, 335, 380,
422, 461, 495, 525, 549, 567, 579, 583,
-18454,-17578,-15379,-12502,-9592,-7293,-6249,-6118,
-6119,-6238,-6461,-6775,-7166,-7622,-8128,-8671,
-9237,-9814,-10387,-10943,-11469,-11951,-12376,-12729,
-12999,-13170,-13230,11300,10768, 9441, 7727, 6030,
4756, 4312, 4477, 4754, 5129, 5591, 6125, 6719,
7359, 8034, 8729, 9432,10129,10809,11457,12061,
12608,13084,13477,13774,13962,14027, 2896, 2967,
3145, 3381, 3623, 3818, 3918, 3947, 3968, 3982,
3989, 3990, 3986, 3977, 3965, 3949, 3931, 3911,
3890, 3869, 3848, 3829, 3811, 3796, 3785, 3777,
3775, 1641, 1589, 1463, 1313, 1185, 1128, 1190,
1342, 1524, 1730, 1958, 2202, 2459, 2725, 2996,
3269, 3538, 3801, 4052, 4289, 4508, 4703, 4872,
5010, 5114, 5179, 5202,-21309,-20931,-19985,-18752,
-17511,-16544,-16131,-16123,-16177,-16288,-16449,-16651,
-16890,-17158,-17448,-17754,-18069,-18386,-18698,-18999,
-19282,-19539,-19765,-19953,-20095,-20185,-20217, 0,
0, -2, -4, -4, -3, 0, 6, 14,
24, 34, 44, 55, 64, 73, 80, 85,
90, 95, 99, 102, 105, 108, 110, 111,
112, 113, 0, 1, 5, 9, 10, 8,
0, -14, -33, -54, -78, -102, -125, -147,
-166, -182, -194, -205, -216, -225, -233, -240,
-246, -251, -254, -256, -257,-11674,-11673,-11671,
-11669,-11668,-11669,-11674,-11682,-11692,-11704,-11717,
-11731,-11744,-11756,-11767,-11775,-11782,-11788,-11794,
-11799,-11804,-11808,-11811,-11813,-11815,-11816,-11817,
19540,19549,19570,19590,19600,19587,19540,19476,
19415,19351,19277,19186,19072,18927,18746,18521,
18223,17843,17404,16930,16442,15966,15524,15140,
14836,14637,14566,-1339,-1238, -986, -660, -334,
-83, 15, -13, -90, -208, -360, -538, -736,
-945,-1159,-1369,-1604,-1885,-2199,-2530,-2864,
-3186,-3483,-3738,-3939,-4070,-4117,-1933,-2156,
-2723,-3477,-4261,-4920,-5296,-5419,-5435,-5370,
-5249,-5098,-4941,-4804,-4712,-4691,-4733,-4811,
-4916,-5040,-5175,-5311,-5442,-5558,-5651,-5713,
-5735,-26902,-27571,-29249,-31439,31887,30160,29407,
29517,29993,30760,31740,-32677,-31503,-30348,-29288,
-28402,-27581,-26689,-25756,-24815,-23897,-23034,-22257,
-21597,-21087,-20758,-20641,-32767,32759,32742,32725,
32717,32728,-32767,-32706,-32635,-32557,-32472,-32382,
-32288,-32192,-32094,-31996,-31900,-31807,-31717,-31633,
-31557,-31488,-31428,-31380,-31344,-31321,-31313,-32767,
-32766,-32766,-32766,-32766,-32766,-32767,32766,32765,
32765,32764,32763,32763,32762,32761,32760,32759,
32759,32758,32757,32757,32756,32756,32755,32755,
32755,32755,16753,16755,16759,16763,16765,16762,
16753,16738,16721,16703,16682,16661,16639,16616,
16592,16569,16546,16524,16502,16482,16464,16448,
16433,16422,16413,16408,16406,-16545,-32767,32761,
32743,32716,32679,32634,32582,32522,32458,32388,
32315,32239,32161,32083,32004,31926,31850,31777,
31707,31643,31584,31531,31486,31449,31422,31405,
31399,-32767,-32766,-32765,-32764,-32761,-32759,-32756,
-32752,-32748,-32744,-32740,-32736,-32731,-32727,-32722,
-32717,-32713,-32709,-32705,-32701,-32697,-32694,-32692,
-32690,-32688,-32687,-32687,16753,16751,16747,16740,
16730,16718,16705,16690,16673,16655,16636,16616,
16596,16576,16556,16535,16516,16497,16479,16462,
16447,16433,16422,16412,16405,16401,16399,-16545,
2509, 1928, 535,-1140,-2571,-3229,-3296,-3305,
-3263,-3176,-3048,-2885,-2692,-2476,-2242,-1995,
-1740,-1484,-1231, -987, -758, -549, -366, -214,
-98, -25, 0, 1828, 1551, 883, 71, -637,
-998,-1037, -966, -810, -598, -356, -110, 111,
283, 378, 411, 416, 399, 365, 317, 260,
200, 140, 85, 41, 11, 0,-5895,-5967,
-6133,-6316,-6441,-6431,-6273,-6029,-5727,-5399,
-5077,-4789,-4568,-4445,-4449,-4586,-4826,-5147,
-5527,-5945,-6378,-6805,-7203,-7551,-7826,-8008,
-8073,-2944,-2468,-1275, 285, 1866, 3116, 3685,
3761, 3766, 3707, 3592, 3428, 3222, 2982, 2714,
2426, 2126, 1819, 1514, 1218, 938, 682, 455,
267, 123, 32, 0, -36, -156, -456, -845,
-1234,-1533,-1652,-1639,-1604,-1549,-1477,-1390,
-1291,-1182,-1066, -946, -822, -699, -579, -463,
-355, -256, -170, -99, -46, -11, 0, 3987,
3557, 2476, 1064, -364,-1491,-2000,-2059,-2053,
-1988,-1872,-1711,-1511,-1280,-1023, -749, -463,
-173, 115, 394, 659, 901, 1114, 1291, 1426,
1512, 1542,16545,16716,17143,17697,18250,18674,
18840,18816,18761,18677,18568,18438,18291,18129,
17957,17778,17596,17414,17236,17065,16906,16761,
16635,16530,16451,16401,16383
};
static short mario_swim_jump_tbl[]={
1, 0, /* chn14_1translate x */
27, 1, /* chn14_1 translate y */
27, 28, /* chn14_1 translate z */
1, 0, /* chn14_1 rotate x */
1, 55, /* chn14_1 rotate y */
1, 0, /* chn14_1 rotate z */
1, 0, /* <m_waist>1_3 rotate x */
1, 0, /* <m_waist>1_3 rotate y */
27, 1138, /* <m_waist>1_3 rotate z */
27, 1057, /* <m_body>1 rotate x */
27, 1084, /* <m_body>1 rotate y */
27, 1111, /* <m_body>1 rotate z */
27, 976, /* <m_head>2 rotate x */
27, 1003, /* <m_head>2 rotate y */
27, 1030, /* <m_head>2 rotate z */
27, 894, /* chn6 rotate x */
27, 921, /* chn6 rotate y */
27, 948, /* chn6 rotate z */
27, 164, /* <m_larmA>1 rotate x */
27, 191, /* <m_larmA>1 rotate y */
27, 218, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
27, 137, /* <m_larmB>1 rotate z */
27, 56, /* <m_lhand>1 rotate x */
27, 83, /* <m_lhand>1 rotate y */
27, 110, /* <m_lhand>1 rotate z */
27, 812, /* chn10 rotate x */
27, 839, /* chn10 rotate y */
27, 866, /* chn10 rotate z */
27, 353, /* <m_rarmA>1 rotate x */
27, 380, /* <m_rarmA>1 rotate y */
27, 407, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
27, 326, /* <m_rarmB>1 rotate z */
27, 245, /* <m_rhand>1 rotate x */
27, 272, /* <m_rhand>1 rotate y */
27, 299, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 893, /* chn15 rotate z */
27, 731, /* <m_llegA>1 rotate x */
27, 758, /* <m_llegA>1 rotate y */
27, 785, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
27, 704, /* <m_llegB>1 rotate z */
27, 623, /* <m_ltoot>1 rotate x */
27, 650, /* <m_ltoot>1 rotate y */
27, 677, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 975, /* chn17 rotate z */
27, 542, /* <m_rlegA>1 rotate x */
27, 569, /* <m_rlegA>1 rotate y */
27, 596, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
27, 515, /* <m_rlegB>1 rotate z */
27, 434, /* <m_rfoot>1 rotate x */
27, 461, /* <m_rfoot>1 rotate y */
27, 488, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioSwimJumping = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
27, /* number of frames */
20, /* number of joints */
mario_swim_jump_prm,
mario_swim_jump_tbl
};