X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=c657ef79df51fdf62459b10c3764d9504cf5b51e;hb=2d0f4769e69d228d9593c574014c634706edea97;hp=236a69df7ebadefbfbdd6005377285e32237d14a;hpb=02de46755f727ffb565f7c855f37c344eee925ff;p=xboard.git diff --git a/common.h b/common.h index 236a69d..c657ef7 100644 --- a/common.h +++ b/common.h @@ -132,10 +132,13 @@ int pclose(FILE *); #define BOARD_LEFT (gameInfo.holdingsWidth) /* [HGM] play-board edges */ #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 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>9)) /* [HGM] foremost board rank */ #define AAA ('a'-BOARD_LEFT) /* [HGM] leftmost board file */ +#define VIRGIN_W 1 /* [HGM] flags in Board[VIRGIN][X] */ +#define VIRGIN_B 2 #define DROP_RANK -3 #define MAX_MOVES 1000 #define MSG_SIZ 512 @@ -384,6 +387,8 @@ typedef struct { char *jailSquareColor; char *highlightSquareColor; char *premoveHighlightColor; + char *dialogColor; + char *buttonColor; #else int whitePieceColor; int blackPieceColor; @@ -434,6 +439,8 @@ typedef struct { Boolean debugMode; Boolean clockMode; char *boardSize; + char *logoDir; + int logoSize; Boolean Iconic; char *searchTime; int searchDepth;