X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=args.h;h=8d07b20d26314d913845144d82fe3c749df6032f;hb=1eb96d7121b161a946efaf18eded57d630f21ad1;hp=30ffe16a4d871f2a23ffb586383032f4f72ebf5d;hpb=2087ac0f61e84f7f71cbea5a0a3325374f9e76ee;p=xboard.git diff --git a/args.h b/args.h index 30ffe16..8d07b20 100644 --- a/args.h +++ b/args.h @@ -716,6 +716,7 @@ ArgDescriptor argDescriptors[] = { { "messageSuppress", ArgString, (void *) &appData.suppress, XBOARD, (ArgIniType) "" }, { "fen", ArgString, (void *) &appData.fen, FALSE, (ArgIniType) "" }, { "men", ArgString, (void *) &appData.men, FALSE, (ArgIniType) "" }, + { "analysisBell", ArgInt, (void *) &appData.analysisBell, TRUE, (ArgIniType) 0 }, #if ZIPPY { "zippyTalk", ArgBoolean, (void *) &appData.zippyTalk, FALSE, (ArgIniType) ZIPPY_TALK }, @@ -1415,7 +1416,11 @@ InitAppData(char *lpCmdLine) appData.NrRanks > BOARD_RANKS ) DisplayFatalError("Recompile with BOARD_RANKS or BOARD_FILES, to support this size", 0, 2); - if(!*appData.secondChessProgram) { ASSIGN(appData.secondChessProgram, appData.firstChessProgram); } // [HGM] scp defaults to fcp + if(!*appData.secondChessProgram) { // [HGM] scp defaults to fcp + ASSIGN(appData.secondChessProgram, appData.firstChessProgram); + ASSIGN(appData.secondDirectory, appData.firstDirectory); + appData.secondIsUCI = appData.firstIsUCI; // copy type too! + } /* [HGM] After parsing the options from the .ini file, and overruling them * with options from the command line, we now make an even higher priority