327 lines
15 KiB
C
327 lines
15 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario roof hanging animation data
|
|
|
|
Copyright 1996 Nintendo co., ltd. All rights reserved
|
|
|
|
January 10, 1996
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_hang_on_prm[]={
|
|
0, 27, 26, 23, 19, 14, 9, 4,
|
|
0, -3, -3, 0, 2, 5, 8, 11,
|
|
15, 18, 21, 24, 27, 29, 31, 34,
|
|
35, 36, 34, 32, 29, 27, 26, 27,
|
|
29, 31, 34, 35, 36, 35, 33, 31,
|
|
29, 27, 24, 23, 22, 21, 22, 22,
|
|
23, 23, 24, 25, 26, 26, 26, 189,
|
|
190, 196, 206, 218, 231, 243, 253, 261,
|
|
259, 251, 243, 234, 225, 217, 209, 201,
|
|
195, 191, 191, 193, 197, 200, 202, 201,
|
|
200, 199, 197, 195, 194, 194, 194, 194,
|
|
195, 195, 195, 195, 195, 195, 195, 194,
|
|
194, 194, 193, 193, 192, 192, 191, 191,
|
|
190, 189, 189, 189, 189, 0, 8, 17,
|
|
40, 67, 94, 114, 116, 109, 104, 96,
|
|
89, 81, 69, 53, 31, 4, -25, -55,
|
|
-86, -114, -138, -157, -169, -168, -154, -132,
|
|
-106, -82, -63, -48, -33, -19, -8, -1,
|
|
0, -5, -17, -32, -49, -65, -80, -90,
|
|
-94, -91, -84, -73, -60, -46, -32, -20,
|
|
-9, -2, 0,16383, -118,-1664,-3985,-1981,
|
|
-1964,-1921,-1863,-1802,-1749,-1715,-1712,-1752,
|
|
-1844,-2002,-2236,-2585,-3069,-3672,-4378,-5170,
|
|
-6032,-6949,-8597,-10658,-11617,-11435,-11098,-10636,
|
|
-10077,-9449,-8780,-8099,-7435,-6816,-6270,-5826,
|
|
-5513,-5286,-5082,-4900,-4739,-4598,-4475,-4369,
|
|
-4278,-4202,-4140,-4089,-4049,-4019,-3996,-3981,
|
|
-3971,-3966,-3963,-3963,-3963,-12608,-12677,-12869,
|
|
-13157,-13516,-13920,-14345,-14765,-15155,-15488,-15740,
|
|
-15918,-16053,-16149,-16212,-16249,-16264,-16265,-16256,
|
|
-16262,-16297,-16352,-16421,-16496,-16568,-16630,-16675,
|
|
-16694,-16681,-16626,-16524,-16365,-16142,-15848,-15474,
|
|
-14991,-14383,-13668,-12864,-11987,-11054,-10083,-9091,
|
|
-8096,-7113,-6161,-5257,-4417,-3660,-3001,-2460,
|
|
-2051,-1794,-1704,-4368,-4580,-5166,-6057,-7179,
|
|
-8461,-9831,-11218,-12550,-13754,-14760,-15695,-16691,
|
|
-17683,-18603,-19386,-19966,-20277,-20253,-19958,-19515,
|
|
-18945,-18269,-17509,-16685,-15820,-14933,-14047,-13182,
|
|
-12359,-11601,-10927,-10359,-9919,-9627,-9465,-9392,
|
|
-9398,-9476,-9616,-9807,-10043,-10312,-10606,-10916,
|
|
-11232,-11546,-11847,-12128,-12378,-12589,-12750,-12854,
|
|
-12891, 2393, 2472, 2690, 3019, 3427, 3888, 4370,
|
|
4846, 5286, 5660, 5939, 6133, 6273, 6368, 6423,
|
|
6447, 6446, 6427, 6397, 6383, 6400, 6441, 6495,
|
|
6555, 6612, 6659, 6685, 6683, 6644, 6560, 6422,
|
|
6221, 5950, 5599, 5160, 4598, 3896, 3073, 2149,
|
|
1143, 75,-1034,-2168,-3305,-4427,-5513,-6545,
|
|
-7502,-8366,-9116,-9733,-10199,-10492,-10594, 3927,
|
|
535,-2065,-1773,-1723,-1588,-1393,-1158, -908,
|
|
-665, -452, -292, -208, -170, -134, -99, -65,
|
|
-33, -2, 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, 0, 0, 0,
|
|
0, -124, -387, -732,-1101,-1436,-1679,-1773,
|
|
3512, 3338, 2888, 2274, 1606, 994, 551, 385,
|
|
438, 567, 761, 1007, 1294, 1610, 1943, 2281,
|
|
2613, 2926, 3210, 3451, 3638, 3759, 3803, 3757,
|
|
3560, 3184, 2665, 2041, 1350, 627, -87, -759,
|
|
-1349,-1820,-2136,-2258,-2057,-1497, -684, 276,
|
|
1279, 2219, 2990, 3487, 3749, 3902, 3963, 3954,
|
|
3892, 3798, 3691, 3590, 3516, 3487, 6744, 6786,
|
|
6894, 7041, 7201, 7345, 7446, 7477, 7455, 7417,
|
|
7363, 7298, 7223, 7140, 7053, 6963, 6874, 6787,
|
|
6705, 6631, 6566, 6514, 6477, 6456, 6461, 6491,
|
|
6543, 6611, 6692, 6779, 6868, 6955, 7034, 7101,
|
|
7150, 7178, 7174, 7137, 7078, 7005, 6928, 6854,
|
|
6794, 6756, 6737, 6725, 6721, 6722, 6726, 6733,
|
|
6741, 6748, 6754, 6756,23614,23340,22633,21667,
|
|
20618,19659,18965,18709,18798,19007,19318,19713,
|
|
20172,20677,21209,21750,22279,22780,23233,23619,
|
|
23919,24116,24189,24121,23814,23224,22410,21429,
|
|
20341,19204,18077,17018,16086,15340,14838,14639,
|
|
14945,15811,17071,18562,20120,21579,22777,23548,
|
|
23955,24191,24287,24272,24176,24031,23865,23709,
|
|
23593,23548, -104, -99, -86, -66, -44, -21,
|
|
0, 17, 27, 33, 36, 39, 40, 40,
|
|
39, 38, 36, 34, 32, 30, 29, 28,
|
|
27, 27, 27, 27, 27, 27, 27, 27,
|
|
27, 27, 27, 27, 27, 27, 27, 27,
|
|
27, 27, 27, 27, 27, 27, 27, 27,
|
|
27, 27, 27, 27, 27, 27, 27, 27,
|
|
595, 595, 596, 597, 599, 600, 602, 603,
|
|
603, 604, 604, 604, 604, 604, 604, 604,
|
|
604, 604, 604, 604, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603,-15829,-15742,
|
|
-15509,-15175,-14784,-14380,-14007,-13710,-13531,-13441,
|
|
-13377,-13337,-13318,-13315,-13326,-13348,-13377,-13411,
|
|
-13446,-13478,-13505,-13524,-13531,-13531,-13531,-13531,
|
|
-13531,-13531,-13531,-13531,-13531,-13531,-13531,-13531,
|
|
-13531,-13531,-13531,-13531,-13531,-13531,-13531,-13531,
|
|
-13531,-13531,-13531,-13531,-13531,-13531,-13531,-13531,
|
|
-13531,-13531,-13531,-13531,15785,15334,14142,12451,
|
|
10502, 8534, 6791, 5512, 4939, 4923, 5131, 5530,
|
|
6085, 6762, 7527, 8346, 9184,10008,10782,11474,
|
|
12048,12472,12709,12687,12395,11899,11263,10551,
|
|
9826, 9154, 8599, 8224, 8095, 8274, 8818, 9693,
|
|
10828,12156,13606,15111,16600,18005,19256,20285,
|
|
20682,20484,20285,20283,20280,20277,20274,20272,
|
|
20270,20270, 3739, 3747, 3768, 3795, 3825, 3851,
|
|
3868, 3870, 3853, 3819, 3774, 3721, 3662, 3598,
|
|
3531, 3463, 3396, 3331, 3270, 3216, 3170, 3133,
|
|
3109, 3098, 3099, 3113, 3135, 3165, 3200, 3239,
|
|
3280, 3321, 3360, 3394, 3429, 3466, 3506, 3548,
|
|
3591, 3633, 3674, 3714, 3751, 3784, 3800, 3799,
|
|
3800, 3811, 3825, 3840, 3854, 3867, 3875, 3878,
|
|
-1052, -981, -795, -535, -241, 44, 281, 431,
|
|
450, 363, 223, 40, -176, -419, -680, -949,
|
|
-1218,-1478,-1721,-1937,-2119,-2257,-2343,-2364,
|
|
-2321,-2226,-2090,-1924,-1741,-1553,-1370,-1205,
|
|
-1069, -975, -916, -878, -857, -849, -851, -858,
|
|
-867, -874, -876, -868, -861, -848, -793, -686,
|
|
-548, -397, -250, -124, -36, -3,-16918,-17104,
|
|
-17592,-18273,-19040,-19785,-20401,-20780,-20815,-20564,
|
|
-20174,-19667,-19067,-18398,-17682,-16944,-16207,-15494,
|
|
-14828,-14234,-13734,-13352,-13112,-13046,-13153,-13400,
|
|
-13759,-14196,-14683,-15187,-15678,-16126,-16499,-16767,
|
|
-16945,-17075,-17165,-17225,-17263,-17286,-17304,-17324,
|
|
-17356,-17408,-17438,-17468,-17604,-17882,-18238,-18628,
|
|
-19008,-19334,-19562,-19648, 100, 103, 112, 124,
|
|
138, 152, 164, 172, 175, 174, 170, 165,
|
|
158, 150, 142, 133, 124, 115, 107, 101,
|
|
95, 91, 90, 91, 96, 103, 113, 123,
|
|
134, 144, 152, 159, 162, 161, 155, 144,
|
|
129, 111, 92, 73, 56, 42, 33, 29,
|
|
29, 29, 29, 29, 29, 29, 29, 29,
|
|
29, 29, -271, -269, -265, -258, -250, -243,
|
|
-236, -231, -229, -229, -231, -232, -235, -238,
|
|
-242, -245, -249, -253, -256, -259, -261, -263,
|
|
-263, -263, -261, -257, -254, -249, -245, -241,
|
|
-237, -234, -233, -233, -236, -240, -247, -254,
|
|
-262, -269, -276, -282, -286, -287, -287, -287,
|
|
-287, -287, -287, -287, -287, -287, -287, -287,
|
|
-11263,-11399,-11757,-12261,-12839,-13416,-13917,-14267,
|
|
-14393,-14336,-14195,-13984,-13718,-13409,-13072,-12721,
|
|
-12369,-12031,-11719,-11448,-11233,-11085,-11020,-11081,
|
|
-11279,-11584,-11961,-12378,-12804,-13205,-13549,-13803,
|
|
-13934,-13912,-13674,-13223,-12613,-11901,-11144,-10399,
|
|
-9720,-9166,-8792,-8655,-8655,-8655,-8655,-8655,
|
|
-8655,-8655,-8655,-8655,-8655,-8655, 7613, 7401,
|
|
6842, 6055, 5157, 4267, 3501, 2979, 2818, 2963,
|
|
3264, 3693, 4222, 4823, 5468, 6130, 6781, 7393,
|
|
7939, 8390, 8719, 8898, 8899, 8637, 8085, 7307,
|
|
6364, 5319, 4235, 3172, 2195, 1365, 745, 396,
|
|
365, 611, 1070, 1678, 2369, 3079, 3744, 4299,
|
|
4679, 4820, 4821, 4821, 4820, 4817, 4813, 4809,
|
|
4805, 4801, 4798, 4797, -872, -778, -531, -182,
|
|
219, 622, 975, 1228, 1331, 1315, 1253, 1151,
|
|
1016, 855, 674, 481, 282, 84, -104, -279,
|
|
-432, -556, -645, -694, -706, -689, -650, -598,
|
|
-538, -479, -427, -391, -377, -393, -440, -511,
|
|
-601, -705, -818, -935,-1051,-1161,-1260,-1343,
|
|
-1391,-1389,-1343,-1257,-1143,-1015, -889, -781,
|
|
-704, -676,-3148,-3142,-3125,-3101,-3072,-3044,
|
|
-3018,-2998,-2987,-2984,-2982,-2982,-2983,-2986,
|
|
-2990,-2995,-3000,-3007,-3014,-3022,-3030,-3039,
|
|
-3047,-3058,-3072,-3089,-3108,-3128,-3147,-3164,
|
|
-3179,-3190,-3196,-3197,-3190,-3176,-3156,-3132,
|
|
-3106,-3078,-3051,-3024,-3001,-2982,-2970,-2969,
|
|
-2982,-3009,-3046,-3086,-3126,-3161,-3185,-3195,
|
|
-12533,-12844,-13664,-14825,-16159,-17496,-18669,-19508,
|
|
-19846,-19791,-19580,-19236,-18781,-18239,-17633,-16985,
|
|
-16318,-15656,-15020,-14435,-13922,-13505,-13206,-13044,
|
|
-13003,-13060,-13189,-13366,-13567,-13766,-13940,-14063,
|
|
-14111,-14059,-13904,-13669,-13370,-13025,-12650,-12261,
|
|
-11876,-11511,-11182,-10907,-10749,-10752,-10907,-11201,
|
|
-11592,-12028,-12457,-12828,-13089,-13187,-32767,-32767,
|
|
16753,-16545,-32767,-32767,16753,-16545, 1197, 1222,
|
|
1278, 1341, 1387, 1391, 1329, 1175, 942, 663,
|
|
346, 1, -365, -745,-1129,-1509,-1877,-2225,
|
|
-2543,-2825,-3061,-3243,-3363,-3386,-3295,-3112,
|
|
-2856,-2550,-2214,-1868,-1534,-1232, -983, -762,
|
|
-534, -302, -70, 157, 377, 585, 778, 950,
|
|
1100, 1221, 1307, 1357, 1378, 1374, 1354, 1323,
|
|
1288, 1255, 1231, 1221, 236, 203, 119, 5,
|
|
-118, -229, -307, -330, -311, -277, -231, -174,
|
|
-109, -38, 35, 110, 184, 255, 319, 376,
|
|
422, 456, 475, 470, 439, 388, 322, 247,
|
|
168, 91, 22, -33, -71, -93, -107, -115,
|
|
-117, -115, -111, -104, -97, -91, -86, -85,
|
|
-86, -86, -86, -86, -86, -86, -86, -85,
|
|
-85, -85, 2569, 2851, 3574, 4558, 5619, 6574,
|
|
7242, 7439, 7266, 6959, 6540, 6029, 5448, 4817,
|
|
4158, 3491, 2839, 2221, 1659, 1175, 788, 521,
|
|
395, 497, 863, 1433, 2149, 2952, 3783, 4583,
|
|
5292, 5853, 6205, 6377, 6444, 6424, 6336, 6197,
|
|
6024, 5834, 5647, 5478, 5345, 5267, 5231, 5209,
|
|
5201, 5202, 5211, 5224, 5239, 5253, 5263, 5267,
|
|
-1372,-1292,-1074, -758, -380, 20, 408, 746,
|
|
994, 1117, 1100, 972, 762, 497, 203, -90,
|
|
-358, -571, -781,-1013,-1201,-1280,-1182, -903,
|
|
-507, -32, 483, 1002, 1484, 1893, 2189, 2334,
|
|
2305, 2129, 1842, 1481, 1082, 683, 319, 28,
|
|
-153, -252, -321, -364, -385, -387, -375, -352,
|
|
-322, -289, -256, -228, -209, -201,-3156,-3126,
|
|
-3044,-2926,-2784,-2632,-2485,-2356,-2259,-2208,
|
|
-2208,-2249,-2319,-2409,-2509,-2607,-2693,-2758,
|
|
-2809,-2854,-2884,-2889,-2857,-2788,-2693,-2580,
|
|
-2458,-2335,-2221,-2124,-2053,-2015,-2018,-2054,
|
|
-2115,-2194,-2281,-2368,-2447,-2509,-2545,-2562,
|
|
-2572,-2574,-2571,-2564,-2554,-2541,-2527,-2513,
|
|
-2501,-2490,-2483,-2481,-2360,-2138,-1541, -671,
|
|
368, 1475, 2545, 3477, 4168, 4514, 4467, 4103,
|
|
3508, 2765, 1959, 1175, 498, 11, -303, -506,
|
|
-573, -479, -201, 282, 938, 1704, 2523, 3335,
|
|
4079, 4696, 5128, 5314, 5204, 4835, 4271, 3582,
|
|
2832, 2090, 1422, 894, 575, 419, 330, 299,
|
|
316, 372, 457, 561, 676, 791, 898, 985,
|
|
1045, 1067, 1677, 1662, 1619, 1554, 1471, 1375,
|
|
1271, 1164, 1059, 960, 850, 714, 558, 392,
|
|
221, 53, -102, -240, -352, -431, -469, -459,
|
|
-392, -208, 122, 559, 1061, 1586, 2092, 2538,
|
|
2882, 3082, 3132, 3068, 2916, 2705, 2460, 2209,
|
|
1978, 1794, 1684, 1630, 1593, 1572, 1563, 1564,
|
|
1574, 1590, 1609, 1630, 1651, 1668, 1680, 1684,
|
|
-3138,-3186,-3316,-3504,-3726,-3961,-4184,-4372,
|
|
-4503,-4552,-4538,-4495,-4427,-4337,-4230,-4109,
|
|
-3977,-3838,-3695,-3552,-3412,-3279,-3157,-3026,
|
|
-2872,-2704,-2534,-2372,-2227,-2111,-2034,-2005,
|
|
-2039,-2131,-2267,-2431,-2608,-2783,-2942,-3069,
|
|
-3150,-3194,-3224,-3242,-3249,-3248,-3240,-3227,
|
|
-3211,-3194,-3177,-3163,-3153,-3150,13870,13545,
|
|
12675,11420, 9940, 8394, 6941, 5742, 4956, 4743,
|
|
5036, 5631, 6472, 7507, 8681, 9940,11232,12501,
|
|
13694,14758,15639,16283,16636,16537,15946,14992,
|
|
13806,12517,11254,10146, 9323, 8915, 8950, 9312,
|
|
9916,10676,11505,12317,13027,13547,13793,13808,
|
|
13707,13511,13239,12911,12547,12167,11791,11438,
|
|
11129,10884,10722,10664
|
|
};
|
|
static short mario_hang_on_tbl[]={
|
|
54, 1, /* chn14translate x */
|
|
54, 55, /* chn14 translate y */
|
|
54, 109, /* chn14 translate z */
|
|
1, 0, /* chn14 rotate x */
|
|
1, 163, /* chn14 rotate y */
|
|
1, 0, /* chn14 rotate z */
|
|
54, 1690, /* <m_waist>1 rotate x */
|
|
54, 1744, /* <m_waist>1 rotate y */
|
|
54, 1798, /* <m_waist>1 rotate z */
|
|
54, 1528, /* <m_body>1 rotate x */
|
|
54, 1582, /* <m_body>1 rotate y */
|
|
54, 1636, /* <m_body>1 rotate z */
|
|
54, 1366, /* <m_head>1 rotate x */
|
|
54, 1420, /* <m_head>1 rotate y */
|
|
54, 1474, /* <m_head>1 rotate z */
|
|
|
|
1, 1362, /* chn6 rotate x */
|
|
1, 1363, /* chn6 rotate y */
|
|
1, 1364, /* chn6 rotate z */
|
|
54, 221, /* <m_larmA>1 rotate x */
|
|
54, 275, /* <m_larmA>1 rotate y */
|
|
54, 329, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1_1 rotate x */
|
|
1, 0, /* <m_larmB>1_1 rotate y */
|
|
54, 167, /* <m_larmB>1_1 rotate z */
|
|
1, 164, /* <m_lhand>1_1 rotate x */
|
|
1, 165, /* <m_lhand>1_1 rotate y */
|
|
1, 166, /* <m_lhand>1_1 rotate z */
|
|
|
|
1, 1358, /* chn10 rotate x */
|
|
1, 1359, /* chn10 rotate y */
|
|
1, 1360, /* chn10 rotate z */
|
|
54, 440, /* <m_rarmA>1 rotate x */
|
|
54, 494, /* <m_rarmA>1 rotate y */
|
|
54, 548, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
54, 386, /* <m_rarmB>1 rotate z */
|
|
1, 383, /* <m_rhand>1_1 rotate x */
|
|
1, 384, /* <m_rhand>1_1 rotate y */
|
|
1, 385, /* <m_rhand>1_1 rotate z */
|
|
|
|
1, 0, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
1, 1361, /* chn15 rotate z */
|
|
54, 1196, /* <m_llegA>1 rotate x */
|
|
54, 1250, /* <m_llegA>1 rotate y */
|
|
54, 1304, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
54, 1142, /* <m_llegB>1 rotate z */
|
|
54, 980, /* <m_ltoot>1 rotate x */
|
|
54, 1034, /* <m_ltoot>1 rotate y */
|
|
54, 1088, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 1365, /* chn17 rotate z */
|
|
54, 818, /* <m_rlegA>1 rotate x */
|
|
54, 872, /* <m_rlegA>1 rotate y */
|
|
54, 926, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
54, 764, /* <m_rlegB>1 rotate z */
|
|
54, 602, /* <m_rtoot>1 rotate x */
|
|
54, 656, /* <m_rtoot>1 rotate y */
|
|
54, 710, /* <m_rtoot>1 rotate z */
|
|
};
|
|
AnimeRecord animMarioHangRoof = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
54, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_hang_on_prm,
|
|
mario_hang_on_tbl
|
|
};
|