X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=2b0ddf0f7f1b9ce830a7b714784c360a3da08e9b;hb=8cadd120c307bb1049f6d08d9ae23f67432bd038;hp=e6c3b20427b31f6a80838c3a94f82f27e0a987f5;hpb=62e5284278f8b168b7eabed3fbf28d39455d7d8c;p=xboard.git diff --git a/common.h b/common.h index e6c3b20..2b0ddf0 100644 --- a/common.h +++ b/common.h @@ -180,6 +180,10 @@ 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 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 */ +#define EP_FILE CASTLING][(BOARD_FILES-3) /* [HGM] in upper rank */ #define EP_STATUS CASTLING][(BOARD_FILES-2) /* [HGM] in upper rank */ #define HOLDINGS_SET CASTLING][(BOARD_FILES-1) /* [HGM] in upper-right corner*/ #define ONE ('1'-(BOARD_HEIGHT==10)) /* [HGM] foremost board rank */ @@ -508,6 +512,7 @@ typedef struct { char *loadGameFile; int loadGameIndex; /* game # within file */ char *saveGameFile; + char *autoInstall; Boolean autoSaveGames; Boolean onlyOwn; /* [HGM] suppress auto-saving of observed games */ char *loadPositionFile; @@ -751,6 +756,7 @@ typedef struct { char *logo[ENGINES];/* [HGM] logo */ char *pairingEngine;/* [HGM] pairing */ Boolean autoLogo; + Boolean fixedSize; Boolean noGUI; /* [HGM] fast: suppress all display updates */ char *engOptions[ENGINES]; /* [HGM] options */ char *fenOverride[ENGINES]; @@ -833,6 +839,7 @@ typedef struct { int whiteRating; /* -1 if unknown */ int blackRating; /* -1 if unknown */ VariantClass variant; + char *variantName; char *outOfBook; /* [AS] Move and score when engine went out of book */ int boardWidth; /* [HGM] adjustable board size */ int boardHeight;