X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=6340c504b3cd9ef7511d92ea2f42e6d8b2706dbc;hb=8ee0292f69ffa3ebef03640cc5944d9c60e86bb8;hp=bf26600f496dd1860c09e916efd976c12cebd692;hpb=b5529b539614b61fa62d9f6cc374f335e7103024;p=xboard.git diff --git a/common.h b/common.h index bf26600..6340c50 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) @@ -661,6 +662,7 @@ typedef struct { int adjudicateDrawMoves; Boolean autoDisplayComment; Boolean autoDisplayTags; + Boolean pseudo[ENGINES]; /* [HGM] pseudo-engines */ Boolean isUCI[ENGINES]; Boolean hasOwnBookUCI[ENGINES]; char * adapterCommand; @@ -734,6 +736,8 @@ typedef struct { int dateThreshold; int searchMode; int stretch; + int minPieces; + int maxPieces; Boolean ignoreColors; Boolean findMirror; char *userName;