From 47b967aa38dcb5db60229931abf391f42c2abf1f Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 8 Dec 2018 09:54:37 +0100 Subject: [PATCH] Let 'searching' also indicate thinking state The flag 'think' is eliminated, and its function is now indicated by giving 'searching' the value 3. This makes 'searching' now a complete state indicator, which indicates if we are idle, pondering, analysing or thinking. --- UCI2WB.c | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/UCI2WB.c b/UCI2WB.c index ae6cf2c..1fc24fc 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -446,7 +446,7 @@ GUI2Engine() char line[256], command[256], *p; while(1) { - int i, difficult, think=0; + int i, difficult; if((computer == stm || computer == ANALYZE && !searching) && !suspended) { DPRINT("# start search\n"); @@ -460,14 +460,14 @@ GUI2Engine() for(i=1; i