From: H.G. Muller Date: Mon, 15 Feb 2010 18:07:12 +0000 (+0100) Subject: Add option -shuffleOpenings X-Git-Tag: master-20100221~11 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ebfaa88338548f178c5e49fe92f0c80b7a2dd480;p=xboard.git Add option -shuffleOpenings This volatile option is added just to make the existing variable available from the command line, not only from the menus. --- diff --git a/args.h b/args.h index cbd63dc..1b736cc 100644 --- a/args.h +++ b/args.h @@ -512,6 +512,7 @@ ArgDescriptor argDescriptors[] = { { "debugfile", ArgFilename, (void *) &appData.nameOfDebugFile, FALSE, INVALID }, { "pgnEventHeader", ArgString, (void *) &appData.pgnEventHeader, TRUE, (ArgIniType) "Computer Chess Game" }, { "defaultFrcPosition", ArgInt, (void *) &appData.defaultFrcPosition, TRUE, (ArgIniType) -1 }, + { "shuffleOpenings", ArgTrue, (void *) &shuffleOpenings, FALSE, INVALID }, { "gameListTags", ArgString, (void *) &appData.gameListTags, TRUE, (ArgIniType) GLT_DEFAULT_TAGS }, { "saveOutOfBookInfo", ArgBoolean, (void *) &appData.saveOutOfBookInfo, TRUE, (ArgIniType) TRUE }, { "showEvalInMoveHistory", ArgBoolean, (void *) &appData.showEvalInMoveHistory, TRUE, (ArgIniType) TRUE },