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

273 lines
12 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario hanging animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
Septen 31, 1995
********************************************************************************/
#include "../headers.h"
static short mario_hanger_wait_prm[]={
0, 7, 8, 8, 9, 11, 12, 13,
14, 15, 16, 16, 16, 16, 16, 16,
15, 15, 14, 14, 13, 13, 12, 12,
11, 11, 10, 9, 9, 8, 8, 7,
7, 7, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 7, 7, 7,
7, 7, 7, -272, -92,16383, 6142, 6141,
6138, 6134, 6128, 6120, 6111, 6101, 6089, 6077,
6064, 6049, 6034, 6019, 6003, 5986, 5970, 5953,
5936, 5919, 5903, 5886, 5870, 5855, 5840, 5825,
5812, 5800, 5788, 5778, 5769, 5762, 5755, 5751,
5748, 5747, 5753, 5769, 5794, 5825, 5862, 5903,
5945, 5986, 6027, 6064, 6095, 6120, 6136, 6142,
-205, -202, -193, -179, -159, -135, -106, -74,
-38, 1, 44, 89, 137, 186, 237, 290,
343, 397, 451, 505, 558, 610, 661, 711,
758, 804, 846, 886, 922, 955, 984, 1008,
1027, 1042, 1050, 1053, 1035, 984, 905, 804,
686, 558, 424, 290, 161, 44, -56, -135,
-186, -205,-3611,-3613,-3621,-3633,-3649,-3669,
-3692,-3719,-3749,-3782,-3818,-3855,-3894,-3935,
-3978,-4021,-4065,-4110,-4154,-4199,-4243,-4286,
-4329,-4370,-4409,-4447,-4482,-4515,-4545,-4572,
-4595,-4615,-4631,-4643,-4651,-4653,-4638,-4595,
-4530,-4447,-4349,-4243,-4132,-4021,-3915,-3818,
-3734,-3669,-3626,-3611,-2813,-87344,-87343,-87339,
-87333,-87325,-87315,-87304,-87292,-87279,-87265,-87250,
-87235,-87220,-87206,-87192,-87179,-87166,-87155,-87145,
-87137,-87132,-87128,-87126,-87127,-87130,-87134,-87139,
-87146,-87154,-87163,-87172,-87183,-87194,-87205,-87217,
-87229,-87241,-87253,-87265,-87277,-87288,-87298,-87308,
-87317,-87324,-87331,-87337,-87341,-87343,-87344,-27285,
-27289,-27302,-27322,-27348,-27381,-27418,-27459,-27504,
-27551,-27600,-27649,-27699,-27747,-27794,-27839,-27880,
-27918,-27950,-27976,-27996,-28009,-28013,-28010,-28002,
-27988,-27970,-27948,-27921,-27892,-27859,-27825,-27788,
-27749,-27710,-27669,-27629,-27589,-27549,-27511,-27474,
-27439,-27406,-27377,-27351,-27328,-27310,-27296,-27288,
-27285,57569,57566,57558,57545,57529,57508,57485,
57458,57430,57400,57369,57338,57307,57276,57246,
57218,57192,57168,57147,57131,57118,57110,57107,
57109,57114,57123,57135,57149,57165,57184,57205,
57227,57250,57275,57300,57325,57351,57376,57401,
57426,57449,57471,57492,57511,57527,57541,57553,
57562,57567,57569,-3284, 1646,-3129,-1877,17251,
17251,17250,17250,17249,17249,17248,17247,17246,
17245,17244,17243,17241,17240,17239,17238,17237,
17236,17235,17235,17234,17234,17233,17233,17233,
17234,17234,17234,17235,17236,17236,17237,17238,
17239,17240,17241,17242,17243,17244,17245,17246,
17247,17248,17248,17249,17250,17250,17250,17251,
17251,28485,28481,28469,28451,28426,28396,28361,
28322,28280,28235,28188,28141,28093,28045,27999,
27954,27912,27873,27838,27808,27783,27764,27753,
27749,27752,27761,27776,27796,27820,27848,27880,
27915,27952,27992,28032,28074,28117,28159,28201,
28242,28281,28319,28353,28385,28414,28438,28458,
28472,28482,28485,-9070,-9070,-9071,-9072,-9074,
-9076,-9078,-9081,-9083,-9086,-9090,-9093,-9096,
-9099,-9102,-9105,-9108,-9110,-9113,-9115,-9116,
-9117,-9118,-9119,-9118,-9118,-9117,-9115,-9114,
-9112,-9110,-9108,-9105,-9102,-9100,-9097,-9094,
-9091,-9089,-9086,-9083,-9081,-9079,-9077,-9075,
-9073,-9072,-9071,-9070,-9070, -22, -23, -25,
-28, -31, -35, -39, -43, -46, -49, -51,
-52, -54, -55, -56, -57, -58, -59, -60,
-61, -62, -63, -63, -64, -64, -65, -65,
-65, -65, -65, -65, -64, -64, -63, -62,
-60, -58, -55, -52, -49, -45, -41, -38,
-34, -31, -28, -26, -24, -23, -22, -208,
-208, -208, -207, -206, -206, -205, -204, -204,
-203, -203, -203, -202, -202, -202, -201, -201,
-201, -201, -200, -200, -200, -200, -199, -199,
-199, -199, -199, -199, -199, -199, -199, -199,
-199, -199, -199, -200, -201, -201, -202, -203,
-204, -204, -205, -206, -207, -207, -208, -208,
-208,-12789,-12754,-12658,-12514,-12336,-12139,-11935,
-11738,-11562,-11421,-11329,-11266,-11203,-11142,-11082,
-11025,-10969,-10916,-10866,-10819,-10776,-10736,-10701,
-10671,-10645,-10624,-10609,-10600,-10598,-10601,-10612,
-10630,-10655,-10689,-10745,-10836,-10957,-11101,-11265,
-11441,-11626,-11814,-12000,-12177,-12342,-12489,-12613,
-12707,-12768,-12789,10049,10059,10090,10139,10204,
10282,10373,10474,10583,10698,10817,10938,11060,
11179,11295,11405,11574,11826,12091,12300,12385,
12278,11997,11619,11168,10663,10128, 9583, 9051,
8553, 8110, 7744, 7476, 7329, 7290, 7324, 7423,
7575, 7772, 8003, 8259, 8530, 8805, 9076, 9332,
9564, 9761, 9914,10014,10049, 9011, 5899,-22006,
-17843,-17843,-17842,-17839,-17835,-17828,-17819,-17806,
-17790,-17770,-17745,-17715,-17679,-17638,-17591,-17536,
-17474,-17405,-17327,-17241,-17146,-17041,-16926,-16800,
-16629,-16388,-16089,-15747,-15376,-14990,-14601,-14225,
-13876,-13566,-13309,-13121,-13013,-13001,-13130,-13415,
-13825,-14328,-14891,-15482,-16070,-16623,-17109,-17496,
-17751,-17843,18991,18967,18901,18802,18676,18534,
18382,18228,18082,17951,17844,17747,17644,17536,
17423,17306,17186,17064,16941,16818,16695,16574,
16455,16340,16228,16121,16021,15927,15840,15762,
15694,15635,15588,15553,15531,15522,15528,15549,
15642,15845,16137,16494,16894,17314,17732,18125,
18470,18744,18926,18991,-6370,-6371,-6374,-6378,
-6384,-6392,-6401,-6411,-6422,-6435,-6448,-6463,
-6478,-6494,-6510,-6527,-6544,-6562,-6579,-6597,
-6615,-6632,-6650,-6666,-6683,-6699,-6714,-6728,
-6742,-6754,-6766,-6776,-6785,-6792,-6799,-6803,
-6806,-6807,-6798,-6774,-6738,-6693,-6642,-6588,
-6534,-6483,-6438,-6402,-6379,-6370,-6244,-6243,
-6240,-6235,-6228,-6220,-6210,-6198,-6185,-6171,
-6156,-6140,-6123,-6105,-6086,-6067,-6048,-6028,
-6008,-5988,-5968,-5948,-5929,-5910,-5891,-5873,
-5856,-5840,-5825,-5811,-5798,-5786,-5776,-5768,
-5761,-5756,-5753,-5751,-5761,-5788,-5829,-5879,
-5937,-5998,-6059,-6117,-6167,-6208,-6235,-6244,
-25692,-25690,-25685,-25677,-25666,-25652,-25635,-25616,
-25595,-25572,-25547,-25521,-25493,-25464,-25434,-25403,
-25371,-25339,-25307,-25274,-25242,-25210,-25178,-25147,
-25117,-25088,-25060,-25033,-25009,-24986,-24964,-24946,
-24929,-24915,-24904,-24896,-24891,-24889,-24905,-24949,
-25015,-25097,-25191,-25290,-25390,-25484,-25566,-25632,
-25676,-25692,32767,32767,16753,-16545,32767,32767,
16753,-16545, 481, 537, 687, 909, 1179, 1473,
1766, 2036, 2259, 2410, 2467, 2450, 2397, 2313,
2202, 2068, 1916, 1749, 1571, 1387, 1200, 1016,
837, 668, 513, 355, 176, -15, -217, -421,
-623, -816, -996,-1156,-1290,-1393,-1460,-1484,
-1447,-1341,-1179, -977, -747, -503, -259, -29,
173, 335, 442, 481, -257, -235, -174, -83,
28, 153, 281, 404, 513, 600, 655, 685,
704, 713, 714, 709, 698, 684, 668, 651,
635, 623, 614, 611, 615, 629, 653, 684,
721, 760, 799, 836, 869, 895, 911, 916,
907, 881, 829, 748, 644, 523, 393, 259,
128, 6, -99, -182, -237, -257,-5029,-5023,
-5007,-4983,-4954,-4922,-4890,-4861,-4836,-4818,
-4809,-4809,-4814,-4823,-4836,-4851,-4867,-4885,
-4902,-4919,-4935,-4948,-4958,-4964,-4965,-4961,
-4951,-4936,-4918,-4897,-4875,-4853,-4831,-4812,
-4796,-4783,-4776,-4775,-4782,-4797,-4819,-4845,
-4875,-4906,-4937,-4965,-4991,-5011,-5024,-5029,
-37, -37, -37, -37, -37, -38, -38, -38,
-38, -39, -39, -39, -39, -39, -39, -39,
-38, -38, -38, -38, -38, -38, -38, -38,
-37, -37, -37, -37, -37, -37, -37, -37,
-36, -36, -36, -36, -36, -36, -36, -36,
-36, -37, -37, -37, -37, -37, -37, -37,
-37, -37, -976,-1039,-1213,-1471,-1789,-2142,
-2505,-2852,-3159,-3399,-3549,-3584,-3535,-3456,
-3350,-3219,-3065,-2893,-2705,-2504,-2292,-2073,
-1850,-1624,-1400,-1180, -967, -764, -574, -399,
-243, -108, 1, 84, 132, 144, 122, 73,
0, -90, -195, -308, -426, -544, -656, -759,
-847, -915, -960, -976, -996, -996, -996, -995,
-993, -992, -991, -989, -988, -987, -987, -987,
-987, -987, -988, -988, -989, -989, -990, -991,
-991, -992, -993, -994, -995, -996, -996, -997,
-998, -998, -999,-1000,-1000,-1000,-1000,-1000,
-1000,-1000,-1000,-1000, -999, -999, -998, -998,
-998, -997, -997, -997, -997, -996, -108, -108,
-108, -109, -109, -110, -111, -112, -112, -113,
-113, -113, -113, -113, -112, -112, -112, -112,
-111, -111, -111, -110, -110, -110, -109, -109,
-109, -108, -108, -108, -107, -107, -107, -107,
-107, -107, -106, -106, -106, -107, -107, -107,
-107, -107, -107, -107, -107, -107, -107, -108,
1408, 1471, 1639, 1885, 2183, 2504, 2821, 3105,
3331, 3470, 3494, 3440, 3363, 3264, 3147, 3013,
2864, 2702, 2529, 2348, 2160, 1967, 1772, 1576,
1382, 1192, 1007, 830, 663, 508, 366, 241,
133, 46, -18, -47, -29, 26, 116, 232,
368, 517, 673, 829, 979, 1116, 1234, 1327,
1387, 1408,16246,16245,16243,16240,16237,16234,
16230,16227,16225,16223,16223,16223,16224,16225,
16227,16228,16230,16231,16233,16235,16237,16239,
16241,16243,16245,16247,16249,16251,16253,16255,
16256,16258,16259,16260,16260,16261,16261,16260,
16259,16258,16256,16255,16253,16252,16250,16249,
16247,16247,16246,16246
};
static short mario_hanger_wait_tbl[]={
50, 1, /* chn14_1_1_1translate x */
1, 51, /* chn14_1_1_1 translate y */
1, 52, /* chn14_1_1_1 translate z */
1, 0, /* chn14_1_1_1 rotate x */
1, 53, /* chn14_1_1_1 rotate y */
1, 0, /* chn14_1_1_1 rotate z */
50, 1270, /* <m_waist>1_3_1 rotate x */
50, 1320, /* <m_waist>1_3_1 rotate y */
50, 1370, /* <m_waist>1_3_1 rotate z */
50, 1120, /* <m_body>1_1 rotate x */
50, 1170, /* <m_body>1_1 rotate y */
50, 1220, /* <m_body>1_1 rotate z */
50, 970, /* <m_head>2_1 rotate x */
50, 1020, /* <m_head>2_1 rotate y */
50, 1070, /* <m_head>2_1 rotate z */
1, 966, /* chn6_1 rotate x */
1, 967, /* chn6_1 rotate y */
1, 968, /* chn6_1 rotate z */
50, 205, /* <m_larmA>1_1 rotate x */
50, 255, /* <m_larmA>1_1 rotate y */
50, 305, /* <m_larmA>1_1 rotate z */
1, 0, /* <m_larmB>1_1 rotate x */
1, 0, /* <m_larmB>1_1 rotate y */
1, 204, /* <m_larmB>1_1 rotate z */
50, 54, /* <m_lhand>1_1 rotate x */
50, 104, /* <m_lhand>1_1 rotate y */
50, 154, /* <m_lhand>1_1 rotate z */
1, 962, /* chn10_1 rotate x */
1, 963, /* chn10_1 rotate y */
1, 964, /* chn10_1 rotate z */
50, 359, /* <m_rarmA>1_1 rotate x */
50, 409, /* <m_rarmA>1_1 rotate y */
50, 459, /* <m_rarmA>1_1 rotate z */
1, 0, /* <m_rarmB>1_1 rotate x */
1, 0, /* <m_rarmB>1_1 rotate y */
1, 358, /* <m_rarmB>1_1 rotate z */
1, 355, /* <m_rhand>1_1 rotate x */
1, 356, /* <m_rhand>1_1 rotate y */
1, 357, /* <m_rhand>1_1 rotate z */
1, 0, /* chn15_1 rotate x */
1, 0, /* chn15_1 rotate y */
1, 965, /* chn15_1 rotate z */
50, 812, /* <m_llegA>1_1 rotate x */
50, 862, /* <m_llegA>1_1 rotate y */
50, 912, /* <m_llegA>1_1 rotate z */
1, 0, /* <m_llegB>1_1 rotate x */
1, 0, /* <m_llegB>1_1 rotate y */
50, 762, /* <m_llegB>1_1 rotate z */
1, 0, /* <m_ltoot>1_1 rotate x */
1, 0, /* <m_ltoot>1_1 rotate y */
50, 712, /* <m_ltoot>1_1 rotate z */
1, 0, /* chn17_1 rotate x */
1, 0, /* chn17_1 rotate y */
1, 969, /* chn17_1 rotate z */
1, 709, /* <m_rlegA>1_1 rotate x */
1, 710, /* <m_rlegA>1_1 rotate y */
1, 711, /* <m_rlegA>1_1 rotate z */
1, 0, /* <m_rlegB>1_1 rotate x */
1, 0, /* <m_rlegB>1_1 rotate y */
50, 659, /* <m_rlegB>1_1 rotate z */
50, 509, /* <m_rfoot>1_1 rotate x */
50, 559, /* <m_rfoot>1_1 rotate y */
50, 609, /* <m_rfoot>1_1 rotate z */
};
AnimeRecord animMarioHanging = {
MAP_ANIM_NORMAL, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
50, /* number of frames */
20, /* number of joints */
mario_hanger_wait_prm,
mario_hanger_wait_tbl
};