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