source: abuse/trunk/src/ability.h @ 484

Last change on this file since 484 was 481, checked in by Sam Hocevar, 11 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
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.