pass (hard-coded) param controlling non-turn board switching

This commit is contained in:
Andy2 2010-07-17 06:22:42 -07:00
parent 5b8cf716b3
commit 6dc21ae7a8
3 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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"; */

View file

@ -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;