From 6dc21ae7a8001e51279892e52b3445088f2ece00 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Sat, 17 Jul 2010 06:22:42 -0700 Subject: [PATCH] pass (hard-coded) param controlling non-turn board switching --- xwords4/linux/gtkmain.c | 1 + xwords4/linux/linuxmain.c | 1 + xwords4/linux/main.h | 1 + 3 files changed, 3 insertions(+) diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index dd404218d..e5afaf2b7 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -2104,6 +2104,7 @@ gtkmain( LaunchParams* params, int argc, char *argv[] ) globals.cp.skipCommitConfirm = params->skipCommitConfirm; globals.cp.sortNewTiles = params->sortNewTiles; globals.cp.showColors = params->showColors; + globals.cp.allowPeek = params->allowPeek; globals.cp.showRobotScores = params->showRobotScores; #ifdef XWFEATURE_SLOW_ROBOT globals.cp.robotThinkMin = params->robotThinkMin; diff --git a/xwords4/linux/linuxmain.c b/xwords4/linux/linuxmain.c index 5043b83c7..523af669c 100644 --- a/xwords4/linux/linuxmain.c +++ b/xwords4/linux/linuxmain.c @@ -792,6 +792,7 @@ main( int argc, char** argv ) #endif mainParams.skipCommitConfirm = XP_TRUE; mainParams.showColors = XP_TRUE; + mainParams.allowPeek = XP_TRUE; /* serverName = mainParams.info.clientInfo.serverName = "localhost"; */ diff --git a/xwords4/linux/main.h b/xwords4/linux/main.h index e344dde94..db1a22744 100644 --- a/xwords4/linux/main.h +++ b/xwords4/linux/main.h @@ -59,6 +59,7 @@ typedef struct LaunchParams { XP_Bool verticalScore; XP_Bool hideValues; XP_Bool showColors; + XP_Bool allowPeek; XP_Bool sortNewTiles; XP_Bool skipCommitConfirm; XP_Bool needsNewGame;