source: abuse/trunk/src/ability.hpp @ 124

Last change on this file since 124 was 124, checked in by Sam Hocevar, 12 years ago
  • Get rid of ugly tabs and trailing spaces everywhere.
File size: 722 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef ABILITIES_HPP_
11#define ABILITIES_HPP_
12
13enum ability
14{    start_hp,
15    start_accel,
16    stop_accel,
17        jump_xvel,
18    jump_yvel,
19    run_top_speed,
20    jump_top_speed,
21
22    tint_color,
23    push_xrange,
24    walk_top_speed                  // keep as last entry!
25} ;
26
27#define TOTAL_ABILITIES (walk_top_speed+1)
28extern char const *ability_names[TOTAL_ABILITIES];
29long get_ability(int who, ability a);
30long get_ability_default(ability a);
31
32#endif
33
34
Note: See TracBrowser for help on using the repository browser.