X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=9e1c3dd9832e14d33936e3103184270dd69c949d;hb=6d2eb06e7ad56484b364a517cea83c85919f2bd8;hp=c01801697fc6fc43d15ee4a79582a8d8472833f0;hpb=ca6061cbffe88ff5eb2332e733e0a534b89cc5e7;p=xboard.git diff --git a/common.h b/common.h index c018016..9e1c3dd 100644 --- a/common.h +++ b/common.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -563,6 +563,8 @@ typedef struct { Boolean useStickyWindows; Boolean bgObserve; /* [HGM] bughouse */ Boolean dualBoard; /* [HGM] dual */ + Boolean viewer; + char * viewerOptions; int adjudicateDrawMoves; Boolean autoDisplayComment; Boolean autoDisplayTags; @@ -636,6 +638,7 @@ typedef struct { int searchMode; int stretch; Boolean ignoreColors; + Boolean findMirror; char *userName; int rewindIndex; /* [HGM] autoinc */ int sameColorGames; /* [HGM] alternate */ @@ -648,6 +651,8 @@ typedef struct { Boolean noGUI; /* [HGM] fast: suppress all display updates */ char *engOptions[ENGINES]; /* [HGM] options */ char *fenOverride[ENGINES]; + char *features[ENGINES]; + char *featureDefaults; Boolean keepAlive; /* [HGM] alive */ Boolean forceIllegal;/*[HGM] illegal */ Boolean noJoin; /* [HGM] join */ @@ -659,23 +664,28 @@ typedef struct { int evalThreshold; /* [HGM] evalGraph */ Boolean dropMenu; /* [HGM] pv */ Boolean markers; /* [HGM] markers */ + Boolean autoCopyPV; Boolean pieceMenu; Boolean sweepSelect; Boolean whitePOV; Boolean scoreWhite; Boolean pvSAN[ENGINES]; + int recentEngines; + char *recentEngineList; char *tourneyFile; char *defName; char *processes; char *results; char *participants; char *afterGame; + char *afterTourney; int tourneyType; int tourneyCycles; int seedBase; Boolean roundSync; Boolean cycleSync; + Boolean numberTag; } AppData, *AppDataPtr; /* PGN tags (for showing in the game list) */ @@ -750,6 +760,8 @@ extern WindowPlacement wpMoveHistory; extern WindowPlacement wpGameList; extern WindowPlacement wpTags; +#define MAXENGINES 2000 + // [HGM] chat #define MAX_CHAT 5 extern int chatCount;