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

287 lines
13 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario bar standing animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
December 21, 1995
********************************************************************************/
#include "../headers.h"
#include "../include/anime.h"
static short mario_polestand_wait_prm[]={
0, -4, -4, -6, -8, -10, -13, -16,
-19, -22, -24, -26, -27, -28, -28, -27,
-26, -25, -24, -22, -20, -19, -16, -14,
-12, -9, -7, -4, -1, 2, 6, 11,
16, 21, 25, 29, 31, 32, 32, 31,
29, 26, 23, 20, 17, 14, 11, 7,
4, 1, -1, -4, -4, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, 696, 696, 696, 696, 696, 696, 696,
696, -25, -25, -24, -23, -22, -21, -19,
-18, -16, -15, -13, -12, -12, -11, -11,
-11, -11, -11, -11, -11, -11, -11, -11,
-12, -12, -13, -13, -14, -16, -18, -20,
-22, -24, -26, -27, -26, -23, -21, -21,
-21, -21, -21, -22, -22, -22, -23, -23,
-24, -24, -25, -25, -25,16383, 6452,-14784,
-8031,-4253,-4277,-4344,-4446,-4577,-4730,-4897,
-5072,-5248,-5418,-5574,-5710,-5818,-5907,-5990,
-6067,-6139,-6206,-6268,-6327,-6381,-6432,-6481,
-6526,-6570,-6612,-6652,-6697,-6750,-6806,-6862,
-6914,-6959,-6992,-7010,-7010,-6986,-6937,-6857,
-6732,-6554,-6335,-6085,-5816,-5538,-5262,-4999,
-4759,-4554,-4394,-4290,-4253,18370,18370,18369,
18369,18368,18367,18366,18365,18364,18363,18362,
18361,18361,18361,18363,18366,18370,18374,18378,
18381,18384,18386,18386,18384,18379,18372,18362,
18347,18324,18295,18263,18228,18193,18159,18127,
18100,18078,18064,18059,18065,18080,18102,18130,
18162,18197,18233,18268,18300,18328,18350,18365,
18370, 1099, 1093, 1073, 1041, 1000, 950, 893,
830, 763, 694, 623, 553, 485, 412, 330,
240, 145, 46, -53, -152, -248, -338, -422,
-496, -559, -608, -641, -657, -658, -645, -620,
-584, -539, -485, -426, -361, -294, -224, -154,
-73, 25, 138, 262, 391, 521, 648, 768,
876, 967, 1038, 1083, 1099,25077,25076,25072,
25066,25058,25048,25037,25025,25012,24999,24985,
24972,24959,24945,24930,24914,24896,24879,24861,
24843,24825,24808,24792,24777,24764,24752,24742,
24734,24727,24720,24715,24710,24708,24707,24709,
24712,24718,24727,24739,24756,24780,24808,24841,
24876,24912,24948,24981,25012,25039,25059,25073,
25077,-10071, 9664,-13460,-3106,-3131,-3199,-3302,
-3431,-3577,-3732,-3887,-4033,-4162,-4265,-4333,
-4358,-4338,-4282,-4197,-4089,-3964,-3828,-3687,
-3549,-3419,-3302,-3207,-3138,-3102,-3106,-3165,
-3283,-3447,-3646,-3868,-4099,-4329,-4544,-4732,
-4882,-4981,-5017,-4985,-4895,-4758,-4585,-4386,
-4171,-3951,-3737,-3537,-3364,-3228,-3138,-3106,
-10251,-10255,-10269,-10289,-10314,-10343,-10373,-10404,
-10432,-10457,-10478,-10491,-10496,-10492,-10482,-10467,
-10448,-10425,-10400,-10374,-10349,-10324,-10301,-10281,
-10265,-10255,-10251,-10254,-10266,-10285,-10308,-10334,
-10362,-10391,-10417,-10441,-10459,-10472,-10476,-10473,
-10462,-10446,-10425,-10402,-10376,-10350,-10325,-10302,
-10281,-10265,-10254,-10251,-3572,-3546,-3474,-3367,
-3231,-3078,-2915,-2753,-2599,-2464,-2356,-2285,
-2259,-2278,-2330,-2411,-2514,-2635,-2767,-2905,
-3043,-3177,-3299,-3406,-3490,-3547,-3572,-3554,
-3494,-3401,-3282,-3147,-3002,-2857,-2720,-2599,
-2502,-2438,-2415,-2434,-2488,-2571,-2676,-2796,
-2927,-3060,-3190,-3310,-3415,-3498,-3552,-3572,
26395,26412,26461,26533,26625,26728,26838,26948,
27051,27143,27216,27264,27281,27269,27233,27179,
27109,27027,26938,26845,26751,26661,26579,26507,
26450,26411,26395,26407,26448,26511,26592,26684,
26782,26881,26974,27056,27122,27165,27181,27168,
27131,27075,27004,26922,26833,26743,26654,26572,
26501,26445,26408,26395, 64, 61, 55, 45,
33, 20, 7, -5, -16, -25, -30, -31,
-28, -23, -15, -6, 4, 16, 29, 41,
54, 65, 76, 85, 93, 98, 100, 100,
98, 95, 90, 84, 77, 70, 61, 53,
45, 36, 28, 20, 13, 7, 2, -1,
-3, 0, 8, 21, 36, 50, 60, 64,
-198, -198, -199, -200, -201, -202, -203, -204,
-205, -206, -206, -206, -205, -204, -202, -200,
-198, -196, -194, -192, -189, -188, -186, -184,
-183, -183, -182, -183, -183, -184, -186, -187,
-189, -191, -193, -195, -197, -199, -201, -203,
-204, -206, -207, -208, -209, -209, -208, -205,
-203, -200, -199, -198,-17098,-16982,-16666,-16195,
-15616,-14975,-14318,-13691,-13139,-12710,-12450,-12403,
-12553,-12834,-13227,-13711,-14265,-14867,-15499,-16138,
-16763,-17355,-17893,-18354,-18720,-18969,-19080,-19066,
-18962,-18778,-18524,-18211,-17850,-17451,-17024,-16581,
-16131,-15685,-15254,-14848,-14478,-14155,-13888,-13688,
-13566,-13704,-14186,-14879,-15650,-16365,-16892,-17098,
7961, 7906, 7755, 7532, 7260, 6960, 6657, 6372,
6128, 5949, 5857, 5875, 5990, 6171, 6406, 6687,
7003, 7347, 7706, 8074, 8439, 8792, 9124, 9425,
9685, 9896,10047,10092,10012, 9838, 9604, 9341,
9081, 8856, 8698, 8639, 8711, 8946, 9583,10696,
12073,13499,14761,15647,15943,15449,14289,12732,
11051, 9515, 8394, 7961, 4948, 4939, 4916, 4882,
4839, 4793, 4745, 4700, 4660, 4630, 4612, 4610,
4625, 4650, 4686, 4730, 4779, 4832, 4887, 4941,
4993, 5041, 5082, 5115, 5137, 5147, 5142, 5122,
5090, 5047, 4995, 4936, 4870, 4800, 4726, 4652,
4578, 4506, 4437, 4373, 4316, 4267, 4228, 4201,
4186, 4222, 4329, 4478, 4642, 4794, 4905, 4948,
2251, 2201, 2064, 1861, 1612, 1336, 1055, 789,
557, 381, 281, 276, 350, 471, 632, 828,
1051, 1297, 1560, 1833, 2111, 2387, 2657, 2913,
3150, 3363, 3544, 3713, 3888, 4067, 4248, 4429,
4607, 4780, 4946, 5103, 5247, 5377, 5491, 5585,
5659, 5708, 5732, 5728, 5693, 5465, 4959, 4289,
3569, 2913, 2436, 2251,-15494,-15541,-15668,-15859,
-16093,-16352,-16618,-16873,-17097,-17273,-17381,-17403,
-17347,-17240,-17089,-16903,-16689,-16456,-16211,-15962,
-15718,-15486,-15274,-15090,-14943,-14839,-14788,-14784,
-14812,-14869,-14952,-15056,-15178,-15314,-15461,-15614,
-15770,-15924,-16075,-16216,-16346,-16459,-16552,-16622,
-16665,-16621,-16461,-16231,-15975,-15738,-15562,-15494,
-13343, 6398, 6383, 6342, 6279, 6198, 6103, 5998,
5888, 5777, 5668, 5566, 5475, 5400, 5343, 5311,
5306, 5333, 5396, 5499, 5647, 5843, 6092, 6398,
6848, 7505, 8333, 9296,10361,11491,12652,13808,
14924,15964,16895,17680,18284,18672,18809,18628,
18122,17344,16349,15191,13924,12603,11283,10016,
8858, 7863, 7085, 6579, 6398,-2615,-2646,-2733,
-2862,-3023,-3204,-3392,-3578,-3748,-3891,-3995,
-4049,-4041,-3978,-3880,-3750,-3592,-3412,-3213,
-3001,-2779,-2552,-2325,-2101,-1886,-1683,-1498,
-1309,-1098, -871, -634, -394, -157, 69, 281,
471, 632, 759, 845, 883, 867, 749, 504,
160, -251, -703,-1166,-1610,-2006,-2325,-2538,
-2615,-3764,-3793,-3871,-3989,-4136,-4300,-4471,
-4638,-4790,-4917,-5007,-5051,-5037,-4963,-4842,
-4681,-4488,-4270,-4037,-3796,-3554,-3320,-3102,
-2908,-2746,-2623,-2548,-2519,-2526,-2565,-2631,
-2718,-2822,-2938,-3061,-3186,-3308,-3423,-3525,
-3609,-3670,-3713,-3743,-3765,-3777,-3783,-3784,
-3781,-3776,-3770,-3766,-3764,-14383,-14316,-14133,
-13858,-13515,-13129,-12725,-12326,-11959,-11646,-11414,
-11285,-11286,-11392,-11559,-11782,-12056,-12374,-12730,
-13119,-13536,-13974,-14428,-14891,-15359,-15826,-16285,
-16793,-17396,-18072,-18799,-19554,-20316,-21062,-21770,
-22418,-22984,-23446,-23782,-23969,-23985,-23699,-23047,
-22112,-20976,-19724,-18437,-17198,-16091,-15197,-14600,
-14383,-32767,-32767,16753,-16545,-32767,-32767,16753,
-16545, 0, -32, -123, -267, -456, -684, -943,
-1227,-1529,-1840,-2156,-2467,-2769,-3053,-3312,
-3540,-3729,-3873,-3965,-3997,-3963,-3843,-3630,
-3337,-2975,-2556,-2093,-1596,-1077, -550, -25,
485, 969, 1416, 1812, 2146, 2406, 2581, 2653,
2626, 2513, 2330, 2092, 1815, 1514, 1203, 899,
616, 369, 174, 46, 0,-14694, 0, -1,
-5, -11, -19, -28, -37, -47, -55, -63,
-69, -73, -75, -74, -72, -68, -64, -58,
-52, -46, -39, -31, -24, -17, -11, -5,
0, 4, 10, 15, 21, 26, 31, 36,
40, 43, 46, 48, 48, 48, 45, 42,
37, 32, 27, 21, 16, 11, 6, 3,
0, 0, 0, -18, -69, -146, -242, -351,
-467, -583, -693, -789, -866, -917, -935, -925,
-896, -850, -791, -721, -642, -556, -467, -377,
-289, -204, -126, -57, 0, 50, 99, 146,
190, 231, 269, 302, 330, 354, 371, 382,
385, 379, 361, 333, 298, 258, 215, 170,
127, 87, 52, 24, 6, 0,-4807,-4789,
-4740,-4665,-4572,-4468,-4359,-4251,-4151,-4067,
-4004,-3969,-3970,-4008,-4077,-4173,-4290,-4421,
-4562,-4705,-4847,-4980,-5100,-5201,-5276,-5321,
-5329,-5288,-5195,-5060,-4893,-4706,-4507,-4308,
-4118,-3948,-3808,-3709,-3659,-3661,-3702,-3777,
-3878,-3999,-4131,-4268,-4404,-4530,-4641,-4729,
-4787,-4807, 0, 0, 1, 2, 4, 6,
8, 10, 12, 13, 15, 16, 16, 16,
16, 15, 14, 13, 12, 10, 8, 6,
4, 2, 0, -3, -7, -11, -16, -22,
-27, -32, -36, -39, -41, -42, -42, -41,
-39, -37, -34, -31, -27, -24, -20, -16,
-13, -9, -6, -2, 0, 0, 0, -6,
-23, -48, -81, -117, -156, -194, -231, -263,
-289, -306, -312, -310, -305, -296, -282, -264,
-242, -215, -183, -145, -102, -54, 0, 71,
164, 275, 396, 521, 644, 759, 859, 938,
990, 1009, 1000, 974, 934, 881, 817, 744,
664, 579, 491, 401, 312, 226, 143, 67,
0, 0,-17281,-17289,-17312,-17347,-17389,-17435,
-17483,-17527,-17566,-17596,-17612,-17613,-17593,-17547,
-17471,-17374,-17261,-17138,-17013,-16890,-16778,-16681,
-16607,-16561,-16550,-16585,-16664,-16777,-16916,-17071,
-17232,-17390,-17536,-17660,-17753,-17804,-17824,-17828,
-17819,-17798,-17767,-17728,-17681,-17630,-17576,-17520,
-17465,-17411,-17362,-17318,-17281,-17281
};
static short mario_polestand_wait_tbl[]={
52, 1, /* chn14_3translate x */
52, 53, /* chn14_3 translate y */
52, 105, /* chn14_3 translate z */
1, 0, /* chn14_3 rotate x */
1, 157, /* chn14_3 rotate y */
1, 0, /* chn14_3 rotate z */
52, 1370, /* <m_waist>1_3 rotate x */
52, 1422, /* <m_waist>1_3 rotate y */
52, 1474, /* <m_waist>1_3 rotate z */
52, 1214, /* <m_body>1 rotate x */
52, 1266, /* <m_body>1 rotate y */
52, 1318, /* <m_body>1 rotate z */
52, 1161, /* <m_head>2 rotate x */
1, 0, /* <m_head>2 rotate y */
1, 1213, /* <m_head>2 rotate z */
1, 1157, /* chn6 rotate x */
1, 1158, /* chn6 rotate y */
1, 1159, /* chn6 rotate z */
52, 213, /* <m_larmA>1 rotate x */
52, 265, /* <m_larmA>1 rotate y */
52, 317, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
52, 161, /* <m_larmB>1 rotate z */
1, 158, /* <m_lhand>1 rotate x */
1, 159, /* <m_lhand>1 rotate y */
1, 160, /* <m_lhand>1 rotate z */
1, 1153, /* chn10 rotate x */
1, 1154, /* chn10 rotate y */
1, 1155, /* chn10 rotate z */
52, 424, /* <m_rarmA>1 rotate x */
52, 476, /* <m_rarmA>1 rotate y */
52, 528, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
52, 372, /* <m_rarmB>1 rotate z */
1, 369, /* <m_rhand>1 rotate x */
1, 370, /* <m_rhand>1 rotate y */
1, 371, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 1156, /* chn15 rotate z */
52, 997, /* <m_llegA>1 rotate x */
52, 1049, /* <m_llegA>1 rotate y */
52, 1101, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
52, 945, /* <m_llegB>1 rotate z */
1, 0, /* <m_ltoot>1 rotate x */
1, 0, /* <m_ltoot>1 rotate y */
1, 944, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 1160, /* chn17 rotate z */
52, 788, /* <m_rlegA>1 rotate x */
52, 840, /* <m_rlegA>1 rotate y */
52, 892, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
52, 736, /* <m_rlegB>1 rotate z */
52, 580, /* <m_rfoot>1 rotate x */
52, 632, /* <m_rfoot>1 rotate y */
52, 684, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioBarStanding = {
MAP_ANIM_NORMAL+MAP_ANIM_TRPLANE, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
52, /* number of frames */
20, /* number of joints */
mario_polestand_wait_prm,
mario_polestand_wait_tbl
};