RCS file: /sources/gnugo/gnugo/engine/sgfdecide.c,v
retrieving revision 1.59
diff -u -r1.59 sgfdecide.c
|
|
|
|
| 437 | 437 | |
| 438 | 438 | count_variations = 1; |
| 439 | 439 | |
| 440 | | for (pos = BOARDMIN; pos < BOARDMAX; pos++) { |
| 441 | | if (!ON_BOARD(pos) |
| 442 | | || dragon[pos].origin != pos |
| | 440 | scan_board(pos, |
| | 441 | if (dragon[pos].origin != pos |
| 443 | 442 | || board[pos] == EMPTY |
| 444 | 443 | || DRAGON2(pos).escape_route >= 6) |
| 445 | 444 | continue; |
| … |
… |
|
| 502 | 501 | } |
| 503 | 502 | else |
| 504 | 503 | gprintf("status of %1m revised to ALIVE\n", pos); |
| 505 | | } |
| | 504 | ) |
| 506 | 505 | |
| 507 | 506 | sgffile_enddump(outfilename); |
| 508 | 507 | count_variations = 0; |
| … |
… |
|
| 595 | 594 | if (atari_atari(color, &attack_move, defense_moves, verbose)) { |
| 596 | 595 | gprintf("Combination attack for %C at %1m, defense at ", color, |
| 597 | 596 | attack_move); |
| 598 | | for (pos = BOARDMIN; pos < BOARDMAX; pos++) { |
| 599 | | if (ON_BOARD(pos) && defense_moves[pos]) { |
| | 597 | scan_board(pos, |
| | 598 | if (defense_moves[pos]) { |
| 600 | 599 | if (first) |
| 601 | 600 | first = 0; |
| 602 | 601 | else |
| 603 | 602 | gprintf(", "); |
| 604 | 603 | gprintf("%1m", pos); |
| 605 | 604 | } |
| 606 | | } |
| | 605 | ) |
| 607 | 606 | gprintf("\n"); |
| 608 | 607 | } |
| 609 | 608 | else |