source: abuse/trunk/src/include/ability.hpp @ 48

Last change on this file since 48 was 39, checked in by Sam Hocevar, 15 years ago
  • Fix almost 2,000 warnings by using proper "const" keywords where needed.
File size: 431 bytes
RevLine 
[2]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)
[39]19extern char const *ability_names[TOTAL_ABILITIES];
[2]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.