X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=c657ef79df51fdf62459b10c3764d9504cf5b51e;hb=2d0f4769e69d228d9593c574014c634706edea97;hp=2d8162b64d54aeae768dd72569f2a940b8de8cee;hpb=24f7a493a2d030011b0a4f883eaeeb6cbf991414;p=xboard.git diff --git a/common.h b/common.h index 2d8162b..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 @@ -436,6 +439,8 @@ typedef struct { Boolean debugMode; Boolean clockMode; char *boardSize; + char *logoDir; + int logoSize; Boolean Iconic; char *searchTime; int searchDepth;