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

  1. //-------------------------------------------------------------
  2. //
  3. // Program:    Demo 5 Header File
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    20/08/00
  8. //
  9. //-------------------------------------------------------------
  10.  
  11. #ifndef _INCLUDE_DEMO5_H
  12. #define _INCLUDE_DEMO5_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 "asteroid.h"
  39.  
  40. #include "explosion.h"
  41.  
  42. #include "particleeffect.h"
  43. #include "dusteffect.h"
  44.  
  45. #include "gamestate.h"
  46. #include "playgamestate.h"
  47.  
  48. //-------------------------------------------------------------
  49.  
  50. class CDemo5 : public gsCApplication
  51. {
  52.     private:
  53.         CGameState *m_game_state;
  54.  
  55.     protected:
  56.         friend class CGameState;
  57.  
  58.         bool changeState(CGameState *new_game_state);
  59.  
  60.     public:
  61.  
  62.         CDemo5(const char *app_name) : gsCApplication(app_name) { };
  63.         ~CDemo5() { };
  64.  
  65.         bool initialize();
  66.         bool mainloop();
  67.         bool shutdown();
  68. };
  69.  
  70. //-------------------------------------------------------------
  71.  
  72. #endif
  73.  
  74.