X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=d0850c7e04369755579966f39985b6faaa467c81;hb=75ec1dc301344d1fe0b6e15592f090d77d567fc0;hp=322bd6655a10fa0b356206704b9a27b72abaada9;hpb=c6cf9d8d64aded07d2dc0281699990775199870f;p=xboard.git diff --git a/common.h b/common.h index 322bd66..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" @@ -320,6 +320,7 @@ typedef enum { VariantTwilight, VariantMakruk, VariantSChess, + VariantSpartan, VariantUnknown /* Catchall for other unknown variants */ } VariantClass; @@ -364,6 +365,7 @@ typedef enum { "twilight",\ "makruk",\ "seirawan",\ + "spartan",\ "unknown" \ }