X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=d0850c7e04369755579966f39985b6faaa467c81;hb=a8a8324fc365e51b7e93fb09571e90b6abb3a7d8;hp=4f78597cc11793d56e960346dfaee3c043018e7c;hpb=a13756124f9078bb1ce68d28c43ddebfddb61855;p=xboard.git diff --git a/common.h b/common.h index 4f78597..d0850c7 100644 --- a/common.h +++ b/common.h @@ -154,7 +154,7 @@ int pclose(FILE *); #define FIRST_HOST "localhost" #define SECOND_HOST "localhost" #define TELNET_PROGRAM "telnet" -#define DEF_BITMAP_DIR "/usr/share/games/xboard/bitmaps.xchess" /* AP: shouldn't be hardcoded directory, but better than nothing at the moment */ +#define DEF_BITMAP_DIR BITMAPDIR #define MATCH_MODE "False" #define INIT_STRING "new\nrandom\n" #define WHITE_STRING "white\ngo\n" @@ -263,7 +263,7 @@ typedef enum { WhiteDrop, BlackDrop, NormalMove, AmbiguousMove, IllegalMove, ImpossibleMove, WhiteWins, BlackWins, GameIsDrawn, GameUnfinished, - GNUChessGame, XBoardGame, MoveNumberOne, + GNUChessGame, XBoardGame, MoveNumberOne, Open, Close, Nothing, Comment, PositionDiagram, ElapsedTime, PGNTag, NAG } ChessMove; @@ -319,6 +319,8 @@ typedef enum { VariantGreat, VariantTwilight, VariantMakruk, + VariantSChess, + VariantSpartan, VariantUnknown /* Catchall for other unknown variants */ } VariantClass; @@ -362,6 +364,8 @@ typedef enum { "great",\ "twilight",\ "makruk",\ + "seirawan",\ + "spartan",\ "unknown" \ } @@ -523,6 +527,7 @@ typedef struct { int secondProtocolVersion; Boolean showButtonBar; Boolean icsEngineAnalyze; + Boolean variations; /* [HGM] enable variation-tree walking */ /* [AS] New properties (down to the "ZIPPY" part) */ Boolean firstScoreIsAbsolute; /* If true, engine score is always from white side */