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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    COptionsMenuState
  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_OPTIONSMENUSTATE_H
  16. #define _INCLUDE_OPTIONSMENUSTATE_H
  17.  
  18. #include "gamestate.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class COptionsMenuState : public CGameState
  23. {
  24.     private:
  25.  
  26.         static COptionsMenuState *m_instance;
  27.  
  28.         gsCMenu m_menu;
  29.  
  30.         typedef enum {
  31.             OM_CONTROL,
  32.             OM_VIDEO,
  33.             OM_AUDIO,
  34.             OM_SEPERATOR,
  35.             OM_BACK
  36.         } OptionsMenuItem;
  37.  
  38.     public:
  39.         COptionsMenuState();
  40.         ~COptionsMenuState();
  41.  
  42.         static CGameState *instance();
  43.         
  44.         bool create();
  45.         bool update();
  46. };
  47.  
  48. //-------------------------------------------------------------
  49.  
  50. #endif
  51.  
  52.