X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=266e77e80239db82c6c9c74190b172bb4eb9aa2d;hb=8b357c4aca3df20fef44ba13446880444a2c5605;hp=1780f3b09290b3593d3f6b9495e3f2c54fad55ba;hpb=8650c257cc9fcbbe4daaf1f3fff2b87bb53f5c3f;p=xboard.git diff --git a/common.h b/common.h index 1780f3b..266e77e 100644 --- a/common.h +++ b/common.h @@ -1,11 +1,13 @@ /* * common.h -- Common definitions for X and Windows NT versions of XBoard - * $Id: common.h,v 2.1 2003/10/27 19:21:00 mann Exp $ * * Copyright 1991 by Digital Equipment Corporation, Maynard, - * Massachusetts. Enhancements Copyright - * 1992-2001,2002,2003,2004,2005,2006,2007,2008,2009 Free Software - * Foundation, Inc. + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, + * 2007, 2008, 2009 Free Software Foundation, Inc. + * + * Enhancements Copyright 2005 Alessandro Scotti * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -148,6 +150,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" @@ -566,7 +569,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; @@ -592,6 +598,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) */