sm64/data/Anime/shoulder.c
2022-12-04 22:27:02 -05:00

165 lines
6.7 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario shoulder animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
December 26, 1995
********************************************************************************/
#include "../headers.h"
static short mario_h_carry_wait_prm[]={
0, -20, 163, 163, 162, 162, 161, 160,
159, 158, 157, 156, 155, 153, 152, 151,
150, 149, 149, 148, 148, 148, 148, 148,
148, 149, 150, 151, 152, 153, 154, 155,
156, 157, 159, 160, 160, 161, 162, 162,
163, 163, 57, 57, 56, 56, 56, 55,
55, 54, 54, 53, 53, 52, 52, 51,
51, 50, 50, 50, 50, 49, 50, 50,
50, 50, 51, 51, 51, 52, 53, 53,
54, 54, 55, 55, 56, 56, 56, 56,
57, 57,16383,-6194,-1660,-5781,-5088, 6121,
-13646,30243, 2767, 525,-4654,-3940,-4604, 4907,
28983, 1937, 1937, 1935, 1934, 1931, 1928, 1925,
1921, 1917, 1913, 1909, 1904, 1901, 1897, 1893,
1890, 1888, 1886, 1885, 1884, 1885, 1886, 1887,
1890, 1893, 1896, 1899, 1903, 1907, 1911, 1915,
1918, 1922, 1926, 1929, 1932, 1934, 1936, 1937,
1937, -25, -21, -10, 6, 29, 56, 87,
121, 157, 194, 232, 269, 305, 339, 370,
397, 420, 437, 448, 452, 448, 439, 423,
402, 377, 349, 317, 284, 249, 213, 177,
142, 109, 77, 49, 24, 3, -11, -21,
-25,-21929,-21950,-22008,-22101,-22222,-22368,-22535,
-22717,-22910,-23110,-23312,-23512,-23706,-23888,-24054,
-24200,-24322,-24414,-24473,-24493,-24475,-24421,-24337,
-24227,-24093,-23939,-23771,-23591,-23403,-23211,-23019,
-22832,-22652,-22483,-22330,-22196,-22085,-22001,-21948,
-21929, 9840, 9878, 9988,10161,10388,10661,10973,
11313,11675,12049,12428,12802,13164,13504,13815,
14089,14316,14489,14599,14637,14603,14503,14346,
14138,13888,13601,13286,12949,12597,12238,11880,
11528,11191,10876,10589,10339,10131, 9974, 9874,
9840, 2003, 1998, 1984, 1962, 1933, 1898, 1858,
1815, 1769, 1721, 1672, 1625, 1578, 1535, 1495,
1460, 1431, 1409, 1395, 1390, 1395, 1407, 1427,
1454, 1486, 1523, 1563, 1606, 1651, 1697, 1742,
1787, 1830, 1871, 1907, 1939, 1966, 1986, 1999,
2003, 2558, 2561, 2570, 2583, 2601, 2622, 2647,
2673, 2701, 2730, 2760, 2789, 2817, 2844, 2868,
2889, 2907, 2920, 2929, 2932, 2929, 2921, 2909,
2893, 2873, 2851, 2827, 2800, 2773, 2745, 2717,
2690, 2664, 2639, 2617, 2597, 2581, 2569, 2561,
2558,-18228,-18247,-18300,-18385,-18496,-18630,-18782,
-18948,-19125,-19308,-19493,-19676,-19853,-20019,-20171,
-20305,-20416,-20501,-20554,-20573,-20556,-20507,-20431,
-20329,-20207,-20066,-19912,-19748,-19576,-19400,-19225,
-19053,-18889,-18734,-18594,-18472,-18370,-18293,-18245,
-18228, 25, 321,-14302, 9109, 9127, 9177, 9256,
9360, 9485, 9627, 9782, 9947,10118,10291,10462,
10627,10782,10925,11049,11153,11232,11282,11300,
11284,11238,11167,11072,10958,10827,10683,10529,
10368,10205,10041, 9880, 9727, 9583, 9452, 9337,
9243, 9171, 9125, 9109,-7291,-7283,-7261,-7226,
-7180,-7125,-7062,-6993,-6920,-6844,-6768,-6692,
-6619,-6550,-6487,-6432,-6386,-6351,-6328,-6321,
-6328,-6348,-6380,-6422,-6472,-6530,-6594,-6662,
-6733,-6806,-6878,-6949,-7018,-7081,-7139,-7190,
-7232,-7264,-7284,-7291,-4619,-4630,-4660,-4708,
-4772,-4848,-4934,-5029,-5130,-5234,-5339,-5443,
-5544,-5638,-5725,-5801,-5864,-5912,-5943,-5954,
-5944,-5916,-5873,-5815,-5745,-5665,-5578,-5484,
-5386,-5286,-5187,-5089,-4995,-4907,-4828,-4758,
-4700,-4656,-4629,-4619,-23555,-23571,-23617,-23688,
-23783,-23896,-24025,-24167,-24317,-24472,-24629,-24784,
-24934,-25075,-25204,-25318,-25412,-25484,-25529,-25545,
-25531,-25490,-25424,-25338,-25234,-25115,-24985,-24845,
-24699,-24550,-24402,-24256,-24116,-23985,-23866,-23762,
-23676,-23611,-23570,-23555,-32767,-32767,16753,-16545,
-32767,-32767,19152,-16545,14963, 527, -722,-1563,
-103,-9298,-3111, 1218,17968
};
static short mario_h_carry_wait_tbl[]={
1, 1, /* chn14_2translate x */
40, 2, /* chn14_2 translate y */
40, 42, /* chn14_2 translate z */
1, 0, /* chn14_2 rotate x */
1, 82, /* chn14_2 rotate y */
1, 0, /* chn14_2 rotate z */
1, 554, /* <m_waist>1_3_3 rotate x */
1, 555, /* <m_waist>1_3_3 rotate y */
1, 556, /* <m_waist>1_3_3 rotate z */
1, 551, /* <m_body>1_3 rotate x */
1, 552, /* <m_body>1_3 rotate y */
1, 553, /* <m_body>1_3 rotate z */
1, 548, /* <m_head>2_3 rotate x */
1, 549, /* <m_head>2_3 rotate y */
1, 550, /* <m_head>2_3 rotate z */
1, 544, /* chn6_3 rotate x */
1, 545, /* chn6_3 rotate y */
1, 546, /* chn6_3 rotate z */
1, 87, /* <m_larmA>1_1_3 rotate x */
1, 88, /* <m_larmA>1_1_3 rotate y */
1, 89, /* <m_larmA>1_1_3 rotate z */
1, 0, /* <m_larmB>1_3 rotate x */
1, 0, /* <m_larmB>1_3 rotate y */
1, 86, /* <m_larmB>1_3 rotate z */
1, 83, /* <m_lhand>1_3 rotate x */
1, 84, /* <m_lhand>1_3 rotate y */
1, 85, /* <m_lhand>1_3 rotate z */
1, 540, /* chn10_3 rotate x */
1, 541, /* chn10_3 rotate y */
1, 542, /* chn10_3 rotate z */
1, 94, /* <m_rarmA>1_1_3 rotate x */
1, 95, /* <m_rarmA>1_1_3 rotate y */
1, 96, /* <m_rarmA>1_1_3 rotate z */
1, 0, /* <m_rarmB>1_3 rotate x */
1, 0, /* <m_rarmB>1_3 rotate y */
1, 93, /* <m_rarmB>1_3 rotate z */
1, 90, /* <m_rhand>1_3 rotate x */
1, 91, /* <m_rhand>1_3 rotate y */
1, 92, /* <m_rhand>1_3 rotate z */
1, 0, /* chn15_3 rotate x */
1, 0, /* chn15_3 rotate y */
1, 543, /* chn15_3 rotate z */
40, 420, /* <m_llegA>1_3 rotate x */
40, 460, /* <m_llegA>1_3 rotate y */
40, 500, /* <m_llegA>1_3 rotate z */
1, 0, /* <m_llegB>1_3 rotate x */
1, 0, /* <m_llegB>1_3 rotate y */
40, 380, /* <m_llegB>1_3 rotate z */
1, 377, /* <m_ltoot>1_3 rotate x */
1, 378, /* <m_ltoot>1_3 rotate y */
1, 379, /* <m_ltoot>1_3 rotate z */
1, 0, /* chn17_3 rotate x */
1, 0, /* chn17_3 rotate y */
1, 547, /* chn17_3 rotate z */
40, 257, /* <m_rlegA>1_3 rotate x */
40, 297, /* <m_rlegA>1_3 rotate y */
40, 337, /* <m_rlegA>1_3 rotate z */
1, 0, /* <m_rlegB>1_3 rotate x */
1, 0, /* <m_rlegB>1_3 rotate y */
40, 217, /* <m_rlegB>1_3 rotate z */
40, 97, /* <m_rfoot>1_3 rotate x */
40, 137, /* <m_rfoot>1_3 rotate y */
40, 177, /* <m_rfoot>1_3 rotate z */
};
AnimeRecord animMarioShoulder = {
MAP_ANIM_NORMAL, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
40, /* number of frames */
20, /* number of joints */
mario_h_carry_wait_prm,
mario_h_carry_wait_tbl
};