]> git.jsancho.org Git - lugaru.git/blob - Source/Constants.h
Fixed 'head' define to C++ style constant to fix breakage with zlib
[lugaru.git] / Source / Constants.h
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program 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.  
14
15 See the GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20 */
21
22 #ifndef _CONSTANTS_H_
23 #define _CONSTANTS_H_
24
25 #define awardklutz 0
26 #define awardflawless 1
27 #define awardalldead 2
28 #define awardnodead 3
29 #define awardstealth 4
30 #define awardswordsman 5
31 #define awardkungfu 6
32 #define awardknifefighter 7
33 #define awardcoward 8
34 #define awardevasion 9
35 #define awardacrobat 10
36 #define awardlongrange 11
37 #define awardbrutal 12
38 #define awardhyper 13
39 #define awardaikido 14
40 #define awardrambo 15
41 #define awardfast 16
42 #define awardrealfast 17
43 #define awarddamnfast 18
44 #define awardstrategy 19
45 #define awardbojutsu 20
46
47 #define mapkilleveryone 0
48 #define mapgosomewhere 1
49 #define mapkillsomeone 2
50 #define mapkillmost 3
51
52 #define wpkeepwalking 0
53 #define wppause 1
54
55 #define typeactive 0
56 #define typesitting 1
57 #define typesittingwall 2
58 #define typesleeping 3
59 #define typedead1 4
60 #define typedead2 5
61 #define typedead3 6
62 #define typedead4 7
63
64 #define tracheotomy 1
65 #define backstab 2
66 #define spinecrusher 3
67 #define ninja 4
68 #define style 5
69 #define cannon 6
70 #define aimbonus 7
71 #define deepimpact 8
72 #define touchofdeath 9
73 #define swordreversebonus 10
74 #define staffreversebonus 11
75 #define reverseko 12
76 #define solidhit 13
77 #define twoxcombo 14
78 #define threexcombo 15
79 #define fourxcombo 16
80 #define megacombo 17
81 #define Reversal 18
82 #define Stabbonus 19
83 #define Slicebonus 20
84 #define Bullseyebonus 21
85 #define Slashbonus 22
86 #define Wolfbonus 23
87 #define FinishedBonus 24
88 #define TackleBonus 25
89 #define AboveBonus 26
90
91 #define boneconnect 0
92 #define constraint 1
93 #define muscle 2
94
95 const int head = 0; // Do not conflict with 'head' var in zlib 
96
97 #define neck 1
98 #define leftshoulder 2
99 #define leftelbow 3
100 #define leftwrist 4
101 #define lefthand 5
102 #define rightshoulder 6
103 #define rightelbow 7
104 #define rightwrist 8
105 #define righthand 9
106 #define abdomen 10
107 #define lefthip 11
108 #define righthip 12
109 #define groin 13
110 #define leftknee 14
111 #define leftankle 15
112 #define leftfoot 16
113 #define rightknee 17
114 #define rightankle 18
115 #define rightfoot 19
116
117 #define max_joints 50
118 #define max_frames 50
119 #define max_muscles 100
120
121 #define animation_count 140
122
123 #define runanim 0
124 #define bounceidleanim 1
125 #define stopanim 2
126 #define jumpupanim 3
127 #define jumpdownanim 4
128 #define landanim 5
129 #define climbanim 6
130 #define hanganim 7
131 #define spinkickanim 8
132 #define tempanim 9
133 #define getupfromfrontanim 10
134 #define getupfrombackanim 11
135 #define crouchanim 12
136 #define sneakanim 13
137 #define rollanim 14
138 #define flipanim 15
139 #define spinkickreversedanim 16
140 #define spinkickreversalanim 17
141 #define lowkickanim 18
142 #define sweepanim 19
143 #define sweepreversedanim 20
144 #define sweepreversalanim 21
145 #define rabbitkickanim 22
146 #define rabbitkickreversedanim 23
147 #define rabbitkickreversalanim 24
148 #define upunchanim 25
149 #define staggerbackhighanim 26
150 #define upunchreversedanim 27
151 #define upunchreversalanim 28
152 #define hurtidleanim 29
153 #define backhandspringanim 30
154 #define fightidleanim 31
155 #define walkanim 32
156 #define fightsidestep 33
157 #define killanim 34
158 #define sneakattackanim 35
159 #define sneakattackedanim 36
160 #define drawrightanim 37
161 #define knifeslashstartanim 38
162 #define crouchstabanim 39
163 #define crouchdrawrightanim 40
164 #define knifefollowanim 41
165 #define knifefollowedanim 42
166 #define knifethrowanim 43
167 #define removeknifeanim 44
168 #define crouchremoveknifeanim 45
169 #define jumpreversedanim 46
170 #define jumpreversalanim 47
171 #define landhardanim 48
172 #define staggerbackhardanim 49
173 #define dropkickanim 50
174 #define winduppunchanim 51
175 #define winduppunchblockedanim 52
176 #define blockhighleftanim 53
177 #define blockhighleftstrikeanim 54
178 #define walljumpfrontanim 55
179 #define walljumpbackanim 56
180 #define walljumpleftanim 57
181 #define walljumprightanim 58
182 #define backflipanim 59
183 #define leftflipanim 60
184 #define rightflipanim 61
185 #define walljumprightkickanim 62
186 #define walljumpleftkickanim 63
187 #define knifefightidleanim 64
188 #define knifesneakattackanim 65
189 #define knifesneakattackedanim 66
190 #define swordstabanim 67
191 #define swordslashleftanim 68
192 #define swordslashrightanim 69
193 #define swordfightidleanim 70
194 #define swordsneakattackanim 71
195 #define swordsneakattackedanim 72
196 #define drawleftanim 73
197 #define swordslashanim 74
198 #define swordgroundstabanim 75
199 #define dodgebackanim 76
200 #define swordslashreversedanim 77
201 #define swordslashreversalanim 78
202 #define knifeslashreversedanim 79
203 #define knifeslashreversalanim 80
204 #define swordfightidlebothanim 81
205 #define swordslashparryanim 82
206 #define sworddisarmanim 83
207 #define swordslashparriedanim 84
208 #define wolfidle 85
209 #define wolffightidle 86    
210 #define wolfswordidle 87
211 #define wolfhurtidle 88
212 #define wolfcrouchanim 89
213 #define wolfsneakanim 90
214 #define wolfrunanim 91
215 #define wolfstopanim 92
216 #define wolfclawanim 93
217 #define wolflandanim 94
218 #define wolflandhardanim 95
219 #define wolfrunninganim 96
220 #define rabbitrunninganim 97
221 #define frontflipanim 98
222 #define rabbittackleanim 99
223 #define rabbittacklinganim 100
224 #define rabbittackledfrontanim 101
225 #define rabbittackledbackanim 102
226 #define rabbittacklereversal 103
227 #define rabbittacklereversed 104
228 #define wolftackleanim 105
229 #define wolftacklinganim 106
230 #define wolftackledfrontanim 107
231 #define wolftackledbacanim 108
232 #define wolftacklereversal 109
233 #define wolftacklereversed 110
234 #define wolfslapanim 111
235 #define wolfbashanim 112
236 #define staffhitanim 113
237 #define staffgroundsmashanim 114
238 #define staffspinhitanim 115
239 #define staffhitreversedanim 116
240 #define staffhitreversalanim 117
241 #define staffspinhitreversedanim 118
242 #define staffspinhitreversalanim 119
243 #define sleepanim 120
244 #define sitanim 121
245 #define talkidleanim 122
246 #define sitwallanim 123
247 #define dead1anim 124
248 #define dead2anim 125
249 #define dead3anim 126
250 #define dead4anim 127
251
252 #define max_dialogues 20
253 #define max_dialoguelength 20
254
255 #define max_model_vertex                        3000            // maximum number of vertexs
256 #define max_textured_triangle           3000            // maximum number of texture-filled triangles in a model
257
258 #define stream_music1desert 0
259 #define stream_music1grass 1
260 #define stream_music1snow 2
261 #define stream_music2 3
262 #define stream_music3 4
263 #define stream_music4 5
264 #define stream_menumusic 6
265 #define stream_desertambient 7
266 #define stream_firesound 8
267 #define stream_wind 9
268
269 //#define music1desert 0
270 //#define music1grass 1
271 //#define music1snow 2
272 //#define music2 3
273 //#define music3 4
274 //#define music4 5
275 //#define menumusic 6
276 //#define desertambient 7
277 //#define firesound 8
278 //#define wind 9
279 #define footstepsound 10
280 #define footstepsound2 11
281 #define footstepsound3 12
282 #define footstepsound4 13
283 #define jumpsound 14
284 #define landsound 15
285 #define whooshsound 16
286 #define hawksound 17
287 #define landsound1 18
288 #define landsound2 19
289 #define breaksound 20
290 #define lowwhooshsound 21
291 #define heavyimpactsound 22
292 #define firestartsound 23
293 #define fireendsound 24
294 #define breaksound2 25
295 #define knifedrawsound 26
296 #define knifesheathesound 27
297 #define knifeswishsound 28
298 #define knifeslicesound 29
299 #define skidsound 30
300 #define snowskidsound 31
301 #define bushrustle 32
302 #define midwhooshsound 33
303 #define highwhooshsound 34
304 #define movewhooshsound 35
305 #define thudsound 36
306 #define whooshhitsound 37
307 #define clank1sound 38
308 #define clank2sound 39
309 #define clank3sound 40
310 #define clank4sound 41
311 #define consolefailsound 42
312 #define consolesuccesssound 43
313 #define swordslicesound 44
314 #define metalhitsound 45
315 #define clawslicesound 46
316 #define splattersound 47
317 #define growlsound 48
318 #define growl2sound 49
319 #define barksound 50
320 #define snarlsound 51
321 #define snarl2sound 52
322 #define barkgrowlsound 53
323 #define bark2sound 54
324 #define bark3sound 55
325 #define rabbitattacksound 56
326 #define rabbitattack2sound 57
327 #define rabbitattack3sound 58
328 #define rabbitattack4sound 59
329 #define rabbitpainsound 60
330 #define rabbitpain1sound 61
331 #define rabbitpain2sound 62
332 #define rabbitchitter 63
333 #define rabbitchitter2 64
334 #define fleshstabsound 65
335 #define fleshstabremovesound 66
336 #define swordstaffsound 67
337 #define staffbodysound 68
338 #define staffheadsound 69
339 #define alarmsound 70
340 #define staffbreaksound 71
341
342 #define normalmode 0
343 #define motionblurmode 1
344 #define radialzoommode 2
345 #define realmotionblurmode 3
346 #define doublevisionmode 4
347 #define glowmode 5
348
349 #define maxplayers 10
350 #endif