X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=55daf2959c2cb06f37460f4e0c120db9dcae7e04;hb=718933f1c67acc537f88199e4c72e3ad1b6a32d7;hp=61d0c5e26fbc8ed1a5f7c451dbfc56f543d31e3a;hpb=6bead4fda35db0cb9ec61309ee7cd9c99bb53475;p=xboard.git diff --git a/common.h b/common.h index 61d0c5e..55daf29 100644 --- a/common.h +++ b/common.h @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -180,6 +181,8 @@ typedef char *String; #define BOARD_RGHT (gameInfo.boardWidth + gameInfo.holdingsWidth) #define CASTLING (BOARD_RANKS-1) /* [HGM] hide in upper rank */ #define VIRGIN (BOARD_RANKS-2) /* [HGM] pieces not moved */ +#define CHECK_COUNT CASTLING][(BOARD_FILES-8) /* [HGM] in upper rank */ +#define LAST_TO CASTLING][(BOARD_FILES-7) /* [HGM] in upper rank */ #define TOUCHED_W CASTLING][(BOARD_FILES-6) /* [HGM] in upper rank */ #define TOUCHED_B CASTLING][(BOARD_FILES-5) /* [HGM] in upper rank */ #define EP_RANK CASTLING][(BOARD_FILES-4) /* [HGM] in upper rank */ @@ -225,7 +228,7 @@ typedef char *String; #define LOWTIMEWARNING_COLOR "#FF0000" #define BELLCHAR '\007' #define NULLCHAR '\000' -#define FEATURE_TIMEOUT 10000 /*ms*/ +#define FEATURE_TIMEOUT 1000 /*ms*/ #define MATE_SCORE 100000 #define CLOCK_FONT 0 @@ -552,11 +555,13 @@ typedef struct { char *historyFont; char *gameListFont; char *icsFont; + int analysisBell; Boolean ringBellAfterMoves; Boolean autoCallFlag; Boolean flipView; Boolean autoFlipView; char *cmailGameName; /* xboard only */ + Boolean moveTime; Boolean headers; Boolean alwaysPromoteToQueen; Boolean oldSaveStyle; @@ -575,6 +580,7 @@ typedef struct { Boolean localLineEditing; /* WinBoard only */ Boolean zippyTalk; Boolean zippyPlay; + int jewelled; int flashCount; /* Number of times to flash (xboard only) */ int flashRate; /* Flashes per second (xboard only) */ int msLoginDelay; /* Delay per character (in msec) while sending @@ -642,6 +648,7 @@ typedef struct { Boolean scoreIsAbsolute[ENGINES]; /* If true, engine score is always from white side */ Boolean saveExtendedInfoInPGN; /* If true, saved PGN games contain extended info */ Boolean hideThinkingFromHuman; /* If true, program thinking is generated but not displayed in human/computer matches */ + Boolean cumulativeTimePGN; /* If true, times saved in PGN extended info is time left on clock */ Boolean useBitmaps; Boolean useFont; Boolean useBorder; @@ -795,8 +802,14 @@ typedef struct { Boolean scoreWhite; Boolean pvSAN[ENGINES]; + int defProtocol; int recentEngines; char *recentEngineList; + char *defEngDir; + char *message; + char *suppress; + char *fen; + char *men; char *tourneyFile; char *defName; char *processes; @@ -807,6 +820,7 @@ typedef struct { int tourneyType; int tourneyCycles; int seedBase; + int bmpSave; Boolean roundSync; Boolean cycleSync; Boolean numberTag;