X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=ef49a03877021effffc24ebc32f304f8a47f5b37;hb=3bfa1af62f41c7da05fa150d0b46ad6d09c88cca;hp=06e1c87c53c4fe91b7dd6a22032deab293969e7c;hpb=91d8e5853ca580769cc130aa6ea004869118d171;p=xboard.git diff --git a/common.h b/common.h index 06e1c87..ef49a03 100644 --- a/common.h +++ b/common.h @@ -148,6 +148,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 MATCH_MODE "False" #define INIT_STRING "new\nrandom\n" #define WHITE_STRING "white\ngo\n" @@ -290,6 +291,7 @@ typedef enum { VariantJanus, VariantSuper, VariantGreat, + VariantTwilight, VariantUnknown /* Catchall for other unknown variants */ } VariantClass; @@ -331,6 +333,7 @@ typedef enum { "janus",\ "super",\ "great",\ + "twilight",\ "unknown" \ } @@ -564,7 +567,10 @@ typedef struct { char *zippyVariants; int zippyMaxGames; int zippyReplayTimeout; /*seconds*/ + int zippyShortGame; /* [HGM] aborter */ #endif + Boolean lowTimeWarning; /* [HGM] low time */ + char *lowTimeWarningColor; char *serverMovesName; Boolean suppressLoadMoves; @@ -590,6 +596,8 @@ typedef struct { Boolean noGUI; /* [HGM] fast: suppress all display updates */ char *firstOptions; /* [HGM] options */ char *secondOptions; + char *fenOverride1; + char *fenOverride2; } AppData, *AppDataPtr; /* [AS] PGN tags (for showing in the game list) */