X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=2d8162b64d54aeae768dd72569f2a940b8de8cee;hb=24f7a493a2d030011b0a4f883eaeeb6cbf991414;hp=5f8f5f1bc954acfc8ada87e8bd6b4a59a2633e33;hpb=c69beebf3decbe67eb92beab56bbc34c41c39831;p=xboard.git diff --git a/common.h b/common.h index 5f8f5f1..2d8162b 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 * @@ -109,7 +109,7 @@ int pclose(FILE *); // [HGM] license: Messages that engines must print to satisfy their license requirements for patented variants #define GOTHIC "Gothic Chess (see www.GothicChess.com) is licensed under U.S. Patent #6,481,716 by Ed Trice" -#define NOFALCON "Falcon Chess (see www.chessvariants.com) is licensed under U.S. Patent #5,690,334 by George W. Duke" +#define FALCON "Falcon Chess (see www.chessvariants.com) is licensed under U.S. Patent #5,690,334 by George W. Duke" /* [HGM] Some notes about board sizes: In games that allow piece drops, the holdings are considered part of the @@ -384,6 +384,8 @@ typedef struct { char *jailSquareColor; char *highlightSquareColor; char *premoveHighlightColor; + char *dialogColor; + char *buttonColor; #else int whitePieceColor; int blackPieceColor; @@ -461,8 +463,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 +564,8 @@ typedef struct { Boolean useStickyWindows; Boolean bgObserve; /* [HGM] bughouse */ Boolean dualBoard; /* [HGM] dual */ + Boolean viewer; + char * viewerOptions; int adjudicateDrawMoves; Boolean autoDisplayComment; Boolean autoDisplayTags; @@ -572,6 +575,7 @@ typedef struct { char * ucciAdapter; char * polyglotDir; Boolean usePolyglotBook; + Boolean defNoBook; char * polyglotBook; int bookDepth; int bookStrength; @@ -620,6 +624,7 @@ typedef struct { Boolean lowTimeWarning; /* [HGM] low time */ char *lowTimeWarningColor; + char *serverFileName; char *serverMovesName; Boolean suppressLoadMoves; int serverPause; @@ -633,6 +638,9 @@ typedef struct { int eloThreshold2; int dateThreshold; int searchMode; + int stretch; + Boolean ignoreColors; + Boolean findMirror; char *userName; int rewindIndex; /* [HGM] autoinc */ int sameColorGames; /* [HGM] alternate */ @@ -645,6 +653,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 */ @@ -656,21 +667,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) */ @@ -745,6 +763,8 @@ extern WindowPlacement wpMoveHistory; extern WindowPlacement wpGameList; extern WindowPlacement wpTags; +#define MAXENGINES 2000 + // [HGM] chat #define MAX_CHAT 5 extern int chatCount;