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

Last change on this file since 682 was 555, checked in by Sam Hocevar, 9 years ago

ps3: make everything compile on the PS3. Of course, nothing links yet
because so much support is missing.

  • Property svn:keywords set to Id
File size: 800 bytes
Line 
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
14enum 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)
29extern char const *ability_names[TOTAL_ABILITIES];
30long get_ability(int who, ability a);
31long get_ability_default(ability a);
32
33#endif
34
35
Note: See TracBrowser for help on using the repository browser.