Last change
on this file since 56 was
56,
checked in by Sam Hocevar, 14 years ago
|
- Add licensing terms to most C / C++ files (Ref #5).
|
File size:
782 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 __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.