source: abuse/trunk/src/morpher.h @ 489

Last change on this file since 489 was 481, checked in by Sam Hocevar, 10 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
File size: 786 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.h"
13#include "configuration.h"
14
15extern int morph_detail;
16
17class view;
18
19class game_object;
20
21class morph_char
22{
23  long cx,dcx,cy,dcy;                   // center of gravity
24  smorph_player *mor;
25  int end_type,fleft;
26public :
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.