X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=9f54f4717177cd3324fd85520da931957785178d;hb=1a37d04c539f7b8d702c9ea76009ee196969ca38;hp=86a9c5cbef40f33d9b41acc5bfcc88ea2f858fcc;hpb=b52aafe5fc484a170251d4bb5bad039ffbbda4df;p=xboard.git diff --git a/common.h b/common.h index 86a9c5c..9f54f47 100644 --- a/common.h +++ b/common.h @@ -180,6 +180,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 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 */ @@ -836,6 +838,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;