/* * Abuse - dark 2D side-scrolling platform game * Copyright (c) 1995 Crack dot Com * Copyright (c) 2005-2011 Sam Hocevar * * This software was released into the Public Domain. As with most public * domain software, no warranty is made or implied by Crack dot Com, by * Jonathan Clark, or by Sam Hocevar. */ #ifndef __CONTROLLED_HPP_ #define __CONTROLLED_HPP_ #include "objects.h" #include "chars.h" // The controlled character is you! #define CHAR_HUMAN 0 #define CHAR_IGUANA 1 #define GAME_CHARACTERS 2 #define TOTAL_CHARACTERS 10 #define MORPH_TABLE_WIDTH (GAME_CHARACTERS-1) extern sequence *morph_table[MORPH_TABLE_WIDTH*MORPH_TABLE_WIDTH]; class controlled_character : public game_object { game_object *cur_char; signed char morphing_to; // who you are right now unsigned long abilities; // if 1<