X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=cde32fb391b9c8d90b43aa677c5455efedfa0949;hb=refs%2Ftags%2Fv4.3.14;hp=714a3b2ea4f8c53c1495ade857d6c162d438e74b;hpb=0efdc4c5ef60cf4c15e9dddf3658d2115e4d5d93;p=xboard.git diff --git a/common.h b/common.h index 714a3b2..cde32fb 100644 --- a/common.h +++ b/common.h @@ -86,6 +86,8 @@ int pclose(FILE *); #define FALSE 0 #endif +#define UNKNOWN -1 /* [HGM] nps */ + #if !HAVE_RANDOM # if HAVE_RAND48 # define srandom srand48 @@ -242,6 +244,13 @@ typedef enum { SoundIcsDraw, SoundIcsUnfinished, NSoundClasses } SoundClass; +typedef enum { + SizeTiny, SizeTeeny, SizeDinky, SizePetite, SizeSlim, SizeSmall, + SizeMediocre, SizeMiddling, SizeAverage, SizeModerate, SizeMedium, + SizeBulky, SizeLarge, SizeBig, SizeHuge, SizeGiant, SizeColossal, + SizeTitanic, NUM_SIZES +} BoardSize; + /* Names for chess variants, not necessarily supported */ typedef enum { VariantNormal, /* Normal chess */ @@ -276,6 +285,9 @@ typedef enum { VariantFairy, VariantCylinder, VariantFalcon, + VariantCapaRandom, + VariantBerolina, + VariantJanus, VariantUnknown /* Catchall for other unknown variants */ } VariantClass; @@ -312,6 +324,8 @@ typedef enum { "fairy", \ "cylinder", \ "falcon",\ + "caparandom",\ + "berolina",\ "unknown" \ } @@ -554,6 +568,11 @@ typedef struct { int timeOddsMode; int firstAccumulateTC; int secondAccumulateTC; + int firstNPS; + int secondNPS; + Boolean autoKibitz; + int engineComments; + char *userName; } AppData, *AppDataPtr; /* [AS] PGN tags (for showing in the game list) */