add option to prevent switching players by tapping scoreboard (to

mimic android)
This commit is contained in:
Andy2 2011-01-21 21:29:28 -08:00
parent 96fead3164
commit 09b5c44fb4

View file

@ -216,6 +216,7 @@ typedef enum {
,CMD_HIDEVALUES
,CMD_SKIPCONFIRM
,CMD_VERTICALSCORE
,CMD_NOPEEK
#ifdef XWFEATURE_SEARCHLIMIT
,CMD_HINTRECT
#endif
@ -283,6 +284,7 @@ static CmdInfoRec CmdInfoRecs[] = {
,{ CMD_HIDEVALUES, false, "hide-values", "show letters, not nums, on tiles" }
,{ CMD_SKIPCONFIRM, false, "skip-confirm", "don't confirm before commit" }
,{ CMD_VERTICALSCORE, false, "vertical", "scoreboard is vertical" }
,{ CMD_NOPEEK, false, "no-peek", "disallow scoreboard tap changing player" }
#ifdef XWFEATURE_SEARCHLIMIT
,{ CMD_HINTRECT, false, "hintrect", "enable draggable hint-limits rect" }
#endif
@ -1044,6 +1046,9 @@ main( int argc, char** argv )
case CMD_VERTICALSCORE:
mainParams.verticalScore = XP_TRUE;
break;
case CMD_NOPEEK:
mainParams.allowPeek = XP_FALSE;
break;
#ifdef XWFEATURE_SLOW_ROBOT
case CMD_SLOWROBOT:
if ( !parsePair( optarg, &mainParams.robotThinkMin,