X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=9ab3048277bf68306423b6472f708f5ebe72c9f5;hb=bdd61153a00af769f75d1f20d7938642592cbce9;hp=266e77e80239db82c6c9c74190b172bb4eb9aa2d;hpb=bb1c4f8ed2489e4891fe044532a35107d33174d2;p=xboard.git diff --git a/common.h b/common.h index 266e77e..9ab3048 100644 --- a/common.h +++ b/common.h @@ -600,6 +600,9 @@ typedef struct { char *secondOptions; char *fenOverride1; char *fenOverride2; + Boolean keepAlive; /* [HGM] alive */ + Boolean forceIllegal;/*[HGM] illegal */ + Boolean noJoin; /* [HGM] join */ } AppData, *AppDataPtr; /* [AS] PGN tags (for showing in the game list) */ @@ -614,10 +617,11 @@ typedef struct { #define GLT_TIME_CONTROL 't' #define GLT_VARIANT 'v' #define GLT_OUT_OF_BOOK 'a' +#define GLT_RESULT_COMMENT 'c' /* [HGM] rescom */ #define GLT_DEFAULT_TAGS "eprd" /* Event, players, result, date */ -#define GLT_ALL_TAGS "esdoprwbtva" +#define GLT_ALL_TAGS "esdoprwbtvac" #define PGN_OUT_OF_BOOK "Annotator" @@ -648,6 +652,11 @@ typedef struct { int holdingsWidth; /* number of files left and right of board, 0 or 2 */ } GameInfo; +// [HGM] chat +#define MAX_CHAT 3 +extern int chatCount; +extern char chatPartner[MAX_CHAT][MSG_SIZ]; + #endif