Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

objects/scorch.h

00001 #include "players_common.h" 00002 00003 #define STATE_GLIDE 0x00040000 00004 #define SCORCH_MAX_WINGS 5 00005 #define V_FLY -400 00006 //maximal upwards velocity 00007 #define V_MIN -600 00008 #define V_GLIDE 100 00009 #define DE_WING 300 00010 00011 00017 class Scorch : public Player { 00018 public: 00019 Scorch(Sint16 xpos=0, Sint16 ypos=0, const ParameterMap& param=ParameterMap()); 00020 virtual ~Scorch(); 00021 static ParameterMap default_parameters; 00022 virtual void fall(Uint16); 00024 virtual void idle(Uint16); 00025 virtual void in_sp1(); 00026 virtual void clearStates(bool reset=false); 00027 private: 00028 Uint8 left_wings; 00029 Mix_Chunk* au_swing; 00030 Mix_Chunk* au_tired; 00031 Sint16 wing; 00032 };

Generated on Sun Feb 5 13:02:35 2006 for Lost Penguins by doxygen 1.3.8