source: abuse/trunk/src/morpher.h

Last change on this file was 555, checked in by Sam Hocevar, 12 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
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
10
11#ifndef __MORPHER_HPP_
12#define __MORPHER_HPP_
13#include "supmorph.h"
14#include "configuration.h"
15
16extern int morph_detail;
17
18class view;
19
20class game_object;
21
22class morph_char
23{
24  long cx,dcx,cy,dcy;                   // center of gravity
25  smorph_player *mor;
26  int end_type,fleft;
27public :
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.