1 /*
2  *  Abuse - dark 2D side-scrolling platform game
3  *  Copyright (c) 1995 Crack dot Com
4  *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5  *
6  *  This software was released into the Public Domain. As with most public
7  *  domain software, no warranty is made or implied by Crack dot Com, by
8  *  Jonathan Clark, or by Sam Hocevar.
9  */
10 
11 #ifndef ABILITIES_HPP_
12 #define ABILITIES_HPP_
13 
14 enum ability
15 {    start_hp,
16     start_accel,
17     stop_accel,
18         jump_xvel,
19     jump_yvel,
20     run_top_speed,
21     jump_top_speed,
22 
23     tint_color,
24     push_xrange,
25     walk_top_speed                  // keep as last entry!
26 } ;
27 
28 #define TOTAL_ABILITIES (walk_top_speed+1)
29 extern char const *ability_names[TOTAL_ABILITIES];
30 long get_ability(int who, ability a);
31 long get_ability_default(ability a);
32 
33 #endif
34 
35 
36