Rev 108 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 108 | Rev 154 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 41 |  *  Now loop waiting on input, searching the current        * | 41 |  *  Now loop waiting on input, searching the current        * | 
| 42 |  *  position continually until a move comes in.             * | 42 |  *  position continually until a move comes in.             * | 
| 43 |  *                                                          * | 43 |  *                                                          * | 
| 44 |  ************************************************************ | 44 |  ************************************************************ | 
| 45 |  */ | 45 |  */ | 
| 46 | 
 | 46 | while (FOREVER) { | 
| 47 | do { | 47 | do { | 
| 48 | last_pv.pathd = 0; | 48 | last_pv.pathd = 0; | 
| 49 | last_pv.pathl = 0; | 49 | last_pv.pathl = 0; | 
| 50 | input_status = 0; | 50 | input_status = 0; | 
| 51 | pondering = 1; | 51 | pondering = 1; | 
| Line 179... | Line 179... | ||
| 179 | if (readstat < 0 || !strcmp(args[0], "exit")) | 179 | if (readstat < 0 || !strcmp(args[0], "exit")) | 
| 180 | break; | 180 | break; | 
| 181 | game_wtm = Flip(game_wtm); | 181 | game_wtm = Flip(game_wtm); | 
| 182 | if (game_wtm) | 182 | if (game_wtm) | 
| 183 |       move_number++; | 183 |       move_number++; | 
| 184 | } | 184 |   } | 
| 185 | analyze_mode = 0; | 185 | analyze_mode = 0; | 
| 186 | printf("analyze complete.\n"); | 186 | printf("analyze complete.\n"); | 
| 187 | pondering = 0; | 187 | pondering = 0; | 
| 188 | swindle_mode = save_swindle_mode; | 188 | swindle_mode = save_swindle_mode; | 
| 189 | } | 189 | } |