mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +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_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,
|
||||
|
|
Loading…
Reference in a new issue