X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=common.h;h=9cb0cd966d01b30a39fdf2fa62378fdf9aa4b36e;hb=829031aa78f85ced458ab253cdae852e01c751f2;hp=2bd7653783b6f1f867a63355c9273bfc10d54a02;hpb=da8802ac4d06115296e0f8ba955ecf5570741d08;p=xboard.git diff --git a/common.h b/common.h index 2bd7653..9cb0cd9 100644 --- a/common.h +++ b/common.h @@ -142,7 +142,7 @@ typedef char *String; #define VIRGIN (BOARD_RANKS-2) /* [HGM] pieces not moved */ #define EP_STATUS CASTLING][(BOARD_FILES-2) /* [HGM] in upper rank */ #define HOLDINGS_SET CASTLING][(BOARD_FILES-1) /* [HGM] in upper-right corner*/ -#define ONE ('1'-(BOARD_HEIGHT>9)) /* [HGM] foremost board rank */ +#define ONE ('1'-(BOARD_HEIGHT==10)) /* [HGM] foremost board rank */ #define AAA ('a'-BOARD_LEFT) /* [HGM] leftmost board file */ #define VIRGIN_W 1 /* [HGM] flags in Board[VIRGIN][X] */ #define VIRGIN_B 2 @@ -304,7 +304,7 @@ typedef enum { } ColorClass; typedef enum { - SoundMove, SoundBell, SoundAlarm, SoundIcsWin, SoundIcsLoss, + SoundMove, SoundBell, SoundRoar, SoundAlarm, SoundIcsWin, SoundIcsLoss, SoundIcsDraw, SoundIcsUnfinished, NSoundClasses } SoundClass; @@ -355,6 +355,7 @@ typedef enum { VariantGrand, VariantSpartan, VariantLion, + VariantChuChess, VariantUnknown /* Catchall for other unknown variants */ } VariantClass; @@ -404,6 +405,7 @@ typedef enum { "grand",\ "spartan",\ "lion",\ + "chuchess",\ "unknown" \ } @@ -678,6 +680,7 @@ typedef struct { Boolean suppressLoadMoves; int serverPause; int timeOdds[ENGINES]; + int drawDepth[ENGINES]; int timeOddsMode; int accumulateTC[ENGINES]; int NPS[ENGINES];