Last change
on this file since 161 was
49,
checked in by Sam Hocevar, 15 years ago
|
- Imported original public domain release, for future reference.
|
File size:
518 bytes
|
Line | |
---|
1 | #ifndef __MORPHER_HPP_ |
---|
2 | #define __MORPHER_HPP_ |
---|
3 | #include "supmorph.hpp" |
---|
4 | #include "config.hpp" |
---|
5 | |
---|
6 | extern int morph_detail; |
---|
7 | |
---|
8 | class view; |
---|
9 | |
---|
10 | class game_object; |
---|
11 | |
---|
12 | class morph_char |
---|
13 | { |
---|
14 | long cx,dcx,cy,dcy; // center of gravity |
---|
15 | smorph_player *mor; |
---|
16 | int end_type,fleft; |
---|
17 | public : |
---|
18 | morph_char(game_object *who, int to_type, void (*stat_fun)(int), int anneal, int frames); |
---|
19 | void draw(game_object *who, view *v); |
---|
20 | int frames_left() { return fleft; } |
---|
21 | virtual ~morph_char() { if (mor) delete mor; } |
---|
22 | } ; |
---|
23 | |
---|
24 | |
---|
25 | #endif |
---|
26 | |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.