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

204 lines
8.5 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario pitching animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
October 26, 1995
********************************************************************************/
#include "../headers.h"
static short mario_pitching_prm[]={
0, 15, 13, 9, 6, 4, 5, 18,
37, 44, 36, 21, 4, -11, -23, -21,
-12, -9, -5, -2, 0, 0, 144, 147,
154, 164, 173, 180, 185, 188, 189, 186,
183, 179, 175, 172, 172, 173, 173, 172,
171, 170, 170, -146, -141, -129, -113, -96,
-84, -77, -73, -67, -59, -49, -39, -29,
-20, -15, -12, -9, -5, -2, 0, 0,
16383,-11387,-11398,-11414,-11409,-11358,-11236,-11017,
-10677,-10190,-9511,-8644,-7637,-6535,-5388,-4240,
-3141,-2135,-1271, -596, -157, 0,-2530,-2720,
-3219,-3924,-4728,-5528,-6216,-6689,-6841,-6703,
-6398,-5960,-5424,-4822,-4190,-3562,-2971,-2452,
-2040,-1767,-1668,-4446,-4441,-4428,-4411,-4391,
-4374,-4362,-4358,-4365,-4384,-4411,-4445,-4483,
-4524,-4566,-4606,-4644,-4676,-4702,-4718,-4724,
-13953,-13646,-12836,-11690,-10376,-9060,-7911,-7094,
-6778,-6906,-7279,-7849,-8565,-9381,-10246,-11111,
-11929,-12650,-13226,-13607,-13745,54920,55505,56981,
58936,60954,62621,63522,63243,61370,57778,52831,
46846,40142,33036,25846,18890,12487, 6953, 2606,
-234,-1251,-13834,-13650,-13161,-12464,-11657,-10835,
-10096,-9536,-9251,-9201,-9264,-9419,-9646,-9924,
-10233,-10551,-10857,-11132,-11354,-11502,-11556,-67662,
-67921,-68541,-69283,-69910,-70183,-69865,-68716,-66501,
-63033,-58467,-53068,-47104,-40842,-34549,-28492,-22937,
-18152,-14404,-11959,-11084,20702,21600,23683,26032,
27731,27861,23999,17479,13019,11202, 9475, 7850,
6341, 4961, 3723, 2639, 1724, 989, 448, 114,
0, 6298, 5777, 4500, 2896, 1394, 423, 536,
1330, 1799, 1740, 1627, 1470, 1282, 1074, 857,
642, 441, 265, 125, 33, 0, 4552, 5243,
6847, 8662, 9986,10118, 7106, 2080,-1037,-1791,
-2354,-2750,-3003,-3137,-3176,-3143,-3063,-2958,
-2855,-2775,-2743,-11033,-10322,-8567,-6335,-4194,
-2711,-2266,-2598,-3315,-4185,-5213,-6354,-7563,
-8796,-10009,-11156,-12195,-13080,-13767,-14212,-14371,
-40533,-40298,-39663,-38736,-37621,-36426,-35029,-33211,
-30935,-28183,-25044,-21639,-18085,-14503,-11011,-7729,
-4776,-2272, -336, 912, 1355,12915,12414,11141,
9444, 7670, 6166, 4687, 3317, 2898, 3345, 3982,
4767, 5655, 6602, 7565, 8500, 9364,10111,10699,
11084,11222,-75704,-74437,-71166,-66689,-61804,-57308,
-52571,-47438,-43424,-40349,-37079,-33704,-30310,-26987,
-23821,-20901,-18315,-16151,-14496,-13438,-13066, 1734,
1566, 1122, 487, -253,-1013,-1707,-2247,-2550,
-2613,-2520,-2306,-2010,-1668,-1317, -994, -736,
-502, -262, -75, 0, 1079, 1124, 1242, 1407,
1592, 1770, 1917, 2004, 2007, 1917, 1756, 1542,
1293, 1027, 761, 515, 306, 122, -43, -162,
-208,-21538,-21301,-20666,-19745,-18650,-17495,-16391,
-15452,-14789,-14380,-14108,-13944,-13859,-13826,-13816,
-13799,-13749,-13723,-13768,-13831,-13864,17871,17868,
17861,17853,17846,17841,17843,17852,17871,17999,
18278,18619,18939,19150,19166,18902,18271,16153,
12591, 9239, 7754, 2292, 2233, 2077, 1859, 1612,
1370, 1166, 1034, 1006, 1061, 1155, 1294, 1485,
1732, 2043, 2422, 2876, 3785, 5145, 6381, 6921,
8163, 7921, 7281, 6370, 5315, 4243, 3281, 2557,
2198, 2238, 2573, 3117, 3785, 4494, 5158, 5692,
6012, 5868, 5309, 4704, 4420,-24712,-24323,-23296,
-21848,-20192,-18545,-17121,-16134,-15799,-16223,-17246,
-18685,-20358,-22081,-23672,-24949,-25728,-25322,-23817,
-22195,-21436, -256, -259, -267, -278, -292, -306,
-319, -296, -353, -592, -899,-1173,-1438,-1669,
-1697,-1480,-1141, -750, -382, -107, 0, 329,
316, 284, 241, 196, 158, 134, 164, 221,
272, 323, 339, 293, 214, 151, 114, 78,
47, 22, 6, 0,-8653,-9146,-10399,-12070,
-13817,-15298,-16172,-14509,-12303,-12152,-12580,-13020,
-13260,-13513,-13845,-14322,-14904,-15507,-16043,-16428,
-16576,18914,18391,17005,15032,12745,10421, 8334,
5623, 3894, 4077, 4430, 4918, 5506, 6158, 6838,
7512, 8142, 8695, 9133, 9422, 9527, 4038, 3710,
2844, 1619, 213,-1197,-2434,-3686,-4687,-5299,
-5948,-6616,-7287,-7942,-8565,-9140,-9648,-10073,
-10398,-10605,-10678,-6976,-6911,-6741,-6500,-6225,
-5951,-5714,-5479,-5324,-5279,-5238,-5202,-5170,
-5142,-5119,-5099,-5083,-5071,-5062,-5057,-5055,
-37522,-37114,-36037,-34512,-32758,-30998,-29450,-27860,
-26583,-25810,-24992,-24150,-23306,-22481,-21697,-20975,
-20336,-19802,-19394,-19133,-19042,32767,32767,16753,
-16545,32767,32767,16753,-16545,14462,13741,11824,
9080, 5877, 2584, -430,-2799,-4152,-4678,-4849,
-4724,-4361,-3820,-3160,-2440,-1719,-1055, -508,
-136, 0,-4369,-4358,-4324,-4265,-4181,-4070,
-3930,-3759,-3557,-3304,-2990,-2633,-2246,-1847,
-1451,-1072, -728, -432, -202, -53, 0,-2366,
-2607,-3239,-4131,-5146,-6153,-7017,-7605,-7783,
-7587,-7175,-6590,-5877,-5081,-4246,-3418,-2640,
-1957,-1414,-1056, -926,-7431,-6328,-3531, 190,
4071, 7341,10445,13276,14247,13555,12512,11195,
9683, 8055, 6389, 4764, 3258, 1950, 919, 242,
0, 3775, 3127, 1511, -581,-2660,-4235,-5139,
-5551,-5494,-5149,-4695,-4159,-3567,-2947,-2323,
-1723,-1173, -699, -328, -86, 0,-2405,-2242,
-1805,-1176, -434, 338, 1520, 2938, 3693, 3767,
3752, 3664, 3519, 3333, 3121, 2898, 2681, 2485,
2326, 2219, 2180,-17714,-17395,-16534,-15275,-13761,
-12137,-10546,-9132,-8038,-7136,-6212,-5287,-4379,
-3507,-2690,-1947,-1296, -757, -349, -90, 0,
-247, -190, -41, 170, 414, 660, 876, 1034,
1101, 1090, 1037, 950, 838, 708, 569, 429,
296, 179, 85, 22, 0,13585,13932,14851,
16157,17666,19193,20554,21566,22042,22059,21841,
21433,20880,20226,19516,18793,18102,17487,16993,
16665,16545,
};
static short mario_pitching_tbl[]={
21, 1, /* chn14_1translate x */
21, 22, /* chn14_1 translate y */
21, 43, /* chn14_1 translate z */
1, 0, /* chn14_1 rotate x */
1, 64, /* chn14_1 rotate y */
1, 0, /* chn14_1 rotate z */
21, 787, /* <m_waist>1_3 rotate x */
21, 808, /* <m_waist>1_3 rotate y */
21, 829, /* <m_waist>1_3 rotate z */
21, 724, /* <m_body>1 rotate x */
21, 745, /* <m_body>1 rotate y */
21, 766, /* <m_body>1 rotate z */
21, 661, /* <m_head>2 rotate x */
21, 682, /* <m_head>2 rotate y */
21, 703, /* <m_head>2 rotate z */
1, 657, /* chn6 rotate x */
1, 658, /* chn6 rotate y */
1, 659, /* chn6 rotate z */
21, 149, /* <m_larmA>1_1 rotate x */
21, 170, /* <m_larmA>1_1 rotate y */
21, 191, /* <m_larmA>1_1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
21, 128, /* <m_larmB>1 rotate z */
21, 65, /* <m_lhand>1 rotate x */
21, 86, /* <m_lhand>1 rotate y */
21, 107, /* <m_lhand>1 rotate z */
1, 653, /* chn10 rotate x */
1, 654, /* chn10 rotate y */
1, 655, /* chn10 rotate z */
21, 296, /* <m_rarmA>1_1 rotate x */
21, 317, /* <m_rarmA>1_1 rotate y */
21, 338, /* <m_rarmA>1_1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
21, 275, /* <m_rarmB>1 rotate z */
21, 212, /* <m_rhand>1 rotate x */
21, 233, /* <m_rhand>1 rotate y */
21, 254, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 656, /* chn15 rotate z */
21, 590, /* <m_llegA>1 rotate x */
21, 611, /* <m_llegA>1 rotate y */
21, 632, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
21, 569, /* <m_llegB>1 rotate z */
21, 506, /* <m_ltoot>1 rotate x */
21, 527, /* <m_ltoot>1 rotate y */
21, 548, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 660, /* chn17 rotate z */
21, 443, /* <m_rlegA>1 rotate x */
21, 464, /* <m_rlegA>1 rotate y */
21, 485, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
21, 422, /* <m_rlegB>1 rotate z */
21, 359, /* <m_rfoot>1 rotate x */
21, 380, /* <m_rfoot>1 rotate y */
21, 401, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioPitching = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
21, /* number of frames */
20, /* number of joints */
mario_pitching_prm,
mario_pitching_tbl
};