Some code refactoring and cleanup; one small bug fix
[xboard.git] / common.h
index 72e66ba..b184aec 100644 (file)
--- a/common.h
+++ b/common.h
@@ -655,6 +655,13 @@ typedef struct {
     int holdingsWidth; /* number of files left and right of board, 0 or 2   */
 } GameInfo;
 
+/* [AS] Search stats from chessprogram, for the played move */
+typedef struct {
+    int score;  /* Centipawns */
+    int depth;  /* Plies */
+    int time;   /* Milliseconds */
+} ChessProgramStats_Move;
+
 // [HGM] chat  
 #define MAX_CHAT 3
 extern int chatCount;