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