258 lines
11 KiB
C
258 lines
11 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario ascent animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
August 31, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_hang_up_prm[]={
|
|
0, 7, 8, 8, 6, 0, -11, -27,
|
|
-45, -61, -72, -81, -89, -95, -101, -104,
|
|
-105, -104, -97, -84, -68, -51, -35, -19,
|
|
-1, 4, -7, -20, -25, -24, -11, 0,
|
|
2, 1, 0, -272, -273, -276, -276, -272,
|
|
-264, -253, -240, -227, -212, -199, -186, -173,
|
|
-159, -143, -124, -102, -74, -40, -1, 37,
|
|
77, 126, 138, 156, 175, 182, 184, 183,
|
|
176, 170, 169, 169, 170, -92, -90, -86,
|
|
-81, -78, -77, -77, -77, -77, -78, -79,
|
|
-81, -84, -86, -87, -86, -83, -77, -67,
|
|
-54, -39, -22, 19, 23, 64, 66, 48,
|
|
47, 54, 54, 54, 54, 54, 54,16383,
|
|
6142, 5470, 4756, 4127, 3709, 3536, 3514, 3579,
|
|
3666, 3709, 3724, 3759, 3799, 3829, 3834, 3799,
|
|
3709, 3258, 2616, 2478, 3653, 5434, 7148, 7443,
|
|
6132, 4621, 3201, 1690, 489, 0, 0, 0,
|
|
0, 0, -205, -303, -408, -500, -562, -587,
|
|
-590, -581, -568, -562, -557, -547, -535, -526,
|
|
-524, -535, -562, -776,-1048, -929, 474, 1756,
|
|
-265,-5128,-3925,-2123,-1728,-1607,-1631,-1668,
|
|
-1668,-1668,-1668,-1668,-3611,-3474,-3329,-3200,
|
|
-3115,-3080,-3076,-3089,-3106,-3115,-3109,-3093,
|
|
-3076,-3063,-3061,-3076,-3115,-3293,-3553,-3649,
|
|
-2363,-2772,-13616,-11594,-9128,-7164,-6139,-5372,
|
|
-4891,-4724,-4724,-4724,-4724,-4724,-2813,-2962,
|
|
-3121,-3260,-3353,-3392,-3397,-3382,-3363,-3353,
|
|
-3198,-2837,-2423,-2113,-2061,-2423,-3353,-6656,
|
|
-11929,-16014,-17522,-15549,-2448,-3488,-5369,-7582,
|
|
-9827,-11803,-13209,-13745,-13745,-13745,-13745,-13745,
|
|
-87344,-86509,-85628,-84839,-84285,-83995,-83864,-83832,
|
|
-83842,-83834,-83901,-84114,-84371,-84571,-84615,-84403,
|
|
-83834,-84858,-84667,-76022,-44392,-7408, 1961, 2867,
|
|
2243, 1391, 463, -387,-1010,-1251,-1251,-1251,
|
|
-1251,-1251,-27285,-27112,-26869,-26767,-27020,-27772,
|
|
-28868,-30064,-31118,-31788,-32231,-32696,-33083,-33287,
|
|
-33208,-32742,-31788,-28874,-24043,-19464,-16364,-13131,
|
|
-7476,-8083,-8745,-9501,-10257,-10915,-11380,-11556,
|
|
-11556,-11556,-11556,-11556,57569,57354,57154,56923,
|
|
56612,56165,55617,55058,54578,54268,54214,54366,
|
|
54611,54837,54931,54779,54268,55183,54966,46993,
|
|
17832,-16029,-23389,-23386,-21254,-18634,-15917,-13492,
|
|
-11752,-11084,-11084,-11084,-11084,-11084,-3284,-2652,
|
|
-2077,-1389, -423, 991, 2731, 4523, 6094, 7173,
|
|
7835, 8336, 8678, 8862, 8890, 8762, 8480, 8032,
|
|
7426, 6697, 5878, 5002, 4104, 3217, 2374, 1608,
|
|
955, 447, 117, 0, 0, 0, 0, 0,
|
|
1646, 1723, 1786, 1877, 2036, 2320, 2698, 3082,
|
|
3385, 3518, 3483, 3359, 3170, 2941, 2697, 2462,
|
|
2261, 2073, 1865, 1643, 1413, 1181, 954, 738,
|
|
537, 360, 211, 98, 25, 0, 0, 0,
|
|
0, 0,-3129,-2997,-2877,-2732,-2520,-2189,
|
|
-1770,-1344, -996, -809, -782, -841, -963,-1122,
|
|
-1294,-1453,-1577,-1679,-1789,-1906,-2025,-2144,
|
|
-2261,-2371,-2472,-2562,-2637,-2694,-2730,-2743,
|
|
-2743,-2743,-2743,-2743,-1877,-1928,-1852,-2028,
|
|
-2832,-4575,-6977,-9531,-11731,-13069,-13592,-13742,
|
|
-13597,-13238,-12746,-12201,-11683,-11071,-10245,-9287,
|
|
-8282,-7310,-6457,-5803,-5433,-5429,-6943,-10003,
|
|
-13012,-14371,-14371,-14371,-14371,-14371,17251,16918,
|
|
16568,16253,16026,15774,15457,15240,15289,15769,
|
|
16821,18331,20077,21841,23400,24534,25023,24314,
|
|
22354,19670,16788,12969, 8486, 5393, 3903, 2822,
|
|
2088, 1640, 1416, 1355, 1355, 1355, 1355, 1355,
|
|
28485,28450,28486,28380,27918,26877,25417,23893,
|
|
22662,22082,22103,22403,22930,23633,24462,25364,
|
|
26288,27802,29898,31664,32188,30272,26688,23486,
|
|
20960,18236,15607,13366,11807,11222,11222,11222,
|
|
11222,11222,-9070,-9251,-9439,-9613,-9753,-10017,
|
|
-10421,-10729,-10706,-10118,-8887,-7210,-5265,-3230,
|
|
-1283, 397, 1633, 2247, 2212, 1575, 385,-2234,
|
|
-5865,-8515,-9890,-11024,-11912,-12551,-12937,-13066,
|
|
-13066,-13066,-13066,-13066, -22, -19, -12, -4,
|
|
0, 1, 1, 1, 0, 0, 0, -1,
|
|
-2, -3, -3, -2, 0, 82, 169, 34,
|
|
-846,-1614, -257, 298, 1293, -15,-1446,-1181,
|
|
-654, 11, 0, 0, 0, 0, -208, -208,
|
|
-208, -208, -208, -208, -208, -208, -208, -208,
|
|
-208, -208, -208, -208, -208, -208, -208, -142,
|
|
-76, -205, -952,-1661, -845,-2129,-1842,-1817,
|
|
-1594, -119, 399, -208, -208, -208, -208, -208,
|
|
-12789,-12946,-13304,-13695,-13948,-14031,-14041,-14010,
|
|
-13969,-13948,-13927,-13877,-13820,-13778,-13770,-13820,
|
|
-13948,-14511,-15345,-15690,-14250,-13186,-17480,-16001,
|
|
-18055,-16321,-14243,-14226,-14644,-14490,-13864,-13864,
|
|
-13864,-13864,10049,10074,10232,10642,11426,12974,
|
|
15166,17356,18898,19144,17899,15671,12866, 9892,
|
|
7155, 5062, 4020, 6326,11402,15341,15366,14372,
|
|
15434,14569,13413, 9969, 7189, 6801, 7293, 7754,
|
|
7754, 7754, 7754, 7754, 9011, 9178, 9442, 9443,
|
|
8825, 7316, 5185, 2885, 865, -421,-1196,-1905,
|
|
-2432,-2662,-2480,-1772, -421, 3959,11000,16678,
|
|
18511,17860,12741, 6540, 6874, 6931, 6928, 6931,
|
|
6925, 6921, 6921, 6921, 6921, 6921, 5899, 5500,
|
|
4661, 3920, 3813, 4571, 5842, 7294, 8595, 9414,
|
|
9773, 9943, 9967, 9884, 9737, 9567, 9414, 9214,
|
|
8810, 8109, 6493, 4998, 6186, 8803, 7879, 6200,
|
|
4836, 4444, 4420, 4420, 4420, 4420, 4420, 4420,
|
|
-22006,-21188,-19498,-18080,-18078,-20019,-23143,-26670,
|
|
-29816,-31801,-32711,-33200,-33340,-33199,-32849,-32359,
|
|
-31801,-30573,-28459,-26108,-23125,-20536,-21714,-26906,
|
|
-25156,-24245,-23525,-22769,-22044,-21436,-21436,-21436,
|
|
-21436,-21436,-17843,-17114,-15451,-13639,-12461,-12079,
|
|
-12031,-12174,-12366,-12461,-12433,-12368,-12294,-12238,
|
|
-12229,-12294,-12461,-12736,-13092,-13508,-13963,-14436,
|
|
-14905,-15350,-15750,-16084,-16331,-16062,-15370,-15011,
|
|
-16576,-16576,-16576,-16576,18991,17417,13826, 9912,
|
|
7370, 6469, 6216, 6413, 6863, 7370, 7944, 8688,
|
|
9547,10464,11383,12248,13003,13745,14578,15455,
|
|
16331,17158,17891,18482,18886,19055,18944,16907,
|
|
12955, 9527, 9527, 9527, 9527, 9527,-6370,-6063,
|
|
-5379,-4671,-4291,-4339,-4598,-4954,-5292,-5497,
|
|
-5556,-5550,-5506,-5451,-5413,-5419,-5497,-5619,
|
|
-5743,-5876,-6023,-6193,-6389,-6620,-6891,-7208,
|
|
-7578,-8387,-9618,-10678,-10678,-10678,-10678,-10678,
|
|
-6244,-5640,-4319,-3025,-2498,-2988,-4032,-5299,
|
|
-6457,-7176,-7449,-7527,-7474,-7351,-7219,-7140,
|
|
-7176,-7338,-7578,-7868,-8183,-8497,-8783,-9015,
|
|
-9166,-9211,-9123,-8222,-6526,-5055,-5055,-5055,
|
|
-5055,-5055,-25692,-24628,-22169,-19407,-17438,-16428,
|
|
-15752,-15320,-15040,-14821,-14602,-14400,-14251,-14185,
|
|
-14236,-14438,-14821,-15417,-16199,-17116,-18118,-19155,
|
|
-20175,-21129,-21965,-22634,-23084,-22405,-20611,-19042,
|
|
-19042,-19042,-19042,-19042,32767,32767,16753,-16545,
|
|
32767,32767,16753,-16545, 481, 510, 518, 388,
|
|
0, -776,-1843,-2974,-3942,-4522,-4781,-4931,
|
|
-4963,-4867,-4635,-4256,-3722,-2918,-1813, -527,
|
|
823, 2121, 3247, 4083, 3392, 2149, 2233, 2274,
|
|
1097, 0, -213, -189, -71, 0, -257, -273,
|
|
-277, -207, 0, 403, 949, 1535, 2059, 2418,
|
|
2630, 2786, 2891, 2949, 2966, 2947, 2895, 2771,
|
|
2558, 2295, 2018, 1765, 1575, 1485, 2231, 2650,
|
|
697,-1244, -839, 0, 116, 103, 38, 0,
|
|
-5029,-5087,-5246,-5485,-5782,-6219,-6794,-7364,
|
|
-7783,-7909,-7752,-7445,-7025,-6529,-5993,-5454,
|
|
-4949,-4362,-3622,-2831,-2095,-1517,-1199,-1246,
|
|
-3988,-7327,-7732,-7078,-5971,-4681,-3518,-2291,
|
|
-1321, -926, -37, -39, -40, -30, 0, 53,
|
|
123, 201, 279, 350, 373, 339, 290, 268,
|
|
315, 472, 781, 2009, 3763, 4342, 2413, -689,
|
|
-2671,-2947,-2640,-2019,-1352, -908, -672, -457,
|
|
-272, -127, -33, 0, -976,-1035,-1051, -786,
|
|
0, 1560, 3696, 5969, 7939, 9169, 9677, 9834,
|
|
9733, 9464, 9118, 8787, 8561, 8374, 8101, 7739,
|
|
7259, 6691, 6123, 5588, 5055, 4521, 3982, 3431,
|
|
2791, 2047, 1298, 642, 176, 0, -996, -951,
|
|
-836, -685, -530, -390, -253, -100, 86, 324,
|
|
571, 795, 1028, 1303, 1653, 2111, 2708, 3894,
|
|
5606, 7107, 8232, 9147, 9610, 9689, 9608, 9363,
|
|
8949, 8362, 7435, 6159, 4764, 3482, 2544, 2180,
|
|
-108, -114, -116, -87, 0, -202, -716,-1028,
|
|
-623, 1014, 4126, 8306,13093,18026,22644,26486,
|
|
29092,28158,23836,19352,15530,11427, 7612, 4654,
|
|
2835, 1809, 1200, 637, 176, 17, 0, 0,
|
|
0, 0, 1408, 1493, 1517, 1134, 0,-2209,
|
|
-5206,-8421,-11285,-13227,-14290,-14954,-15312,-15455,
|
|
-15474,-15461,-15508,-15675,-15503,-14300,-11644,-8129,
|
|
-4592,-1868, -167, 954, 1632, 2006, 1604, 579,
|
|
0, 0, 0, 0,16246,16144,15895,15586,
|
|
15300,15405,15857,16132,15703,14043,10899, 6681,
|
|
1857,-3101,-7726,-11548,-14096,-13187,-8754,-3507,
|
|
2200, 8854,14992,19156,20565,20129,18921,18016,
|
|
17417,16718,16383,16383,16383,16383
|
|
};
|
|
static short mario_hang_up_tbl[]={
|
|
34, 1, /* chn14_1_1translate x */
|
|
34, 35, /* chn14_1_1 translate y */
|
|
34, 69, /* chn14_1_1 translate z */
|
|
1, 0, /* chn14_1_1 rotate x */
|
|
1, 103, /* chn14_1_1 rotate y */
|
|
1, 0, /* chn14_1_1 rotate z */
|
|
34, 1200, /* <m_waist>1_3_1 rotate x */
|
|
34, 1234, /* <m_waist>1_3_1 rotate y */
|
|
34, 1268, /* <m_waist>1_3_1 rotate z */
|
|
34, 1098, /* <m_body>1_1 rotate x */
|
|
34, 1132, /* <m_body>1_1 rotate y */
|
|
34, 1166, /* <m_body>1_1 rotate z */
|
|
34, 996, /* <m_head>2_1 rotate x */
|
|
34, 1030, /* <m_head>2_1 rotate y */
|
|
34, 1064, /* <m_head>2_1 rotate z */
|
|
|
|
1, 992, /* chn6_1 rotate x */
|
|
1, 993, /* chn6_1 rotate y */
|
|
1, 994, /* chn6_1 rotate z */
|
|
34, 240, /* <m_larmA>1_1 rotate x */
|
|
34, 274, /* <m_larmA>1_1 rotate y */
|
|
34, 308, /* <m_larmA>1_1 rotate z */
|
|
1, 0, /* <m_larmB>1_1 rotate x */
|
|
1, 0, /* <m_larmB>1_1 rotate y */
|
|
34, 206, /* <m_larmB>1_1 rotate z */
|
|
34, 104, /* <m_lhand>1_1 rotate x */
|
|
34, 138, /* <m_lhand>1_1 rotate y */
|
|
34, 172, /* <m_lhand>1_1 rotate z */
|
|
|
|
1, 988, /* chn10_1 rotate x */
|
|
1, 989, /* chn10_1 rotate y */
|
|
1, 990, /* chn10_1 rotate z */
|
|
34, 478, /* <m_rarmA>1_1 rotate x */
|
|
34, 512, /* <m_rarmA>1_1 rotate y */
|
|
34, 546, /* <m_rarmA>1_1 rotate z */
|
|
1, 0, /* <m_rarmB>1_1 rotate x */
|
|
1, 0, /* <m_rarmB>1_1 rotate y */
|
|
34, 444, /* <m_rarmB>1_1 rotate z */
|
|
34, 342, /* <m_rhand>1_1 rotate x */
|
|
34, 376, /* <m_rhand>1_1 rotate y */
|
|
34, 410, /* <m_rhand>1_1 rotate z */
|
|
|
|
1, 0, /* chn15_1 rotate x */
|
|
1, 0, /* chn15_1 rotate y */
|
|
1, 991, /* chn15_1 rotate z */
|
|
34, 886, /* <m_llegA>1_1 rotate x */
|
|
34, 920, /* <m_llegA>1_1 rotate y */
|
|
34, 954, /* <m_llegA>1_1 rotate z */
|
|
1, 0, /* <m_llegB>1_1 rotate x */
|
|
1, 0, /* <m_llegB>1_1 rotate y */
|
|
34, 852, /* <m_llegB>1_1 rotate z */
|
|
1, 0, /* <m_ltoot>1_1 rotate x */
|
|
1, 0, /* <m_ltoot>1_1 rotate y */
|
|
34, 818, /* <m_ltoot>1_1 rotate z */
|
|
|
|
1, 0, /* chn17_1 rotate x */
|
|
1, 0, /* chn17_1 rotate y */
|
|
1, 995, /* chn17_1 rotate z */
|
|
34, 716, /* <m_rlegA>1_1 rotate x */
|
|
34, 750, /* <m_rlegA>1_1 rotate y */
|
|
34, 784, /* <m_rlegA>1_1 rotate z */
|
|
1, 0, /* <m_rlegB>1_1 rotate x */
|
|
1, 0, /* <m_rlegB>1_1 rotate y */
|
|
34, 682, /* <m_rlegB>1_1 rotate z */
|
|
34, 580, /* <m_rfoot>1_1 rotate x */
|
|
34, 614, /* <m_rfoot>1_1 rotate y */
|
|
34, 648, /* <m_rfoot>1_1 rotate z */
|
|
};
|
|
AnimeRecord animMarioAscend = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
34, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_hang_up_prm,
|
|
mario_hang_up_tbl
|
|
};
|