X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=2aff360d67c924cd744ba7bec90cbd2da1636d91;hb=e30a78284219ac19697175114c16740c7aab850b;hp=0136a006d7189e3938ea11ff4fa85d0fd82d319c;hpb=2f0884e0846edf141d42ea2d5e3fcbc6949f50f6;p=xboard.git diff --git a/common.h b/common.h index 0136a00..2aff360 100644 --- 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 LAST_RANK CASTLING][(BOARD_FILES-8) /* [HGM] in upper rank */ +#define LAST_FILE 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 */ @@ -559,6 +561,7 @@ typedef struct { Boolean flipView; Boolean autoFlipView; char *cmailGameName; /* xboard only */ + Boolean moveTime; Boolean headers; Boolean alwaysPromoteToQueen; Boolean oldSaveStyle; @@ -645,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;