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

205 lines
8.3 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario landing animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
July 11, 1995
********************************************************************************/
#include "../headers.h"
static short mario_landing_prm[]={
0, 170, 170, 170, 170, 170, 170, 170,
170, 170, 170, 120, 107, 117, 129, 135,
141, 146, 150, 154, 159, 163, 166, 169,
170, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0,16383,-1668,-4724,-9364,-9420,-9575,-9808,
-10102,-10435,-10788,-11143,-11478,-11776,-12015,-12076,
-12001,-12015,-12171,-12365,-12584,-12816,-13046,-13264,
-13455,-13607,-13708,-13745,-53917,-52958,-50304,-46292,
-41257,-35536,-29465,-23380,-17617,-12513,-8402,-6968,
-7869,-8402,-7757,-6954,-6049,-5093,-4139,-3240,
-2449,-1819,-1402,-1251,-13581,-13479,-13198,-12773,
-12239,-11633,-10990,-10345,-9734,-9193,-8758,-8545,
-8580,-8758,-9010,-9324,-9679,-10053,-10426,-10778,
-11087,-11334,-11497,-11556,34122,33349,31209,27974,
23914,19301,14406, 9500, 4853, 737,-2576,-3685,
-2913,-2576,-3344,-4299,-5376,-6513,-7648,-8718,
-9659,-10409,-10905,-11084,-2743,-3732,-3882,-4297,
-4921,-5701,-6582,-7509,-8427,-9283,-10021,-10588,
-11046,-11491,-11920,-12329,-12712,-13066,-13387,-13670,
-13911,-14106,-14250,-14340,-14371,47962,46915,44044,
39754,34450,28539,22425,16513,11210, 6920, 4049,
2277, 976, 88, -443, -676, -667, -473, -153,
237, 640, 1000, 1257, 1355,12834,12715,12393,
11915,11332,10693,10047, 9443, 8930, 8559, 8377,
8365, 8458, 8637, 8885, 9183, 9514, 9859,10200,
10520,10800,11023,11169,11222,19206,18526,16662,
13875,10425, 6573, 2582,-1288,-4777,-7623,-9566,
-10820,-11798,-12530,-13046,-13378,-13555,-13610,-13572,
-13471,-13340,-13208,-13107,-13066, -127, -164, -247,
-330, -369, -320, -138, 327, 1062, 1857, 2503,
2373, 2045, 2071, 1843, 1582, 1309, 1047, 816,
599, 380, 188, 51, 0, -165, -171, -186,
-201, -206, -194, -155, -58, 93, 255, 382,
317, 297, -47, -95, -111, -110, -106, -112,
-132, -158, -182, -201, -208,-6979,-6697,-6059,
-5381,-4976,-5161,-6249,-9174,-13836,-18999,-23425,
-24478,-22093,-20753,-19995,-19298,-18635,-17981,-17309,
-16510,-15601,-14746,-14112,-13864, 5668, 5361, 4658,
3879, 3347, 3384, 4312, 7010,11375,16248,20473,
21892,19724,18179,16972,15785,14628,13510,12440,
11286,10040, 8903, 8074, 7754, 3383, 3436, 3564,
3722, 3864, 3945, 3918, 3698, 3305, 2843, 2422,
2090, 1845, 2104, 2683, 3313, 3951, 4557, 5089,
5588, 6081, 6507, 6807, 6921, 1683, 1589, 1373,
1130, 954, 943, 1190, 1950, 3190, 4575, 5768,
6116, 6086, 5880, 5688, 5492, 5300, 5120, 4961,
4811, 4666, 4541, 4453, 4420,-19313,-18979,-18174,
-17192,-16328,-15876,-16131,-17708,-20484,-23646,-26382,
-27388,-27599,-26983,-26274,-25535,-24804,-24116,-23509,
-22938,-22380,-21900,-21563,-21436, 0, 5, 18,
31, 36, 28, 0, -104, -271, -406, -414,
437, 0, 71, 70, 61, 48, 35, 24,
16, 8, 2, 0, 0, 0, -6, -21,
-35, -42, -32, 0, 99, 257, 404, 472,
25, 0, 661, 662, 594, 486, 370, 276,
191, 101, 29, 0, 0,-8127,-8221,-8507,
-8989,-9674,-10567,-11674,-13343,-15627,-18086,-20279,
-21241,-19800,-21002,-20642,-20113,-19494,-18867,-18312,
-17764,-17198,-16755,-16576,-16576,19540,19540,19541,
19542,19543,19542,19540,19473,19364,19334,19504,
21102,19145,18527,17447,16303,15142,14010,12956,
11857,10741, 9875, 9527, 9527, 15, 43, 104,
165, 193, 154, 15, -328, -867,-1466,-1990,
-2185,-2231,-3589,-4587,-5567,-6514,-7409,-8237,
-9061,-9851,-10444,-10678,-10678,-5296,-5303,-5317,
-5331,-5338,-5329,-5296,-5212,-5078,-4938,-4832,
-4923,-5156,-4843,-4956,-5131,-5321,-5479,-5558,
-5493,-5319,-5138,-5055,-5055,-36126,-36211,-36399,
-36587,-36672,-36553,-36126,-35064,-33397,-31558,-29978,
-29599,-29796,-27476,-26258,-25137,-24093,-23106,-22157,
-21143,-20131,-19353,-19042,-19042,32767,32767,16753,
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16506,
-16441,-16428,-16545,-17588,-16545,-16545,-16545,-16545,
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
32767,32767,16753,-16545,-2165,-2126,-2015,-1846,
-1629,-1377,-1102, -817, -532, -259, -12, 310,
667, 837, 814, 751, 657, 543, 419, 295,
181, 87, 23, 0, 1071, 1078, 1097, 1125,
1159, 1196, 1232, 1265, 1291, 1307, 1310, 1252,
1130, 1009, 899, 775, 642, 508, 378, 258,
154, 72, 19, 0, 6887, 6669, 6075, 5198,
4131, 2967, 1798, 716, -183, -810,-1072, 807,
4351, 6270, 6077, 5536, 4732, 3753, 2685, 1617,
634, -174, -724, -926, 2491, 2456, 2358, 2210,
2025, 1815, 1592, 1369, 1158, 972, 823, 786,
839, 844, 769, 675, 569, 456, 343, 236,
142, 67, 17, 0, 190, 141, 5, -198,
-456, -748,-1057,-1368,-1662,-1922,-2131,-2244,
-2237,-2122,-1930,-1692,-1423,-1139, -856, -589,
-355, -168, -44, 0, -66, 19, 258, 618,
1070, 1582, 2125, 2668, 3181, 3632, 3992, 4131,
4043, 3886, 3725, 3530, 3312, 3084, 2858, 2646,
2460, 2312, 2215, 2180,16545,16545,16545,16545,
16545,16545,16545,17164,17849,18403,18631,18596,
18498,18349,18160,17943,17708,17468,17233,17016,
16827,16678,16580,16545,
};
static short mario_landing_tbl[]={
1, 0, /* chn14_3translate x */
24, 1, /* chn14_3 translate y */
24, 25, /* chn14_3 translate z */
1, 0, /* chn14_3 rotate x */
1, 49, /* chn14_3 rotate y */
1, 0, /* chn14_3 rotate z */
1, 0, /* <m_waist>1_3 rotate x */
1, 0, /* <m_waist>1_3 rotate y */
24, 756, /* <m_waist>1_3 rotate z */
24, 684, /* <m_body>1 rotate x */
24, 708, /* <m_body>1 rotate y */
24, 732, /* <m_body>1 rotate z */
24, 612, /* <m_head>2 rotate x */
24, 636, /* <m_head>2 rotate y */
24, 660, /* <m_head>2 rotate z */
1, 608, /* chn6 rotate x */
1, 609, /* chn6 rotate y */
1, 610, /* chn6 rotate z */
24, 76, /* <m_larmA>1 rotate x */
24, 100, /* <m_larmA>1 rotate y */
24, 124, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
24, 52, /* <m_larmB>1 rotate z */
1, 0, /* <m_lhand>1 rotate x */
1, 50, /* <m_lhand>1 rotate y */
1, 51, /* <m_lhand>1 rotate z */
1, 581, /* chn10 rotate x */
1, 582, /* chn10 rotate y */
1, 583, /* chn10 rotate z */
24, 173, /* <m_rarmA>1 rotate x */
24, 197, /* <m_rarmA>1 rotate y */
24, 221, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
24, 149, /* <m_rarmB>1 rotate z */
1, 0, /* <m_rhand>1 rotate x */
1, 0, /* <m_rhand>1 rotate y */
1, 148, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
24, 584, /* chn15 rotate z */
24, 509, /* <m_llegA>1 rotate x */
24, 533, /* <m_llegA>1 rotate y */
24, 557, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
24, 485, /* <m_llegB>1 rotate z */
24, 413, /* <m_ltoot>1 rotate x */
24, 437, /* <m_ltoot>1 rotate y */
24, 461, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 611, /* chn17 rotate z */
24, 341, /* <m_rlegA>1 rotate x */
24, 365, /* <m_rlegA>1 rotate y */
24, 389, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
24, 317, /* <m_rlegB>1 rotate z */
24, 245, /* <m_rfoot>1 rotate x */
24, 269, /* <m_rfoot>1 rotate y */
24, 293, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioLanding = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
1, /* number of frames */
20, /* number of joints */
mario_landing_prm,
mario_landing_tbl
};
AnimeRecord animMarioLandEnd = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
9, /* start frame */
0, /* loop frame */
24, /* number of frames */
20, /* number of joints */
mario_landing_prm,
mario_landing_tbl
};