source: abuse/tags/pd/macabuse/inc/ability.hpp

Last change on this file was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
File size: 425 bytes
Line 
1#ifndef ABILITIES_HPP_
2#define ABILITIES_HPP_
3
4enum ability
5{       start_hp,
6        start_accel,
7        stop_accel,
8        jump_xvel,
9        jump_yvel,
10        run_top_speed,
11        jump_top_speed,
12
13        tint_color,
14        push_xrange,
15        walk_top_speed                  // keep as last entry!
16} ;
17
18#define TOTAL_ABILITIES (walk_top_speed+1)
19extern char *ability_names[TOTAL_ABILITIES];
20long get_ability(int who, ability a);
21long get_ability_default(ability a);
22
23#endif
24
25
Note: See TracBrowser for help on using the repository browser.