Apocalypse mirror
Sourceforge mirror |
News | Info | Characters | Arenas | Screenshots | Forums | Download | ||||
Developer: | Making of | Character-HOWTO | AI Design | Submit a Character | |||
Documentation: | Main Page | Modules | Class Hierarchy | Class List | File List |
00001 /*************************************************************************** 00002 Demo.h - description 00003 ------------------- 00004 begin : Wed Aug 16 22:18:47 CEST 2003 00005 copyright : (C) 2003 by upi 00006 email : upi@apocalypse.rulez.org 00007 ***************************************************************************/ 00008 00009 00010 00011 #ifndef DEMO_H 00012 #define DEMO_H 00013 00018 class CFlyingChars; 00019 struct SDL_Surface; 00020 00029 class CDemo 00030 { 00031 public: 00032 CDemo(); 00033 virtual ~CDemo(); 00034 00035 virtual int Run(); 00036 00037 protected: 00038 virtual int Advance( int a_iNumFrames, bool a_bFlip ); 00039 virtual int AdvanceFlyingChars( int a_iNumFrames ); 00040 virtual int AdvanceGame( int a_iNumFrames ); 00041 virtual void OnMenu(); 00042 00043 00044 protected: 00045 CFlyingChars* m_poFlyingChars; 00046 bool m_bAdvanceGame; 00047 SDL_Surface* m_poBackground; 00048 }; 00049 00050 00051 00052 00053 00054 #endif // DEMO_H