mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
add option to prevent switching players by tapping scoreboard (to
mimic android)
This commit is contained in:
parent
96fead3164
commit
09b5c44fb4
1 changed files with 5 additions and 0 deletions
|
@ -216,6 +216,7 @@ typedef enum {
|
||||||
,CMD_HIDEVALUES
|
,CMD_HIDEVALUES
|
||||||
,CMD_SKIPCONFIRM
|
,CMD_SKIPCONFIRM
|
||||||
,CMD_VERTICALSCORE
|
,CMD_VERTICALSCORE
|
||||||
|
,CMD_NOPEEK
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
,CMD_HINTRECT
|
,CMD_HINTRECT
|
||||||
#endif
|
#endif
|
||||||
|
@ -283,6 +284,7 @@ static CmdInfoRec CmdInfoRecs[] = {
|
||||||
,{ CMD_HIDEVALUES, false, "hide-values", "show letters, not nums, on tiles" }
|
,{ CMD_HIDEVALUES, false, "hide-values", "show letters, not nums, on tiles" }
|
||||||
,{ CMD_SKIPCONFIRM, false, "skip-confirm", "don't confirm before commit" }
|
,{ CMD_SKIPCONFIRM, false, "skip-confirm", "don't confirm before commit" }
|
||||||
,{ CMD_VERTICALSCORE, false, "vertical", "scoreboard is vertical" }
|
,{ CMD_VERTICALSCORE, false, "vertical", "scoreboard is vertical" }
|
||||||
|
,{ CMD_NOPEEK, false, "no-peek", "disallow scoreboard tap changing player" }
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
,{ CMD_HINTRECT, false, "hintrect", "enable draggable hint-limits rect" }
|
,{ CMD_HINTRECT, false, "hintrect", "enable draggable hint-limits rect" }
|
||||||
#endif
|
#endif
|
||||||
|
@ -1044,6 +1046,9 @@ main( int argc, char** argv )
|
||||||
case CMD_VERTICALSCORE:
|
case CMD_VERTICALSCORE:
|
||||||
mainParams.verticalScore = XP_TRUE;
|
mainParams.verticalScore = XP_TRUE;
|
||||||
break;
|
break;
|
||||||
|
case CMD_NOPEEK:
|
||||||
|
mainParams.allowPeek = XP_FALSE;
|
||||||
|
break;
|
||||||
#ifdef XWFEATURE_SLOW_ROBOT
|
#ifdef XWFEATURE_SLOW_ROBOT
|
||||||
case CMD_SLOWROBOT:
|
case CMD_SLOWROBOT:
|
||||||
if ( !parsePair( optarg, &mainParams.robotThinkMin,
|
if ( !parsePair( optarg, &mainParams.robotThinkMin,
|
||||||
|
|
Loading…
Add table
Reference in a new issue