X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=64e4ece3359da4438b3a1de8b192e3ae93294b07;hb=c58a7d956483a2164650aad3f4b5f65928791a34;hp=9b9b0e66d265eb5f6ae3c1479d9e78c17b637c0e;hpb=1e854f2b4c4aa7ed89e5bf7211487c795812899f;p=xboard.git diff --git a/common.h b/common.h index 9b9b0e6..64e4ece 100644 --- a/common.h +++ b/common.h @@ -250,18 +250,15 @@ typedef enum { typedef ChessSquare Board[BOARD_RANKS][BOARD_FILES]; typedef enum { - WhiteKingSideCastle = 1, WhiteQueenSideCastle, + EndOfFile = 0, + WhiteKingSideCastle, WhiteQueenSideCastle, WhiteKingSideCastleWild, WhiteQueenSideCastleWild, WhiteHSideCastleFR, WhiteASideCastleFR, BlackKingSideCastle, BlackQueenSideCastle, BlackKingSideCastleWild, BlackQueenSideCastleWild, BlackHSideCastleFR, BlackASideCastleFR, - WhitePromotionKnight, WhitePromotionBishop, - WhitePromotionRook, WhitePromotionQueen, WhitePromotionKing, - WhitePromotionChancellor, WhitePromotionArchbishop, WhitePromotionCentaur, - BlackPromotionKnight, BlackPromotionBishop, - BlackPromotionRook, BlackPromotionQueen, BlackPromotionKing, - BlackPromotionChancellor, BlackPromotionArchbishop, BlackPromotionCentaur, + WhitePromotion, WhiteNonPromotion, + BlackPromotion, BlackNonPromotion, WhiteCapturesEnPassant, BlackCapturesEnPassant, WhiteDrop, BlackDrop, NormalMove, AmbiguousMove, IllegalMove, ImpossibleMove, @@ -369,6 +366,7 @@ typedef enum { } typedef struct { + char *language; #if !defined(_amigados) char *whitePieceColor; char *blackPieceColor; @@ -574,6 +572,7 @@ typedef struct { int defaultHashSize; int defaultCacheSizeEGTB; char * defaultPathEGTB; + int defaultMatchGames; /* [HGM] Board size */ int NrFiles; @@ -582,6 +581,7 @@ typedef struct { int matchPause; char * pieceToCharTable; char * pieceNickNames; + char * colorNickNames; Boolean allWhite; Boolean upsideDown; Boolean alphaRank; @@ -651,7 +651,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'