Generalize FEN e.p. field to handle diagonal and triple pushes
[xboard.git] / common.h
index 9a4c2c4..16942e5 100644 (file)
--- a/common.h
+++ b/common.h
@@ -181,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        */
@@ -816,6 +818,7 @@ typedef struct {
     int tourneyType;
     int tourneyCycles;
     int seedBase;
+    int bmpSave;
     Boolean roundSync;
     Boolean cycleSync;
     Boolean numberTag;