X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=09be05a92cab282e9827e39a80dbeefe5a783c25;hb=a61f78756889e18aa279dc273bd99b9af60468d7;hp=e76320cd8600eeac501b2e015cb156ea170df4ae;hpb=0c082fce711802c67feae5dd1ddadad022a48147;p=xboard.git diff --git a/common.h b/common.h index e76320c..09be05a 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 * @@ -384,6 +384,8 @@ typedef struct { char *jailSquareColor; char *highlightSquareColor; char *premoveHighlightColor; + char *dialogColor; + char *buttonColor; #else int whitePieceColor; int blackPieceColor; @@ -434,6 +436,8 @@ typedef struct { Boolean debugMode; Boolean clockMode; char *boardSize; + char *logoDir; + int logoSize; Boolean Iconic; char *searchTime; int searchDepth; @@ -461,8 +465,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 +566,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 +626,7 @@ typedef struct { Boolean lowTimeWarning; /* [HGM] low time */ char *lowTimeWarningColor; + char *serverFileName; char *serverMovesName; Boolean suppressLoadMoves; int serverPause; @@ -651,6 +657,7 @@ typedef struct { char *fenOverride[ENGINES]; char *features[ENGINES]; char *featureDefaults; + char *sysOpen; Boolean keepAlive; /* [HGM] alive */ Boolean forceIllegal;/*[HGM] illegal */ Boolean noJoin; /* [HGM] join */ @@ -662,23 +669,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) */ @@ -753,6 +765,8 @@ extern WindowPlacement wpMoveHistory; extern WindowPlacement wpGameList; extern WindowPlacement wpTags; +#define MAXENGINES 2000 + // [HGM] chat #define MAX_CHAT 5 extern int chatCount;