home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / XenonSource.exe / xenon / includes / xenon.h < prev   
Encoding:
C/C++ Source or Header  |  2000-09-11  |  803 b   |  41 lines

  1. //-------------------------------------------------------------
  2. //
  3. // Module:    Xenon 2K
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    05/05/00
  8. //
  9. //-------------------------------------------------------------
  10.  
  11. #ifndef _INCLUDE_XENON_H
  12. #define _INCLUDE_XENON_H
  13.  
  14. #include "gamesystem.h"
  15. #include "options.h"
  16.  
  17. //-------------------------------------------------------------
  18.  
  19. class CXenon : public gsCApplication
  20. {
  21.     private:
  22.         CGameState *m_game_state;
  23.  
  24.     protected:
  25.         friend class CGameState;
  26.  
  27.         bool changeState(CGameState *new_game_state);
  28.  
  29.     public:
  30.         CXenon(const char *app_name) : gsCApplication(app_name) { };
  31.         ~CXenon() { };
  32.  
  33.         bool initialize();
  34.         bool mainloop();
  35.         bool shutdown();
  36. };
  37.  
  38. //-------------------------------------------------------------
  39.  
  40. #endif
  41.