X-Git-Url: http://winboard.nl/cgi-bin?p=uci2wb.git;a=blobdiff_plain;f=UCI2WB.c;h=b9df43c4c1e53bfc99c1ed79af265c4f22f4f919;hp=ae6cf2c147d0a8176910a5d56eafe768e55d3441;hb=9e92f9f1e4e601912bd40334c9f89677b9b65f23;hpb=ed12bdda15cb49c351d1358a8d056a1f97c59f85 diff --git a/UCI2WB.c b/UCI2WB.c index ae6cf2c..b9df43c 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -441,12 +441,9 @@ char mySide; char queue[10000], *qStart, *qEnd; void -GUI2Engine() +LaunchSearch() { - char line[256], command[256], *p; - - while(1) { - int i, difficult, think=0; + int i; if((computer == stm || computer == ANALYZE && !searching) && !suspended) { DPRINT("# start search\n"); @@ -460,14 +457,23 @@ GUI2Engine() for(i=1; i