X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=236a69df7ebadefbfbdd6005377285e32237d14a;hb=02de46755f727ffb565f7c855f37c344eee925ff;hp=c01801697fc6fc43d15ee4a79582a8d8472833f0;hpb=ca6061cbffe88ff5eb2332e733e0a534b89cc5e7;p=xboard.git diff --git a/common.h b/common.h index c018016..236a69d 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 * @@ -461,8 +461,7 @@ typedef struct { Boolean autoComment; Boolean getMoveList; Boolean testLegality; - int borderXoffset; /* xboard only */ - int borderYoffset; /* xboard only */ + Boolean topLevel; /* xboard, top-level auxiliary windows */ Boolean titleInWindow; /* xboard only */ Boolean localLineEditing; /* WinBoard only */ Boolean zippyTalk; @@ -563,6 +562,8 @@ typedef struct { Boolean useStickyWindows; Boolean bgObserve; /* [HGM] bughouse */ Boolean dualBoard; /* [HGM] dual */ + Boolean viewer; + char * viewerOptions; int adjudicateDrawMoves; Boolean autoDisplayComment; Boolean autoDisplayTags; @@ -621,6 +622,7 @@ typedef struct { Boolean lowTimeWarning; /* [HGM] low time */ char *lowTimeWarningColor; + char *serverFileName; char *serverMovesName; Boolean suppressLoadMoves; int serverPause; @@ -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,9 @@ typedef struct { Boolean noGUI; /* [HGM] fast: suppress all display updates */ char *engOptions[ENGINES]; /* [HGM] options */ char *fenOverride[ENGINES]; + char *features[ENGINES]; + char *featureDefaults; + char *sysOpen; Boolean keepAlive; /* [HGM] alive */ Boolean forceIllegal;/*[HGM] illegal */ Boolean noJoin; /* [HGM] join */ @@ -659,23 +665,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 +761,8 @@ extern WindowPlacement wpMoveHistory; extern WindowPlacement wpGameList; extern WindowPlacement wpTags; +#define MAXENGINES 2000 + // [HGM] chat #define MAX_CHAT 5 extern int chatCount;