199 lines
8.2 KiB
C
199 lines
8.2 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario hold floating animation data
|
|
|
|
Copyright 1995 Nintendo co., ltd. All rights reserved
|
|
|
|
August 23, 1995
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_swim_carry_wait_prm[]={
|
|
0, 189,16383,-1831,-1501,-10788,-5918,-3615,
|
|
-33767,-3832, 5734, 4571,-7717,-9178,31139,-3915,
|
|
26778, -34, -61, -88, -107, -109, -95, -70,
|
|
-38, 1, 46, 106, 182, 264, 337, 389,
|
|
407, 400, 388, 370, 348, 322, 293, 262,
|
|
229, 195, 161, 128, 95, 65, 37, 13,
|
|
-6, -21, -31, -34, 563, 569, 574, 579,
|
|
584, 590, 598, 604, 605, 598, 578, 548,
|
|
514, 481, 457, 446, 446, 448, 451, 456,
|
|
463, 470, 478, 487, 497, 506, 516, 525,
|
|
534, 542, 549, 555, 559, 562, 563,-14567,
|
|
-15068,-15564,-15908,-15954,-15711,-15297,-14730,-14026,
|
|
-13202,-12073,-10606,-9049,-7647,-6647,-6295,-6410,
|
|
-6638,-6965,-7377,-7860,-8402,-8988,-9606,-10241,
|
|
-10880,-11509,-12115,-12684,-13203,-13658,-14035,-14322,
|
|
-14503,-14567,17934,17845,17641,17164,16255,14882,
|
|
13204,11346, 9436, 7600, 5965, 4658, 3805, 3502,
|
|
3679, 4215, 4987, 5872, 6750, 7498, 8191, 8970,
|
|
9817,10710,11631,12559,13474,14356,15185,15942,
|
|
16606,17157,17575,17841,17934, -283, -404, -521,
|
|
-595, -585, -502, -389, -254, -105, 51, 206,
|
|
352, 481, 586, 659, 692, 693, 678, 648,
|
|
605, 552, 489, 420, 345, 267, 188, 109,
|
|
32, -40, -106, -165, -214, -251, -275, -283,
|
|
2523, 2478, 2430, 2389, 2367, 2361, 2357, 2357,
|
|
2359, 2363, 2368, 2374, 2381, 2388, 2394, 2400,
|
|
2406, 2412, 2419, 2427, 2435, 2443, 2452, 2461,
|
|
2469, 2478, 2486, 2493, 2500, 2507, 2512, 2516,
|
|
2520, 2522, 2523,-26181,-26287,-26319,-26230,-25974,
|
|
-25560,-25050,-24471,-23852,-23223,-22613,-22050,-21563,
|
|
-21182,-20934,-20850,-20899,-21026,-21222,-21477,-21782,
|
|
-22129,-22507,-22908,-23323,-23742,-24155,-24555,-24931,
|
|
-25275,-25577,-25827,-26018,-26139,-26181, 124, 131,
|
|
139, 146, 149, 150, 151, 150, 144, 132,
|
|
110, 77, 42, 8, -15, -25, -24, -21,
|
|
-16, -9, 0, 9, 19, 31, 42, 54,
|
|
66, 77, 88, 98, 107, 114, 119, 123,
|
|
124, -251, -249, -248, -246, -246, -246, -246,
|
|
-247, -249, -252, -257, -264, -272, -280, -285,
|
|
-287, -287, -286, -285, -283, -281, -279, -276,
|
|
-273, -270, -268, -265, -262, -260, -257, -255,
|
|
-253, -252, -251, -251,-12361,-12641,-12938,-13182,
|
|
-13302,-13354,-13392,-13340,-13124,-12667,-11808,-10586,
|
|
-9233,-7978,-7051,-6683,-6718,-6839,-7037,-7302,
|
|
-7623,-7990,-8393,-8823,-9268,-9719,-10165,-10597,
|
|
-11004,-11377,-11704,-11977,-12184,-12315,-12361,15303,
|
|
15549,15705,15550,14864,13629,12064,10299, 8461,
|
|
6682, 5091, 3817, 2990, 2702, 2878, 3396, 4135,
|
|
4973, 5789, 6461, 7061, 7731, 8455, 9216, 9997,
|
|
10782,11555,12299,12997,13633,14190,14652,15003,
|
|
15226,15303, -574, -631, -700, -797, -939,-1131,
|
|
-1359,-1613,-1879,-2147,-2404,-2639,-2839,-2993,
|
|
-3090,-3116,-3085,-3018,-2920,-2795,-2648,-2482,
|
|
-2301,-2111,-1915,-1718,-1523,-1335,-1159, -998,
|
|
-856, -739, -650, -594, -574,-4184,-4323,-4459,
|
|
-4549,-4548,-4469,-4360,-4227,-4078,-3922,-3767,
|
|
-3620,-3490,-3383,-3308,-3274,-3270,-3282,-3309,
|
|
-3348,-3397,-3455,-3519,-3589,-3663,-3738,-3812,
|
|
-3885,-3953,-4016,-4072,-4118,-4154,-4176,-4184,
|
|
-25697,-26140,-26562,-26794,-26666,-26218,-25627,-24932,
|
|
-24171,-23384,-22607,-21880,-21240,-20726,-20377,-20231,
|
|
-20245,-20348,-20528,-20775,-21079,-21431,-21820,-22235,
|
|
-22668,-23107,-23543,-23966,-24364,-24730,-25051,-25319,
|
|
-25522,-25652,-25697, 6603,32981,22994,-16545,57388,
|
|
31328,23115,-16545, -443, -443, -442, -441, -440,
|
|
-441, -441, -441, -441, -441, -441, -442, -442,
|
|
-442, -443, -443, -443, -443, -444, -444, -444,
|
|
-444, -444, -444, -444, -444, -444, -444, -444,
|
|
-444, -444, -444, -444, -444, -443, -19, -28,
|
|
-41, -51, -55, -52, -49, -44, -39, -33,
|
|
-27, -21, -15, -9, -3, 2, 6, 10,
|
|
13, 15, 16, 15, 14, 12, 9, 5,
|
|
2, -1, -5, -9, -12, -15, -17, -19,
|
|
-19,-2515,-2732,-3023,-3269,-3349,-3291,-3208,
|
|
-3104,-2984,-2850,-2707,-2559,-2411,-2265,-2127,
|
|
-1999,-1887,-1794,-1724,-1681,-1668,-1680,-1715,
|
|
-1768,-1836,-1915,-2001,-2091,-2182,-2268,-2347,
|
|
-2415,-2468,-2503,-2515, 401, 424, 455, 482,
|
|
496, 498, 499, 499, 498, 495, 493, 489,
|
|
485, 481, 476, 472, 467, 463, 459, 456,
|
|
452, 448, 444, 439, 435, 430, 425, 420,
|
|
416, 412, 408, 405, 403, 402, 401, -328,
|
|
-338, -351, -362, -364, -359, -352, -344, -335,
|
|
-326, -315, -305, -294, -284, -275, -266, -259,
|
|
-253, -249, -246, -246, -249, -253, -258, -265,
|
|
-273, -281, -289, -298, -306, -313, -319, -324,
|
|
-327, -328, 2607, 2747, 2940, 3087, 3088, 2967,
|
|
2816, 2640, 2445, 2236, 2019, 1800, 1584, 1377,
|
|
1184, 1011, 863, 745, 665, 626, 637, 698,
|
|
801, 939, 1104, 1288, 1485, 1687, 1886, 2075,
|
|
2247, 2393, 2507, 2580, 2607, 46, 52, 59,
|
|
65, 68, 67, 67, 65, 64, 62, 60,
|
|
58, 55, 53, 51, 49, 47, 45, 44,
|
|
43, 43, 42, 42, 42, 42, 43, 43,
|
|
44, 44, 45, 45, 46, 46, 46, 46,
|
|
309, 308, 307, 305, 305, 305, 305, 305,
|
|
306, 306, 306, 307, 307, 307, 308, 308,
|
|
309, 309, 309, 309, 309, 310, 310, 310,
|
|
310, 309, 309, 309, 309, 309, 309, 309,
|
|
309, 309, 309,17991,18175,18420,18634,18722,
|
|
18708,18679,18636,18583,18520,18451,18378,18302,
|
|
18226,18152,18082,18018,17963,17919,17887,17867,
|
|
17856,17851,17853,17860,17871,17886,17902,17920,
|
|
17937,17954,17969,17981,17989,17991
|
|
};
|
|
static short mario_swim_carry_wait_tbl[]={
|
|
1, 0, /* chn14_3translate x */
|
|
1, 1, /* chn14_3 translate y */
|
|
1, 0, /* chn14_3 translate z */
|
|
1, 0, /* chn14_3 rotate x */
|
|
1, 2, /* chn14_3 rotate y */
|
|
1, 0, /* chn14_3 rotate z */
|
|
35, 725, /* <m_waist>1_3 rotate x */
|
|
35, 760, /* <m_waist>1_3 rotate y */
|
|
35, 795, /* <m_waist>1_3 rotate z */
|
|
35, 620, /* <m_body>1 rotate x */
|
|
35, 655, /* <m_body>1 rotate y */
|
|
35, 690, /* <m_body>1 rotate z */
|
|
35, 515, /* <m_head>2 rotate x */
|
|
35, 550, /* <m_head>2 rotate y */
|
|
35, 585, /* <m_head>2 rotate z */
|
|
|
|
1, 511, /* chn6 rotate x */
|
|
1, 512, /* chn6 rotate y */
|
|
1, 513, /* chn6 rotate z */
|
|
1, 7, /* <m_larmA>1 rotate x */
|
|
1, 8, /* <m_larmA>1 rotate y */
|
|
1, 9, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1 rotate x */
|
|
1, 0, /* <m_larmB>1 rotate y */
|
|
1, 6, /* <m_larmB>1 rotate z */
|
|
1, 3, /* <m_rhand2>2 rotate x */
|
|
1, 4, /* <m_rhand2>2 rotate y */
|
|
1, 5, /* <m_rhand2>2 rotate z */
|
|
|
|
1, 507, /* chn10 rotate x */
|
|
1, 508, /* chn10 rotate y */
|
|
1, 509, /* chn10 rotate z */
|
|
1, 14, /* <m_rarmA>1 rotate x */
|
|
1, 15, /* <m_rarmA>1 rotate y */
|
|
1, 16, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1 rotate x */
|
|
1, 0, /* <m_rarmB>1 rotate y */
|
|
1, 13, /* <m_rarmB>1 rotate z */
|
|
1, 10, /* <m_rhand2>1 rotate x */
|
|
1, 11, /* <m_rhand2>1 rotate y */
|
|
1, 12, /* <m_rhand2>1 rotate z */
|
|
|
|
1, 0, /* chn15 rotate x */
|
|
1, 0, /* chn15 rotate y */
|
|
1, 510, /* chn15 rotate z */
|
|
35, 402, /* <m_llegA>1 rotate x */
|
|
35, 437, /* <m_llegA>1 rotate y */
|
|
35, 472, /* <m_llegA>1 rotate z */
|
|
1, 0, /* <m_llegB>1 rotate x */
|
|
1, 0, /* <m_llegB>1 rotate y */
|
|
35, 367, /* <m_llegB>1 rotate z */
|
|
35, 262, /* <m_ltoot>1 rotate x */
|
|
35, 297, /* <m_ltoot>1 rotate y */
|
|
35, 332, /* <m_ltoot>1 rotate z */
|
|
|
|
1, 0, /* chn17 rotate x */
|
|
1, 0, /* chn17 rotate y */
|
|
1, 514, /* chn17 rotate z */
|
|
35, 157, /* <m_rlegA>1 rotate x */
|
|
35, 192, /* <m_rlegA>1 rotate y */
|
|
35, 227, /* <m_rlegA>1 rotate z */
|
|
1, 0, /* <m_rlegB>1 rotate x */
|
|
1, 0, /* <m_rlegB>1 rotate y */
|
|
35, 122, /* <m_rlegB>1 rotate z */
|
|
35, 17, /* <m_rfoot>1 rotate x */
|
|
35, 52, /* <m_rfoot>1 rotate y */
|
|
35, 87, /* <m_rfoot>1 rotate z */
|
|
};
|
|
AnimeRecord animMarioFloatHold = {
|
|
MAP_ANIM_NORMAL, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
35,
|
|
20,
|
|
mario_swim_carry_wait_prm,
|
|
mario_swim_carry_wait_tbl
|
|
};
|