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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CIntroState
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CGameState
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_INTROSTATE_H
  16. #define _INCLUDE_INTROSTATE_H
  17.  
  18. #include "gamestate.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class CIntroState : public CGameState
  23. {
  24.     private:
  25.         static CIntroState *m_instance;
  26.  
  27.         gsCMenu m_menu;
  28.  
  29.         typedef enum {
  30.             IM_TITLE,
  31.             IM_SEPERATOR,
  32.             IM_FIRSTFILE
  33.         } IntroMenuItem;
  34.  
  35.         gsCList<char *> m_files;
  36.  
  37.     public:
  38.         CIntroState();
  39.         ~CIntroState();
  40.  
  41.         static CGameState *instance();
  42.         
  43.         bool create();
  44.         bool update();
  45.         bool destroy();
  46. };
  47.  
  48. //-------------------------------------------------------------
  49.  
  50. #endif
  51.