-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathability.h
35 lines (28 loc) · 800 Bytes
/
ability.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* Abuse - dark 2D side-scrolling platform game
* Copyright (c) 1995 Crack dot Com
* Copyright (c) 2005-2011 Sam Hocevar <[email protected]>
*
* This software was released into the Public Domain. As with most public
* domain software, no warranty is made or implied by Crack dot Com, by
* Jonathan Clark, or by Sam Hocevar.
*/
#ifndef ABILITIES_HPP_
#define ABILITIES_HPP_
enum ability
{ start_hp,
start_accel,
stop_accel,
jump_xvel,
jump_yvel,
run_top_speed,
jump_top_speed,
tint_color,
push_xrange,
walk_top_speed // keep as last entry!
} ;
#define TOTAL_ABILITIES (walk_top_speed+1)
extern char const *ability_names[TOTAL_ABILITIES];
long get_ability(int who, ability a);
long get_ability_default(ability a);
#endif