Some code refactoring and cleanup; one small bug fix
[xboard.git] / backend.h
index b44c45a..362e58c 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -347,13 +347,6 @@ typedef struct _CPS {
 
 extern ChessProgramState first, second;
 
-/* [AS] Search stats from chessprogram, for the played move */
-typedef struct {
-    int score;  /* Centipawns */
-    int depth;  /* Plies */
-    int time;   /* Milliseconds */
-} ChessProgramStats_Move;
-
 /* Search stats from chessprogram */
 typedef struct {
   char movelist[2*MSG_SIZ]; /* Last PV we were sent */
@@ -374,5 +367,6 @@ typedef struct {
 extern ChessProgramStats_Move pvInfoList[MAX_MOVES];
 extern int shuffleOpenings;
 extern ChessProgramStats programStats;
+extern int opponentKibitzes; // used by wengineo.c
 
 #endif /* _BACKEND */