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:
782 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 __MORPHER_HPP_ |
---|
11 | #define __MORPHER_HPP_ |
---|
12 | #include "supmorph.hpp" |
---|
13 | #include "config.hpp" |
---|
14 | |
---|
15 | extern int morph_detail; |
---|
16 | |
---|
17 | class view; |
---|
18 | |
---|
19 | class game_object; |
---|
20 | |
---|
21 | class morph_char |
---|
22 | { |
---|
23 | long cx,dcx,cy,dcy; // center of gravity |
---|
24 | smorph_player *mor; |
---|
25 | int end_type,fleft; |
---|
26 | public : |
---|
27 | morph_char(game_object *who, int to_type, void (*stat_fun)(int), int anneal, int frames); |
---|
28 | void draw(game_object *who, view *v); |
---|
29 | int frames_left() { return fleft; } |
---|
30 | virtual ~morph_char() { if (mor) delete mor; } |
---|
31 | } ; |
---|
32 | |
---|
33 | |
---|
34 | #endif |
---|
35 | |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.