home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / XenonSource.exe / demo2 / demo2.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-13  |  1.2 KB  |  66 lines

  1. //-------------------------------------------------------------
  2. //
  3. // Program:    Demo 2 Header File
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    20/08/00
  8. //
  9. //-------------------------------------------------------------
  10.  
  11. #ifndef _INCLUDE_DEMO2_H
  12. #define _INCLUDE_DEMO2_H
  13.  
  14. #include "gamesystem.h"
  15.  
  16. //-------------------------------------------------------------
  17. // Include header for GameSystem library
  18.  
  19. #include "gamesystem.h"
  20.  
  21. //-------------------------------------------------------------
  22. // Include main game headers
  23.  
  24. #include "actorinfo.h"
  25.  
  26. #include "actor.h"
  27. #include "scene.h"
  28.  
  29. #include "ship.h"
  30.  
  31. #include "bullet.h"
  32. #include "missile.h"
  33.  
  34. #include "weapon.h"
  35. #include "missileweapon.h"
  36.  
  37. #include "gamestate.h"
  38. #include "playgamestate.h"
  39.  
  40. //-------------------------------------------------------------
  41.  
  42. class CDemo2 : public gsCApplication
  43. {
  44.     private:
  45.         CGameState *m_game_state;
  46.  
  47.     protected:
  48.         friend class CGameState;
  49.  
  50.         bool changeState(CGameState *new_game_state);
  51.  
  52.     public:
  53.  
  54.         CDemo2(const char *app_name) : gsCApplication(app_name) { };
  55.         ~CDemo2() { };
  56.  
  57.         bool initialize();
  58.         bool mainloop();
  59.         bool shutdown();
  60. };
  61.  
  62. //-------------------------------------------------------------
  63.  
  64. #endif
  65.  
  66.