Last change
on this file since 57 was
57,
checked in by Sam Hocevar, 14 years ago
|
- Move each header to the same directory as its corresponding source, to
get a better idea of which files are likely to export symbols.
|
File size:
695 bytes
|
Rev | Line | |
---|
[56] | 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 | |
---|
[2] | 10 | #ifndef ABILITIES_HPP_ |
---|
| 11 | #define ABILITIES_HPP_ |
---|
| 12 | |
---|
| 13 | enum 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) |
---|
[39] | 28 | extern char const *ability_names[TOTAL_ABILITIES]; |
---|
[2] | 29 | long get_ability(int who, ability a); |
---|
| 30 | long get_ability_default(ability a); |
---|
| 31 | |
---|
| 32 | #endif |
---|
| 33 | |
---|
| 34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.