X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=f2cb9e961771789e430968abea1e8e96ac0d934e;hb=e677df018f76f76bace476a381866294282e9f3f;hp=3d92dc044070a487a6cfb5a41e60495403655f2a;hpb=7295e7b8f71c001f64930229b3d99cf8b2245a9e;p=xboard.git diff --git a/common.h b/common.h index 3d92dc0..f2cb9e9 100644 --- a/common.h +++ b/common.h @@ -313,6 +313,7 @@ typedef enum { #define DEMOTED (int)WhiteRook - (int)WhiteDragon + (int) #define SHOGI (int)EmptySquare + (int) #define CHUPROMOTED ((int)WhitePDragon - (int)WhiteDragon)*(gameInfo.variant == VariantChu) + PROMOTED +#define CHUDEMOTED ((int)WhiteDragon - (int)WhitePDragon)*(gameInfo.variant == VariantChu) + DEMOTED #define IS_SHOGI(V) ((V) == VariantShogi || (V) == VariantChu) #define IS_LION(V) ((V) == WhiteLion || (V) == BlackLion) @@ -528,10 +529,12 @@ typedef struct { char *clockFont; char *messageFont; /* WinBoard only */ char *coordFont; - char *font; /* xboard only: all other fonts */ - char *tagsFont; /* WinBoard only */ - char *commentFont; /* WinBoard only */ - char *icsFont; /* WinBoard only */ + char *font; /* xboard only */ + char *tagsFont; + char *commentFont; + char *historyFont; + char *gameListFont; + char *icsFont; Boolean ringBellAfterMoves; Boolean autoCallFlag; Boolean flipView; @@ -735,6 +738,8 @@ typedef struct { int dateThreshold; int searchMode; int stretch; + int minPieces; + int maxPieces; Boolean ignoreColors; Boolean findMirror; char *userName;