183 lines
7.4 KiB
C
183 lines
7.4 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario walk right on log bridge animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
July 11, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short bridge_walk_r_prm[]={
|
|
0, 0, 0, 1, 3, 5, 6, 8,
|
|
10, 11, 12, 11, 11, 10, 8, 7,
|
|
5, 4, 2, 1, 0, 172, 172, 173,
|
|
174, 175, 176, 177, 177, 178, 178, 177,
|
|
177, 176, 175, 174, 172, 171, 170, 169,
|
|
168,16383,-12152,-4318, 479,-4566,-4627,-4790,
|
|
-5026,-5306,-5600,-5880,-6116,-6279,-6339,-6306,
|
|
-6212,-6068,-5885,-5674,-5446,-5210,-4978,-4760,
|
|
-4566,-16376,-16316,-16156,-15924,-15650,-15362,-15091,
|
|
-14864,-14711,-14661,-14706,-14813,-14971,-15169,-15396,
|
|
-15641,-15893,-16142,-16376,-16585,-11774,-11836,-12004,
|
|
-12250,-12546,-12867,-13183,-13467,-13693,-13832,-13895,
|
|
-13915,-13899,-13855,-13790,-13713,-13630,-13550,-13481,
|
|
-13429, 2924, 2846, 2635, 2331, 1972, 1596, 1241,
|
|
947, 750, 690, 758, 908, 1125, 1396, 1706,
|
|
2041, 2384, 2723, 3043, 3329, 7738, 2408, 383,
|
|
-2897,-2909,-2946,-3007,-3094,-3207,-3348,-3517,
|
|
-3714,-3940,-4203,-4505,-4838,-5196,-5572,-5960,
|
|
-6352,-6741,-7122,-7487,14936,15048,15362,15841,
|
|
16451,17156,17921,18711,19490,20223,20874,21409,
|
|
21792,21962,21919,21721,21427,21095,20781,20545,
|
|
15456,15409,15280,15081,14828,14534,14215,13883,
|
|
13554,13242,12961,12725,12548,12453,12434,12472,
|
|
12545,12632,12712,12764, 817, 968, 1390, 2035,
|
|
2854, 3801, 4826, 5882, 6921, 7895, 8756, 9456,
|
|
9948,10142,10035, 9711, 9250, 8735, 8246, 7867,
|
|
4375, 4170, 3615, 2801, 1821, 764, -276,-1210,
|
|
-1946,-2393,-2526,-2414,-2110,-1662,-1123, -542,
|
|
28, 842, 1973, 3104, 8729, 8505, 7896, 7001,
|
|
5917, 4744, 3578, 2518, 1662, 1108, 866, 853,
|
|
1029, 1352, 1783, 2278, 2799, 3678, 4989, 6299,
|
|
-16375,-16068,-15248,-14062,-12660,-11190,-9801,-8642,
|
|
-7862,-7609,-8138,-9420,-11175,-13124,-14987,-16485,
|
|
-17338,-16542,-14266,-11990, 3060, 3712, 4967, 5773,
|
|
5832, 5638, 5332, 5055, 4946, 5146, 5765, 6715,
|
|
7841, 8988, 9999,10720,10995, 9912, 7529, 5146,
|
|
-112, -69, 48, 231, 466, 741, 1044, 1364,
|
|
1687, 2002, 2409, 2959, 3564, 4137, 4592, 4841,
|
|
4797, 3776, 1792, -191,-2213,-1981,-1355, -442,
|
|
651, 1822, 2962, 3967, 4730, 5145, 5159, 4841,
|
|
4271, 3530, 2699, 1858, 1088, 213, -861,-1936,
|
|
-13725,-13929,-14489,-15324,-16354,-17499,-18678,-19810,
|
|
-20817,-21616,-22269,-22875,-23412,-23858,-24192,-24392,
|
|
-24436,-23821,-22515,-21210,-1473,-1575,-1848,-2246,
|
|
-2720,-3223,-3708,-4127,-4433,-4577,-4575,-4482,
|
|
-4314,-4088,-3819,-3523,-3216,-2915,-2635,-2392,
|
|
-5211,-5232,-5284,-5352,-5419,-5471,-5493,-5468,
|
|
-5381,-5217,-4973,-4666,-4306,-3905,-3474,-3024,
|
|
-2566,-2112,-1674,-1261,-12044,-12161,-12479,-12953,
|
|
-13534,-14176,-14830,-15451,-15991,-16402,-16707,-16965,
|
|
-17185,-17375,-17542,-17696,-17844,-17995,-18157,-18338,
|
|
5355, 5421, 5598, 5848, 6137, 6429, 6689, 6881,
|
|
6970, 6919, 6735, 6458, 6103, 5688, 5229, 4743,
|
|
4245, 3753, 3283, 2851,-3984,-3916,-3736,-3479,
|
|
-3179,-2871,-2588,-2367,-2241,-2245,-2372,-2583,
|
|
-2863,-3197,-3570,-3968,-4376,-4779,-5162,-5511,
|
|
1155, 1077, 867, 566, 212, -153, -492, -765,
|
|
-932, -953, -838, -631, -349, -8, 376, 787,
|
|
1209, 1625, 2020, 2378,-22216,-22095,-21762,-21262,
|
|
-20638,-19935,-19199,-18472,-17801,-17229,-16729,-16243,
|
|
-15770,-15305,-14847,-14393,-13941,-13489,-13032,-12570,
|
|
32767,32767,16753, 0, 3, 13, 25, 37,
|
|
47, 51, 46, 30, 0, -45, -101, -168,
|
|
-242, -321, -404, -489, -573, -654, -730,-16545,
|
|
32767,32767,16753,-16545, 39, 73, 163, 293,
|
|
448, 613, 770, 906, 1003, 1047, 1042, 1006,
|
|
944, 863, 767, 663, 554, 448, 348, 262,
|
|
981, 1040, 1195, 1413, 1661, 1906, 2115, 2256,
|
|
2295, 2201, 1975, 1654, 1256, 797, 294, -237,
|
|
-779,-1316,-1831,-2306, 1071, 1175, 1455, 1858,
|
|
2336, 2836, 3309, 3703, 3968, 4052, 3970, 3780,
|
|
3500, 3151, 2751, 2319, 1874, 1436, 1023, 655,
|
|
2920, 2850, 2657, 2367, 2005, 1596, 1166, 740,
|
|
344, 3, -298, -593, -884,-1171,-1456,-1738,
|
|
-2020,-2303,-2586,-2872,-2294,-2303,-2321,-2338,
|
|
-2341,-2321,-2265,-2163,-2002,-1773,-1469,-1100,
|
|
-679, -216, 276, 788, 1308, 1824, 2324, 2799,
|
|
4683, 4642, 4533, 4376, 4191, 3997, 3815, 3664,
|
|
3564, 3536, 3573, 3654, 3770, 3914, 4078, 4255,
|
|
4437, 4617, 4786, 4938,-4276,-4171,-3884,-3452,
|
|
-2914,-2309,-1676,-1054, -481, 3, 423, 829,
|
|
1222, 1607, 1984, 2357, 2729, 3101, 3477, 3859,
|
|
0, -93, -342, -703,-1130,-1580,-2008,-2369,
|
|
-2618,-2711,-2660,-2516,-2296,-2017,-1694,-1345,
|
|
-984, -629, -295, 0,16545,16545,16545,16545,
|
|
16545,16545,16545,16545,16545,16545,16545,16545,
|
|
16545,16545,16545,16545,16545,16545,16545,16545,
|
|
};
|
|
static short bridge_walk_r_tbl[]={
|
|
20, 1, /* chn14translate x */
|
|
20, 21, /* chn14 translate y */
|
|
1, 0, /* chn14 translate z */
|
|
1, 0, /* chn14 rotate x */
|
|
1, 41, /* chn14 rotate y */
|
|
1, 0, /* chn14 rotate z */
|
|
20, 636, /* <m_waist>1_3 rotate x */
|
|
20, 656, /* <m_waist>1_3 rotate y */
|
|
20, 676, /* <m_waist>1_3 rotate z */
|
|
20, 576, /* <m_body>1 rotate x */
|
|
20, 596, /* <m_body>1 rotate y */
|
|
20, 616, /* <m_body>1 rotate z */
|
|
20, 516, /* <m_head>2 rotate x */
|
|
20, 536, /* <m_head>2 rotate y */
|
|
20, 556, /* <m_head>2 rotate z */
|
|
|
|
1, 512, /* chn6 rotate x */
|
|
1, 513, /* chn6 rotate y */
|
|
1, 514, /* chn6 rotate z */
|
|
20, 65, /* <m_larmA>1 rotate x */
|
|
20, 85, /* <m_larmA>1 rotate y */
|
|
20, 105, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1 rotate x */
|
|
1, 0, /* <m_larmB>1 rotate y */
|
|
20, 45, /* <m_larmB>1 rotate z */
|
|
1, 42, /* <m_lhand>1 rotate x */
|
|
1, 43, /* <m_lhand>1 rotate y */
|
|
1, 44, /* <m_lhand>1 rotate z */
|
|
|
|
1, 488, /* chn10 rotate x */
|
|
1, 489, /* chn10 rotate y */
|
|
1, 490, /* chn10 rotate z */
|
|
20, 148, /* <m_rarmA>1 rotate x */
|
|
20, 168, /* <m_rarmA>1 rotate y */
|
|
20, 188, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
20, 128, /* <m_rarmB>1 rotate z */
|
|
1, 125, /* <m_rhand>1 rotate x */
|
|
1, 126, /* <m_rhand>1 rotate y */
|
|
1, 127, /* <m_rhand>1 rotate z */
|
|
|
|
20, 491, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
1, 511, /* chn15 rotate z */
|
|
20, 428, /* <m_llegA>1 rotate x */
|
|
20, 448, /* <m_llegA>1 rotate y */
|
|
20, 468, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
20, 408, /* <m_llegB>1 rotate z */
|
|
20, 348, /* <m_ltoot>1 rotate x */
|
|
20, 368, /* <m_ltoot>1 rotate y */
|
|
20, 388, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 515, /* chn17 rotate z */
|
|
20, 288, /* <m_rlegA>1 rotate x */
|
|
20, 308, /* <m_rlegA>1 rotate y */
|
|
20, 328, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
20, 268, /* <m_rlegB>1 rotate z */
|
|
20, 208, /* <m_rfoot>1 rotate x */
|
|
20, 228, /* <m_rfoot>1 rotate y */
|
|
20, 248, /* <m_rfoot>1 rotate z */
|
|
};
|
|
|
|
AnimeRecord animMarioLogWalkR = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
20, /* number of frames */
|
|
20, /* number of joints */
|
|
bridge_walk_r_prm,
|
|
bridge_walk_r_tbl
|
|
};
|