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

  1. //-------------------------------------------------------------
  2. //
  3. // Program:    Demo 4 Header File
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    20/08/00
  8. //
  9. //-------------------------------------------------------------
  10.  
  11. #ifndef _INCLUDE_DEMO4_H
  12. #define _INCLUDE_DEMO4_H
  13.  
  14. //-------------------------------------------------------------
  15. // Include header for GameSystem library
  16.  
  17. #include "gamesystem.h"
  18.  
  19. //-------------------------------------------------------------
  20. // Include main game headers
  21.  
  22. #include "level.h"
  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 "alien.h"
  38. #include "rusher.h"
  39.  
  40. #include "explosion.h"
  41.  
  42. #include "gamestate.h"
  43. #include "playgamestate.h"
  44.  
  45. //-------------------------------------------------------------
  46.  
  47. class CDemo4 : public gsCApplication
  48. {
  49.     private:
  50.         CGameState *m_game_state;
  51.  
  52.     protected:
  53.         friend class CGameState;
  54.  
  55.         bool changeState(CGameState *new_game_state);
  56.  
  57.     public:
  58.  
  59.         CDemo4(const char *app_name) : gsCApplication(app_name) { };
  60.         ~CDemo4() { };
  61.  
  62.         bool initialize();
  63.         bool mainloop();
  64.         bool shutdown();
  65. };
  66.  
  67. //-------------------------------------------------------------
  68.  
  69. #endif
  70.  
  71.