changes from H.G. Muller; version 4.3.15
[xboard.git] / backend.h
index 8ef5bf3..995890d 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -119,7 +119,8 @@ void UserAdjudicationEvent P((int result));
 void StopObservingEvent P((void));\r
 void StopExaminingEvent P((void));\r
 void PonderNextMoveEvent P((int newState));\r
-void ShowThinkingEvent P((int newState));\r
+void NewSettingeEvent P((int option, char *command, int value));\r
+void ShowThinkingEvent P(());\r
 void PeriodicUpdatesEvent P((int newState));\r
 void HintEvent P((void));\r
 void BookEvent P((void));\r
@@ -251,6 +252,19 @@ typedef struct _CPS {
     int scoreIsAbsolute; /* [AS] 0=don't know (standard), 1=score is always from white side */\r
     int isUCI;           /* [AS] 0=no (Winboard), 1=UCI (requires Polyglot) */\r
     int hasOwnBookUCI;   /* [AS] 0=use GUI or Polyglot book, 1=has own book */\r
+\r
+    /* [HGM] time odds */\r
+    int timeOdds;   /* factor through which we divide time for this engine  */\r
+    int debug;      /* [HGM] ignore engine debug lines starting with '#'    */\r
+    int maxNrOfSessions; /* [HGM] secondary TC: max args in 'level' command */\r
+    int accumulateTC; /* [HGM] secondary TC: how to handle extra sessions   */\r
+    int nps;          /* [HGM] nps: factor for node count to replace time   */\r
+    int supportsNPS;\r
+    int alphaRank;    /* [HGM] shogi: engine uses shogi-type coordinates    */\r
+    int maxCores;     /* [HGM] SMP: engine understands cores command        */\r
+    int memSize;      /* [HGM] memsize: engine understands memory command   */\r
+    char egtFormats[MSG_SIZ];     /* [HGM] EGT: supported tablebase formats */
+    int bookSuspend;  /* HGM book: go was deferred bcause of book hit       */\r
 } ChessProgramState;\r
 \r
 extern ChessProgramState first, second;\r
@@ -263,5 +277,6 @@ typedef struct {
 } ChessProgramStats_Move;\r
 \r
 extern ChessProgramStats_Move pvInfoList[MAX_MOVES];\r
+extern shuffleOpenings;\r
 \r
 #endif /* _BACKEND */\r