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

203 lines
8.6 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario swim landing animation data
Copyright 1996 Nintendo co., ltd. All rights reserved
February 1, 1996
********************************************************************************/
#include "../headers.h"
static short mario_swim2landing_prm[]={
0, 189, 189, 188, 188, 188, 187, 187,
186, 185, 185, 184, 183, 182, 182, 181,
181, 180, 180, 180, 180, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0,16383, 7674, 7612, 7437, 7160, 6797, 6359,
5861, 5316, 4738, 4139, 3534, 2935, 2357, 1812,
1314, 877, 513, 237, 61, 0, -140, -152,
-187, -242, -314, -402, -501, -609, -724, -844,
-964,-1084,-1199,-1307,-1406,-1494,-1566,-1621,
-1656,-1668,-5268,-5263,-5251,-5231,-5206,-5175,
-5139,-5101,-5060,-5017,-4975,-4932,-4891,-4853,
-4818,-4787,-4761,-4741,-4729,-4724,-8728,-8733,
-8748,-8770,-8801,-8837,-8878,-8923,-8971,-9021,
-9071,-9121,-9169,-9214,-9255,-9291,-9322,-9344,
-9359,-9364,-27200,-27415,-28026,-28988,-30254,-31777,
32023,30126,28112,26028,23921,21837,19823,17926,
16193,14670,13404,12442,11830,11616,-24109,-24025,
-23784,-23404,-22906,-22305,-21622,-20875,-20081,-19260,
-18430,-17609,-16815,-16068,-15385,-14784,-14286,-13906,
-13665,-13581, 4690, 4926, 5600, 6660, 8054, 9732,
11642,13731,15950,18246,20567,22863,25081,27171,
29080,30758,32153,-32321,-31647,-31411,-6535,-6483,
-6333,-6098,-5788,-5415,-4991,-4527,-4035,-3525,
-3010,-2500,-2007,-1543,-1119, -747, -437, -202,
-52, 0,-1032,-1024,-1000, -963, -914, -855,
-788, -715, -637, -556, -475, -395, -317, -243,
-176, -118, -69, -31, -8, 0,-6385,-6356,
-6272,-6141,-5968,-5761,-5525,-5266,-4991,-4707,
-4420,-4136,-3862,-3603,-3367,-3159,-2986,-2855,
-2772,-2743,-7536,-7506,-7419,-7282,-7101,-6884,
-6638,-6368,-6081,-5784,-5484,-5187,-4900,-4630,
-4384,-4167,-3986,-3849,-3762,-3732,-3954,-4063,
-4374,-4865,-5510,-6286,-7170,-8137,-9163,-10225,
-11299,-12361,-13388,-14354,-15238,-16014,-16659,-17150,
-17461,-17571, 9000, 9030, 9118, 9256, 9438, 9657,
9905,10178,10467,10766,11068,11367,11656,11928,
12177,12396,12577,12715,12803,12834,-27786,-27935,
-28359,-29027,-29905,-30962,-32165,32051,30654,29208,
27745,26299,24901,23585,22382,21325,20446,19779,
19354,19206, 39, 37, 33, 27, 20, 10,
0, -12, -24, -37, -50, -63, -76, -88,
-98, -108, -116, -122, -126, -127, 583, 577,
560, 533, 497, 455, 406, 353, 297, 238,
179, 121, 64, 11, -36, -79, -114, -141,
-159, -165,-13230,-13180,-13037,-12812,-12516,-12159,
-11754,-11310,-10839,-10351,-9858,-9370,-8899,-8455,
-8050,-7694,-7397,-7172,-7029,-6979,14027,13960,
13769,13468,13072,12595,12053,11459,10829,10177,
9518, 8866, 8236, 7642, 7100, 6623, 6227, 5926,
5735, 5668, 3775, 3771, 3762, 3748, 3730, 3707,
3682, 3654, 3625, 3594, 3563, 3533, 3503, 3475,
3450, 3427, 3409, 3395, 3386, 3383, 5202, 5174,
5093, 4966, 4799, 4599, 4371, 4121, 3855, 3581,
3303, 3029, 2764, 2514, 2286, 2085, 1918, 1791,
1711, 1683,-20217,-20210,-20189,-20157,-20114,-20062,
-20003,-19939,-19871,-19800,-19729,-19659,-19590,-19526,
-19468,-19416,-19373,-19341,-19320,-19313, 113, 112,
109, 105, 100, 93, 86, 78, 69, 61,
52, 43, 34, 26, 19, 12, 7, 3,
0, 0, -257, -255, -249, -239, -227, -213,
-196, -178, -158, -138, -118, -98, -79, -60,
-44, -29, -17, -7, -2, 0,-11817,-11787,
-11703,-11570,-11395,-11185,-10945,-10683,-10405,-10118,
-9827,-9539,-9261,-8999,-8759,-8549,-8374,-8241,
-8157,-8127,14566,14605,14719,14898,15134,15418,
15740,16093,16468,16856,17249,17637,18012,18365,
18687,18971,19207,19386,19500,19540,-4117,-4084,
-3989,-3841,-3645,-3409,-3141,-2848,-2536,-2214,
-1888,-1565,-1254, -960, -692, -457, -261, -112,
-17, 15,-5735,-5732,-5722,-5706,-5685,-5660,
-5632,-5600,-5567,-5533,-5498,-5464,-5431,-5400,
-5372,-5347,-5326,-5310,-5300,-5296,-20641,-20766,
-21120,-21678,-22411,-23294,-24299,-25398,-26565,-27773,
-28994,-30202,-31369,-32469,32060,31177,30443,29886,
29531,29407,-31313,-31325,-31358,-31410,-31479,-31562,
-31656,-31759,-31869,-31982,-32097,-32210,-32320,-32423,
-32518,-32600,-32669,-32722,-32755,-32767,32755,32755,
32755,32755,32756,32757,32757,32758,32759,32760,
32761,32762,32763,32764,32764,32765,32766,32766,
32766,-32767,16406,16409,16417,16429,16446,16465,
16488,16512,16539,16566,16593,16620,16646,16671,
16693,16713,16729,16742,16750,16753,-16545,31399,
31410,31441,31490,31555,31633,31722,31819,31922,
32029,32137,32243,32346,32443,32532,32610,32675,
32724,32756,-32767,-32687,-32687,-32689,-32692,-32696,
-32700,-32705,-32711,-32717,-32723,-32730,-32736,-32742,
-32748,-32753,-32757,-32761,-32764,-32766,-32767,16399,
16402,16410,16423,16440,16460,16483,16508,16534,
16562,16590,16617,16644,16669,16692,16712,16729,
16742,16750,16753,-16545, 0, -17, -66, -144,
-247, -370, -511, -665, -828, -997,-1168,-1337,
-1500,-1654,-1794,-1918,-2020,-2098,-2148,-2165,
0, 8, 33, 71, 122, 183, 252, 329,
409, 493, 577, 661, 742, 818, 887, 948,
999, 1038, 1062, 1071,-8073,-7953,-7611,-7072,
-6363,-5510,-4539,-3477,-2350,-1183, -2, 1163,
2291, 3353, 4324, 5177, 5886, 6425, 6767, 6887,
0, 19, 77, 166, 284, 426, 588, 765,
953, 1147, 1343, 1538, 1726, 1902, 2064, 2206,
2324, 2414, 2471, 2491, 0, 1, 5, 12,
21, 32, 44, 58, 72, 87, 102, 117,
131, 145, 157, 168, 177, 184, 188, 190,
1542, 1529, 1493, 1435, 1358, 1267, 1162, 1048,
927, 801, 674, 549, 427, 313, 209, 117,
41, -16, -53, -66,24030,23970,23799,23529,
23175,22748,22262,21731,21167,20583,19993,19409,
18844,18313,17827,17401,17046,16776,16605,16545
};
static short mario_swim2landing_tbl[]={
1, 0, /* chn14_2translate x */
20, 1, /* chn14_2 translate y */
20, 21, /* chn14_2 translate z */
1, 0, /* chn14_2 rotate x */
1, 41, /* chn14_2 rotate y */
1, 0, /* chn14_2 rotate z */
1, 0, /* <m_waist>1_3_2 rotate x */
1, 0, /* <m_waist>1_3_2 rotate y */
20, 844, /* <m_waist>1_3_2 rotate z */
20, 784, /* <m_body>1_2 rotate x */
20, 804, /* <m_body>1_2 rotate y */
20, 824, /* <m_body>1_2 rotate z */
20, 724, /* <m_head>2_2 rotate x */
20, 744, /* <m_head>2_2 rotate y */
20, 764, /* <m_head>2_2 rotate z */
20, 663, /* chn6_2 rotate x */
20, 683, /* chn6_2 rotate y */
20, 703, /* chn6_2 rotate z */
20, 122, /* <m_larmA>1_2 rotate x */
20, 142, /* <m_larmA>1_2 rotate y */
20, 162, /* <m_larmA>1_2 rotate z */
1, 0, /* <m_larmB>1_2 rotate x */
1, 0, /* <m_larmB>1_2 rotate y */
20, 102, /* <m_larmB>1_2 rotate z */
20, 42, /* <m_rhand2>2 rotate x */
20, 62, /* <m_rhand2>2 rotate y */
20, 82, /* <m_rhand2>2 rotate z */
20, 602, /* chn10_2 rotate x */
20, 622, /* chn10_2 rotate y */
20, 642, /* chn10_2 rotate z */
20, 262, /* <m_rarmA>1_2 rotate x */
20, 282, /* <m_rarmA>1_2 rotate y */
20, 302, /* <m_rarmA>1_2 rotate z */
1, 0, /* <m_rarmB>1_2 rotate x */
1, 0, /* <m_rarmB>1_2 rotate y */
20, 242, /* <m_rarmB>1_2 rotate z */
20, 182, /* <m_rhand2>1 rotate x */
20, 202, /* <m_rhand2>1 rotate y */
20, 222, /* <m_rhand2>1 rotate z */
1, 0, /* chn15_2 rotate x */
1, 0, /* chn15_2 rotate y */
1, 662, /* chn15_2 rotate z */
20, 542, /* <m_llegA>1_2 rotate x */
20, 562, /* <m_llegA>1_2 rotate y */
20, 582, /* <m_llegA>1_2 rotate z */
1, 0, /* <m_llegB>1_2 rotate x */
1, 0, /* <m_llegB>1_2 rotate y */
20, 522, /* <m_llegB>1_2 rotate z */
20, 462, /* <m_ltoot>1_2 rotate x */
20, 482, /* <m_ltoot>1_2 rotate y */
20, 502, /* <m_ltoot>1_2 rotate z */
1, 0, /* chn17_2 rotate x */
1, 0, /* chn17_2 rotate y */
1, 723, /* chn17_2 rotate z */
20, 402, /* <m_rlegA>1_2 rotate x */
20, 422, /* <m_rlegA>1_2 rotate y */
20, 442, /* <m_rlegA>1_2 rotate z */
1, 0, /* <m_rlegB>1_2 rotate x */
1, 0, /* <m_rlegB>1_2 rotate y */
20, 382, /* <m_rlegB>1_2 rotate z */
20, 322, /* <m_rfoot>1_2 rotate x */
20, 342, /* <m_rfoot>1_2 rotate y */
20, 362, /* <m_rfoot>1_2 rotate z */
};
AnimeRecord animMarioSwimLanding = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
20, /* number of frames */
20, /* number of joints */
mario_swim2landing_prm,
mario_swim2landing_tbl
};