From: H.G.Muller Date: Sat, 8 Dec 2018 08:54:37 +0000 (+0100) Subject: Let 'searching' also indicate thinking state X-Git-Tag: v4.0~20 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=47b967aa38dcb5db60229931abf391f42c2abf1f;p=uci2wb.git 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. --- 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