home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Games / Chess++ 3.0.1 / source / CChessOptionsDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-25  |  931 b   |  44 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CNewDocDialog.h
  3.  
  4.         Interface for CChessOptionsDialog class.
  5.         
  6.     SUPERCLASS = CDLOGDirector
  7.     
  8.     Copyright © 1993 Steven J. Bushell. All rights reserved.
  9.     
  10.  
  11.  ******************************************************************************/
  12.  
  13. #define _H_CChessOptionsDialog
  14.  
  15. #include "CDLOGDirector.h"
  16.  
  17. class CChessOptionsDialog : public CDLOGDirector
  18. {
  19.     short    selectedSearchDepth;
  20.     Boolean    selectedSoundOnBetterMoves;
  21.     Boolean selectedShowThoughts;
  22.     Boolean    selectedBackPropagation;
  23.     long    selectedBackgroundTimeInterval;
  24.  
  25. public:
  26.  
  27.     void     IChessOptionsDialog( CDirectorOwner *aSupervisor);
  28.     
  29.     virtual void DoChessOptionsDialog( void);
  30.     
  31.     void    DoCommand(long theCommand);
  32. };
  33.  
  34. enum    // dialog item IDs
  35. {
  36.     kRadioGroupID = 2,
  37.     kEasyGame,
  38.     kHardGame,
  39.     kWayHardGame,
  40.     kSoundOnBetterMoves = 10,
  41.     kShowThoughts,
  42.     kDoReallyCoolThings,
  43.     kBackgroundTimeInterval = 15
  44. };