parent
6dc589669f
commit
7a99164111
|
@ -28,6 +28,8 @@
|
|||
|
||||
#define QT_UI
|
||||
|
||||
//#define SELF_MOVE
|
||||
|
||||
//#define MOBILE_APP_UI
|
||||
|
||||
//#define TRAINING_MODE
|
||||
|
@ -104,6 +106,10 @@
|
|||
#define DONOT_PLAY_SOUND
|
||||
#endif
|
||||
|
||||
#ifdef SELF_MOVE
|
||||
#define DONOT_PLAY_SOUND
|
||||
#endif
|
||||
|
||||
//#define DONOT_PLAY_SOUND
|
||||
|
||||
#ifdef DEBUG_MODE
|
||||
|
|
|
@ -57,7 +57,11 @@ private:
|
|||
bool isAutoRestart { false };
|
||||
bool isAutoChangeFirstMove { false };
|
||||
bool resignIfMostLose { false };
|
||||
#ifdef SELF_MOVE
|
||||
bool randomMoveEnabled { false };
|
||||
#else
|
||||
bool randomMoveEnabled { true };
|
||||
#endif
|
||||
#ifdef ENDGAME_LEARNING_FORCE
|
||||
bool learnEndgame { true };
|
||||
#else
|
||||
|
|
|
@ -209,6 +209,11 @@ void MillGameWindow::initialize()
|
|||
//ui.actionEngine2_R->setChecked(false);
|
||||
#endif // TEST_MODE
|
||||
|
||||
#ifdef SELF_MOVE
|
||||
ui.actionEngine1_T->setChecked(true);
|
||||
ui.actionEngine2_R->setChecked(true);
|
||||
#endif // SELF_MOVE
|
||||
|
||||
connect(ui.actionSound_S, SIGNAL(toggled(bool)),
|
||||
gameController, SLOT(setSound(bool)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue