projects
/
bonanza.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a6b6d41
)
Write ponder move (in parentheses) in XBoard thinking output
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 24 Sep 2013 20:04:24 +0000 (22:04 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 24 Sep 2013 20:04:24 +0000 (22:04 +0200)
searchr.c
patch
|
blob
|
history
diff --git
a/searchr.c
b/searchr.c
index
6d2af78
..
9a1d244
100644
(file)
--- a/
searchr.c
+++ b/
searchr.c
@@
-370,7
+370,12
@@
out_pv( tree_t * restrict ptree, int value, int turn, unsigned int time )
if ( ptree->pv[0].length )
{
#ifdef XBOARD
- if(xboard_mode) Out("%2d %6d %6d %8d ", iteration_depth, value, time/10, 1); else
+ if(xboard_mode) {
+ Out("%2d %6d %6d %8d ", iteration_depth, value, time/10, 1);
+ if(game_status & flag_pondering && ! analyze_mode) {
+ Out("("); out_xboard_move( ponder_move, 1-tt ); Out(") ");
+ }
+ } else
#endif
if ( root_move_list[root_index].status & flag_first )
{