Put move number in Eval Graph title
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 12:04:44 +0000 (13:04 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 12:04:44 +0000 (13:04 +0100)
evalgraph.c

index 7a18151..9c26897 100644 (file)
@@ -102,7 +102,8 @@ MakeEvalTitle (char *title)
 
     if( depth <=0 ) return title;
     if( currCurrent & 1 ) score = -score; /* Flip score for black */
-    snprintf(buf, MSG_SIZ, "%s {%s%.2f/%-2d %d}", title, score>0 ? "+" : " ", score/100., depth, (currPvInfo[currCurrent].time+50)/100);
+    snprintf(buf, MSG_SIZ, "%s {%d: %s%.2f/%-2d %d}", title, currCurrent/2+1, 
+                               score>0 ? "+" : " ", score/100., depth, (currPvInfo[currCurrent].time+50)/100);
 
     return buf;
 }