163 lines
6.4 KiB
C
163 lines
6.4 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario taking animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
July 11, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_carry_prm[]={
|
|
0, 172, 165, 154, 139, 130, 137, 151,
|
|
165, 174, 178, 177, 171, 163, 157, 154,
|
|
-1, -7, -15, -19, -21, -21, -20, -18,
|
|
-5, 1, 7, 7, 7, 7, 7,16383,
|
|
0, -851,-2787,-4877,-6194,-6624,-6744,-6658,
|
|
-6469,-6280,-6194,-6194,-6194,-6194,-6194,-1668,
|
|
-1667,-1665,-1662,-1660,-1659,-1659,-1659,-1660,
|
|
-1660,-1660,-1660,-1660,-1660,-1660,-4724,-4870,
|
|
-5200,-5556,-5781,-5854,-5875,-5860,-5828,-5796,
|
|
-5781,-5781,-5781,-5781,-5781,-13745,-12289,-8968,
|
|
-5349,-3002,-2107,-1698,-1622,-1725,-1854,-1854,
|
|
-1790,-1797,-1833,-1854,-1251, -537, 1092, 2869,
|
|
4025, 4470, 4678, 4724, 4683, 4627, 4633, 4667,
|
|
4663, 4644, 4633,-11556,-10389,-7725,-4814,-2910,
|
|
-2157,-1782,-1670,-1701,-1759,-1726,-1659,-1667,
|
|
-1704,-1726,-11084,-13285,-18318,-23828,-27463,-28955,
|
|
-29751,-30061,-30098,-30074,-30202,-30356,-30339,-30253,
|
|
-30202, 0, 380, 1245, 2179, 2767, 2960, 3013,
|
|
2975, 2890, 2806, 2767, 2767, 2767, 2767, 2767,
|
|
0, 72, 236, 413, 525, 562, 572, 565,
|
|
548, 532, 525, 525, 525, 525, 525,-2743,
|
|
-3006,-3603,-4248,-4654,-4787,-4824,-4798,-4739,
|
|
-4681,-4654,-4654,-4654,-4654,-4654,-14371,-13423,
|
|
-11236,-8791,-7069,-6170,-5502,-5010,-4639,-4335,
|
|
-4045,-3875,-3894,-3988,-4045, 1355, 863, -265,
|
|
-1512,-2356,-2740,-2981,-3121,-3199,-3255,-3330,
|
|
-3384,-3378,-3348,-3330,11222,10253, 8041, 5631,
|
|
4070, 3478, 3211, 3166, 3241, 3331, 3335, 3294,
|
|
3299, 3322, 3335,-13066,-14811,-18810,-23204,-26139,
|
|
-27408,-28147,-28512,-28660,-28745,-28925,-29082,-29064,
|
|
-28977,-28925, 0, -177, -564, -945,-1105, -972,
|
|
-683, -328, 0, 213, 285, 277, 226, 168,
|
|
140, -208, -227, -263, -285, -259, -170, -39,
|
|
104, 236, 327, 371, 386, 382, 371, 365,
|
|
-13864,-14294,-15256,-16258,-16810,-16748,-16370,-15875,
|
|
-15460,-15325,-15598,-16147,-16779,-17300,-17516, 7754,
|
|
9083,12013,14950,16306,15523,13586,11216, 9136,
|
|
8066, 8380, 9596,11155,12500,13073, 6921, 6392,
|
|
5232, 4082, 3582, 3948, 4782, 5801, 6721, 7257,
|
|
7295, 7023, 6615, 6244, 6081, 4420, 4524, 4745,
|
|
4947, 4996, 4812, 4482, 4121, 3843, 3764, 3991,
|
|
4446, 4969, 5401, 5580,-21436,-22394,-24466,-26447,
|
|
-27132,-26066,-24013,-21595,-19436,-18159,-18037,-18654,
|
|
-19602,-20470,-20850, 0, 169, 537, 896, 1039,
|
|
898, 602, 242, -93, -314, -398, -405, -369,
|
|
-323, -300, 0, 12, 39, 66, 81, 79,
|
|
71, 57, 41, 23, 0, -30, -61, -84,
|
|
-94,-16576,-16918,-17663,-18385,-18658,-18278,-17514,
|
|
-16647,-15962,-15740,-16219,-17209,-18357,-19306,-19702,
|
|
9527,10790,13548,16251,17349,16239,13890,11116,
|
|
8730, 7545, 8039, 9669,11720,13476,14220,-10678,
|
|
-10102,-8839,-7583,-7029,-7402,-8270,-9341,-10325,
|
|
-10929,-11057,-10901,-10610,-10327,-10201,-5055,-5560,
|
|
-6660,-7734,-8164,-7714,-6772,-5655,-4679,-4158,
|
|
-4259,-4771,-5446,-6034,-6286,-19042,-19962,-21957,
|
|
-23875,-24564,-23612,-21746,-19526,-17512,-16263,-15986,
|
|
-16305,-16915,-17506,-17772,32767,32767,16753,16753,
|
|
16753,16753,16753,16722,16655,16588,16558,16601,
|
|
16753,17218,17957,18642,18943,-16545,32767,32767,
|
|
16753,16753,16753,16753,16753,16719,16646,16573,
|
|
16539,16586,16753,17262,18072,18822,19152,-16545,
|
|
-926, -501, 477, 1562, 2306, 2608, 2725, 2751,
|
|
2776, 2894, 3160, 3511, 3866, 4140, 4250, 2074,
|
|
2963, 4852, 6578, 6976, 5590, 3172, 367,-2178,
|
|
-3820,-4336,-4155,-3612,-3042,-2777,16545,16487,
|
|
16330,16098,15817,15511,15205,14924,14692,14535,
|
|
14477,14477,14477,14477,14477,
|
|
};
|
|
|
|
static short mario_carry_tbl[]={
|
|
1, 0, /* chn14_3_2translate x */
|
|
15, 1, /* chn14_3_2 translate y */
|
|
15, 16, /* chn14_3_2 translate z */
|
|
1, 0, /* chn14_3_2 rotate x */
|
|
1, 31, /* chn14_3_2 rotate y */
|
|
1, 0, /* chn14_3_2 rotate z */
|
|
1, 0, /* <m_waist>1_3 rotate x */
|
|
1, 0, /* <m_waist>1_3 rotate y */
|
|
15, 518, /* <m_waist>1_3 rotate z */
|
|
1, 0, /* <m_body>1 rotate x */
|
|
1, 0, /* <m_body>1 rotate y */
|
|
15, 503, /* <m_body>1 rotate z */
|
|
1, 0, /* <m_head>2 rotate x */
|
|
1, 0, /* <m_head>2 rotate y */
|
|
15, 488, /* <m_head>2 rotate z */
|
|
|
|
1, 470, /* chn6 rotate x */
|
|
1, 471, /* chn6 rotate y */
|
|
15, 472, /* chn6 rotate z */
|
|
15, 92, /* <m_larmA>1 rotate x */
|
|
15, 107, /* <m_larmA>1 rotate y */
|
|
15, 122, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1 rotate x */
|
|
1, 0, /* <m_larmB>1 rotate y */
|
|
15, 77, /* <m_larmB>1 rotate z */
|
|
15, 32, /* <m_lhand>1 rotate x */
|
|
15, 47, /* <m_lhand>1 rotate y */
|
|
15, 62, /* <m_lhand>1 rotate z */
|
|
|
|
1, 452, /* chn10 rotate x */
|
|
1, 453, /* chn10 rotate y */
|
|
15, 454, /* chn10 rotate z */
|
|
15, 197, /* <m_rarmA>1 rotate x */
|
|
15, 212, /* <m_rarmA>1 rotate y */
|
|
15, 227, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
15, 182, /* <m_rarmB>1 rotate z */
|
|
15, 137, /* <m_rhand>1 rotate x */
|
|
15, 152, /* <m_rhand>1 rotate y */
|
|
15, 167, /* <m_rhand>1 rotate z */
|
|
|
|
1, 0, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
1, 469, /* chn15 rotate z */
|
|
15, 407, /* <m_llegA>1 rotate x */
|
|
15, 422, /* <m_llegA>1 rotate y */
|
|
15, 437, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
15, 392, /* <m_llegB>1 rotate z */
|
|
15, 347, /* <m_ltoot>1 rotate x */
|
|
15, 362, /* <m_ltoot>1 rotate y */
|
|
15, 377, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 487, /* chn17 rotate z */
|
|
15, 302, /* <m_rlegA>1 rotate x */
|
|
15, 317, /* <m_rlegA>1 rotate y */
|
|
15, 332, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
15, 287, /* <m_rlegB>1 rotate z */
|
|
15, 242, /* <m_rfoot>1 rotate x */
|
|
15, 257, /* <m_rfoot>1 rotate y */
|
|
15, 272, /* <m_rfoot>1 rotate z */
|
|
};
|
|
AnimeRecord animMarioTaking = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
15, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_carry_prm,
|
|
mario_carry_tbl
|
|
};
|