Implement EGBB probing and -first/secondDrawDepth
[xboard.git] / backend.h
index 69197ce..0597025 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -115,6 +115,8 @@ extern char lastMsg[MSG_SIZ];
 extern Boolean bookUp;
 extern int tinyLayout, smallLayout;
 extern Boolean mcMode;
+extern int dragging;
+extern char variantError[];
 
 void MarkMenuItem P((char *menuRef, int state));
 char *CmailMsg P((void));
@@ -392,6 +394,7 @@ typedef struct XB_CPS {
     int debug;      /* [HGM] ignore engine debug lines starting with '#'    */
     int maxNrOfSessions; /* [HGM] secondary TC: max args in 'level' command */
     int accumulateTC; /* [HGM] secondary TC: how to handle extra sessions   */
+    int drawDepth;    /* [HGM] egbb: search depth to play egbb draws        */
     int nps;          /* [HGM] nps: factor for node count to replace time   */
     int supportsNPS;
     int alphaRank;    /* [HGM] shogi: engine uses shogi-type coordinates    */
@@ -450,6 +453,7 @@ void MoveHistorySet P(( char movelist[][2*MOVE_LEN], int first, int last, int cu
 void MakeEngineOutputTitle P((void));
 void LoadTheme P((void));
 void CreateBookEvent P((void));
+char *SupportedVariant P((char *list, VariantClass v, int w, int h, int s, int proto, char *engine));
 
 /* A point in time */
 typedef struct {