X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=4f78597cc11793d56e960346dfaee3c043018e7c;hb=4d6bd700a90b76e2b34fbfba71e6f0fb61c556ae;hp=4b31719a63afa0c046323d470880806867b36d67;hpb=88082a3882690efd9ea7d3e01ad9d6dd5f5baf86;p=xboard.git diff --git a/common.h b/common.h index 4b31719..4f78597 100644 --- a/common.h +++ b/common.h @@ -250,7 +250,8 @@ typedef enum { typedef ChessSquare Board[BOARD_RANKS][BOARD_FILES]; typedef enum { - WhiteKingSideCastle = 1, WhiteQueenSideCastle, + EndOfFile = 0, + WhiteKingSideCastle, WhiteQueenSideCastle, WhiteKingSideCastleWild, WhiteQueenSideCastleWild, WhiteHSideCastleFR, WhiteASideCastleFR, BlackKingSideCastle, BlackQueenSideCastle, @@ -384,7 +385,7 @@ typedef struct { int premoveHighlightColor; #endif int movesPerSession; - int timeIncrement; + float timeIncrement; char *initString; char *secondInitString; char *firstComputerString; @@ -494,6 +495,7 @@ typedef struct { char *soundIcsLoss; char *soundIcsDraw; char *soundIcsUnfinished; + Boolean disguise; /* [HGM] Promoted Pawns look like pieces in bughouse */ Boolean reuseFirst; Boolean reuseSecond; Boolean animateDragging; /* If True, animate mouse dragging of pieces */ @@ -650,7 +652,9 @@ typedef struct { Boolean markers; /* [HGM] markers */ } AppData, *AppDataPtr; -/* [AS] PGN tags (for showing in the game list) */ +/* PGN tags (for showing in the game list) */ +#define LPUSERGLT_SIZE 64 + #define GLT_EVENT 'e' #define GLT_SITE 's' #define GLT_DATE 'd'