]> git.jsancho.org Git - lugaru.git/blob - Source/Animation/Animation.def
Moved creatures skins to PersonType class
[lugaru.git] / Source / Animation / Animation.def
1 /*
2 Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 Lugaru is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifdef DECLARE_ANIM_BIT
21 DECLARE_ANIM_BIT(ab_idle)
22 DECLARE_ANIM_BIT(ab_sit)
23 DECLARE_ANIM_BIT(ab_sleep)
24 DECLARE_ANIM_BIT(ab_crouch)
25 DECLARE_ANIM_BIT(ab_run)
26 DECLARE_ANIM_BIT(ab_stop)
27 DECLARE_ANIM_BIT(ab_land)
28 DECLARE_ANIM_BIT(ab_landhard)
29 DECLARE_ANIM_BIT(ab_flip)
30 DECLARE_ANIM_BIT(ab_walljump)
31 #endif
32
33 #ifdef DECLARE_ANIM
34 DECLARE_ANIM(runanim, "Run", middleheight, neutral, ab_run)
35 DECLARE_ANIM(bounceidleanim, "Idle", middleheight, neutral, ab_idle)
36 DECLARE_ANIM(stopanim, "Stop", middleheight, neutral, ab_stop)
37 DECLARE_ANIM(jumpupanim, "JumpUp", highheight, neutral, 0)
38 DECLARE_ANIM(jumpdownanim, "JumpDown", highheight, neutral, 0)
39 DECLARE_ANIM(landanim, "Landing", lowheight, neutral, ab_land)
40 DECLARE_ANIM(landhardanim, "LandHard", lowheight, neutral, ab_landhard)
41 DECLARE_ANIM(climbanim, "Climb", lowheight, neutral, 0)
42 DECLARE_ANIM(hanganim, "HangOn", lowheight, neutral, 0)
43 DECLARE_ANIM(spinkickanim, "SpinKick", middleheight, normalattack, 0)
44 DECLARE_ANIM(getupfromfrontanim, "GetUpFromFront", lowheight, neutral, 0)
45 DECLARE_ANIM(getupfrombackanim, "GetUpFromBack", lowheight, neutral, 0)
46 DECLARE_ANIM(crouchanim, "Crouch", lowheight, neutral, ab_crouch)
47 DECLARE_ANIM(sneakanim, "Sneak", lowheight, neutral, 0)
48 DECLARE_ANIM(rollanim, "Roll", lowheight, neutral, 0)
49 DECLARE_ANIM(flipanim, "Flip", highheight, neutral, ab_flip)
50 DECLARE_ANIM(frontflipanim, "Flip", highheight, neutral, ab_flip)
51 DECLARE_ANIM(spinkickreversedanim, "SpinKickCaught", middleheight, reversed, 0)
52 DECLARE_ANIM(spinkickreversalanim, "SpinKickCatch", middleheight, reversal, 0)
53 DECLARE_ANIM(lowkickanim, "LowKick", middleheight, normalattack, 0)
54 DECLARE_ANIM(sweepanim, "Sweep", lowheight, normalattack, 0)
55 DECLARE_ANIM(sweepreversedanim, "SweepCaught", lowheight, reversed, 0)
56 DECLARE_ANIM(sweepreversalanim, "SweepCatch", middleheight, reversal, 0)
57 DECLARE_ANIM(rabbitkickanim, "RabbitKick", middleheight, normalattack, 0)
58 DECLARE_ANIM(rabbitkickreversedanim, "RabbitKickCaught", middleheight, reversed, 0)
59 DECLARE_ANIM(rabbitkickreversalanim, "RabbitKickCatch", lowheight, reversal, 0)
60 DECLARE_ANIM(upunchanim, "Upunch", middleheight, normalattack, 0)
61 DECLARE_ANIM(staggerbackhighanim, "StaggerBackHigh", middleheight, neutral, 0)
62 DECLARE_ANIM(upunchreversedanim, "UpunchCaught", middleheight, reversed, 0)
63 DECLARE_ANIM(upunchreversalanim, "UpunchCatch", middleheight, reversal, 0)
64 DECLARE_ANIM(hurtidleanim, "HurtIdle", middleheight, neutral, ab_idle)
65 DECLARE_ANIM(backhandspringanim, "BackHandspring", middleheight, neutral, 0)
66 DECLARE_ANIM(fightidleanim, "FightIdle", middleheight, neutral, ab_idle)
67 DECLARE_ANIM(walkanim, "Walk", middleheight, neutral, 0)
68 DECLARE_ANIM(fightsidestep, "FightSideStep", middleheight, neutral, ab_idle)
69 DECLARE_ANIM(killanim, "Kill", middleheight, normalattack, 0)
70 DECLARE_ANIM(sneakattackanim, "SneakAttack", middleheight, reversal, 0)
71 DECLARE_ANIM(sneakattackedanim, "SneakAttacked", middleheight, reversed, 0)
72 DECLARE_ANIM(drawrightanim, "DrawRight", middleheight, neutral, 0)
73 DECLARE_ANIM(knifeslashstartanim, "SlashStart", middleheight, normalattack, 0)
74 DECLARE_ANIM(crouchdrawrightanim, "CrouchDrawRight", lowheight, neutral, 0)
75 DECLARE_ANIM(crouchstabanim, "CrouchStab", lowheight, normalattack, 0)
76 DECLARE_ANIM(knifefollowanim, "SlashFollow", middleheight, reversal, 0)
77 DECLARE_ANIM(knifefollowedanim, "SlashFollowed", middleheight, reversed, 0)
78 DECLARE_ANIM(knifethrowanim, "KnifeThrow", middleheight, normalattack, 0)
79 DECLARE_ANIM(removeknifeanim, "RemoveKnife", middleheight, neutral, 0)
80 DECLARE_ANIM(crouchremoveknifeanim, "CrouchRemoveKnife", lowheight, neutral, 0)
81 DECLARE_ANIM(jumpreversedanim, "JumpCaught", middleheight, reversed, 0)
82 DECLARE_ANIM(jumpreversalanim, "JumpCatch", middleheight, reversal, 0)
83 DECLARE_ANIM(staggerbackhardanim, "StaggerBackHard", middleheight, neutral, 0)
84 DECLARE_ANIM(dropkickanim, "DropKick", middleheight, normalattack, 0)
85 DECLARE_ANIM(winduppunchanim, "WindUpPunch", middleheight, normalattack, 0)
86 DECLARE_ANIM(winduppunchblockedanim, "WindUpPunchBlocked", middleheight, normalattack, 0)
87 DECLARE_ANIM(blockhighleftanim, "BlockHighLeft", middleheight, normalattack, 0)
88 DECLARE_ANIM(blockhighleftstrikeanim, "BlockHighLeftStrike", middleheight, normalattack, 0)
89 DECLARE_ANIM(backflipanim, "BackFlip", highheight, neutral, ab_flip)
90 DECLARE_ANIM(walljumpbackanim, "WallJumpBack", highheight, neutral, ab_walljump)
91 DECLARE_ANIM(walljumpfrontanim, "WallJumpFront", highheight, neutral, ab_walljump)
92 DECLARE_ANIM(rightflipanim, "RightFlip", highheight, neutral, ab_flip)
93 DECLARE_ANIM(walljumprightanim, "WallJumpRight", highheight, neutral, ab_walljump)
94 DECLARE_ANIM(leftflipanim, "LeftFlip", highheight, neutral, ab_flip)
95 DECLARE_ANIM(walljumpleftanim, "WallJumpLeft", highheight, neutral, ab_walljump)
96 DECLARE_ANIM(walljumprightkickanim, "WallJumpRightKick", highheight, neutral, ab_flip)
97 DECLARE_ANIM(walljumpleftkickanim, "WallJumpLeftKick", highheight, neutral, ab_flip)
98 DECLARE_ANIM(knifefightidleanim, "KnifeFightIdle", middleheight, neutral, ab_idle)
99 DECLARE_ANIM(knifesneakattackanim, "KnifeSneakAttack", middleheight, reversal, 0)
100 DECLARE_ANIM(knifesneakattackedanim, "KnifeSneakAttacked", middleheight, reversed, 0)
101 DECLARE_ANIM(swordfightidleanim, "SwordFightIdle", middleheight, neutral, ab_idle)
102 DECLARE_ANIM(drawleftanim, "DrawLeft", middleheight, neutral, 0)
103 DECLARE_ANIM(swordslashanim, "SwordSlash", middleheight, normalattack, 0)
104 DECLARE_ANIM(swordgroundstabanim, "SwordGroundStab", lowheight, normalattack, 0)
105 DECLARE_ANIM(dodgebackanim, "DodgeBack", middleheight, neutral, 0)
106 DECLARE_ANIM(swordsneakattackanim, "SwordSneakAttack", middleheight, reversal, 0)
107 DECLARE_ANIM(swordsneakattackedanim, "SwordSneakAttacked", middleheight, reversed, 0)
108 DECLARE_ANIM(swordslashreversedanim, "SwordSlashCaught", middleheight, reversed, 0)
109 DECLARE_ANIM(swordslashreversalanim, "SwordSlashCatch", middleheight, reversal, 0)
110 DECLARE_ANIM(knifeslashreversedanim, "KnifeSlashCaught", middleheight, reversed, 0)
111 DECLARE_ANIM(knifeslashreversalanim, "KnifeSlashCatch", middleheight, reversal, 0)
112 DECLARE_ANIM(swordfightidlebothanim, "SwordFightIdleBoth", middleheight, neutral, ab_idle)
113 DECLARE_ANIM(swordslashparryanim, "SwordUprightParry", middleheight, normalattack, 0)
114 DECLARE_ANIM(swordslashparriedanim, "SwordSlashParried", middleheight, normalattack, 0)
115 DECLARE_ANIM(wolfidle, "WolfIdle", middleheight, neutral, ab_idle)
116 DECLARE_ANIM(wolfcrouchanim, "WolfCrouch", lowheight, neutral, ab_crouch)
117 DECLARE_ANIM(wolflandanim, "WolfLanding", lowheight, neutral, ab_land)
118 DECLARE_ANIM(wolflandhardanim, "WolfLandHard", lowheight, neutral, ab_landhard)
119 DECLARE_ANIM(wolfrunanim, "WolfRun", middleheight, neutral, ab_run)
120 DECLARE_ANIM(wolfrunninganim, "WolfRunning", middleheight, neutral, ab_run)
121 DECLARE_ANIM(rabbitrunninganim, "RabbitRunning", middleheight, neutral, ab_run)
122 DECLARE_ANIM(wolfstopanim, "WolfStop", middleheight, neutral, ab_stop)
123 DECLARE_ANIM(rabbittackleanim, "RabbitTackle", middleheight, neutral, 0)
124 DECLARE_ANIM(rabbittacklinganim, "RabbitTackling", middleheight, reversal, 0)
125 DECLARE_ANIM(rabbittackledbackanim, "RabbitTackledBack", middleheight, reversed, 0)
126 DECLARE_ANIM(rabbittackledfrontanim, "RabbitTackledFront", middleheight, reversed, 0)
127 DECLARE_ANIM(wolfslapanim, "WolfSlap", middleheight, normalattack, 0)
128 DECLARE_ANIM(staffhitanim, "StaffHit", middleheight, normalattack, 0)
129 DECLARE_ANIM(staffgroundsmashanim, "StaffGroundSmash", lowheight, normalattack, 0)
130 DECLARE_ANIM(staffspinhitanim, "SpinWhack", middleheight, normalattack, 0)
131 DECLARE_ANIM(staffhitreversedanim, "StaffHitCaught", middleheight, reversed, 0)
132 DECLARE_ANIM(staffhitreversalanim, "StaffHitCatch", middleheight, reversal, 0)
133 DECLARE_ANIM(staffspinhitreversedanim, "SpinWhackCaught", middleheight, reversed, 0)
134 DECLARE_ANIM(staffspinhitreversalanim, "SpinWhackCatch", middleheight, reversal, 0)
135 DECLARE_ANIM(sitanim, "Sit", lowheight, neutral, ab_idle | ab_sit)
136 DECLARE_ANIM(sleepanim, "Sleep", lowheight, neutral, ab_idle | ab_sleep)
137 DECLARE_ANIM(talkidleanim, "TalkIdle", middleheight, neutral, ab_idle)
138 DECLARE_ANIM(sitwallanim, "Dying", lowheight, neutral, ab_sit)
139 DECLARE_ANIM(dead1anim, "Dead1", lowheight, neutral, ab_sleep)
140 DECLARE_ANIM(dead2anim, "Dead2", lowheight, neutral, ab_sleep)
141 DECLARE_ANIM(dead3anim, "Dead3", lowheight, neutral, ab_sleep)
142 DECLARE_ANIM(dead4anim, "Dead4", lowheight, neutral, ab_sleep)
143
144 DECLARE_ANIM(tempanim, "Tempanim", lowheight, neutral, 0)
145
146 DECLARE_ANIM(loadable_anim_end, "", lowheight, neutral, 0)
147
148 /* Not implemented.  */
149 DECLARE_ANIM(rabbittacklereversal, "", lowheight, neutral, 0)
150 DECLARE_ANIM(rabbittacklereversed, "", lowheight, neutral, 0)
151 DECLARE_ANIM(sworddisarmanim, "", lowheight, neutral, 0)
152 DECLARE_ANIM(swordslashleftanim, "", lowheight, neutral, 0)
153 DECLARE_ANIM(swordslashrightanim, "", lowheight, neutral, 0)
154 DECLARE_ANIM(swordstabanim, "", lowheight, neutral, 0)
155 DECLARE_ANIM(wolfbashanim, "", lowheight, neutral, 0)
156 DECLARE_ANIM(wolfclawanim, "", lowheight, neutral, 0)
157 DECLARE_ANIM(wolffightidle, "", lowheight, neutral, 0)
158 DECLARE_ANIM(wolfhurtidle, "", lowheight, neutral, 0)
159 DECLARE_ANIM(wolfsneakanim, "", lowheight, neutral, 0)
160 DECLARE_ANIM(wolfswordidle, "", lowheight, neutral, 0)
161 DECLARE_ANIM(wolftackleanim, "", lowheight, neutral, 0)
162 DECLARE_ANIM(wolftackledbacanim, "", lowheight, neutral, 0)
163 DECLARE_ANIM(wolftackledfrontanim, "", lowheight, neutral, 0)
164 DECLARE_ANIM(wolftacklereversal, "", lowheight, neutral, 0)
165 DECLARE_ANIM(wolftacklereversed, "", lowheight, neutral, 0)
166 DECLARE_ANIM(wolftacklinganim, "", lowheight, neutral, 0)
167 #endif