Changeset 381
- Timestamp:
- 07/27/07 15:43:36 (1 year ago)
- Files:
-
- branches/angband-3.0.8/src/monster2.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/angband-3.0.8/src/monster2.c
r131 r381 556 556 int i, max; 557 557 int line = 1, x = 0; 558 int cur_x; 558 559 unsigned total_count = 0, disp_count = 0; 559 560 … … 577 578 else 578 579 { 579 x = 13;580 max = Term->hgt - 2;580 x = 13; 581 max = Term->hgt - 2; 581 582 } 582 583 … … 617 618 /* No monsters of this race are visible */ 618 619 if (!race_count[i]) continue; 620 621 /* Reset position */ 622 cur_x = x; 619 623 620 624 /* Note that these have been displayed */ … … 638 642 639 643 /* Display the pict */ 640 Term_putch(x, line, r_ptr->x_attr, r_ptr->x_char); 641 Term_putch(x + 1, line, TERM_WHITE, ' '); 644 Term_putch(cur_x++, line, r_ptr->x_attr, r_ptr->x_char); 645 if (use_bigtile) Term_putch(cur_x++, line, 255, -1); 646 Term_putch(cur_x++, line, TERM_WHITE, ' '); 642 647 643 648 /* Print and bump line counter */ 644 c_prt(attr, buf, line, x + 2);649 c_prt(attr, buf, line, cur_x); 645 650 line++; 646 651 } … … 650 655 { 651 656 strnfmt(buf, sizeof buf, " ...and %d others.", total_count - disp_count); 652 c_prt(TERM_WHITE, buf, line, x);657 c_prt(TERM_WHITE, buf, line, x); 653 658 } 654 659 … … 661 666 /* Message */ 662 667 prt(format("You can see %d monster%s:", 663 total_count, (total_count > 1 ? "s" : "")), 0, 0); 668 total_count, (total_count > 1 ? "s" : "")), 0, 0); 669 664 670 if (Term == angband_term[0]) 665 Term_addstr(-1, TERM_WHITE, " (Press any key to continue.)");671 Term_addstr(-1, TERM_WHITE, " (Press any key to continue.)"); 666 672 667 673 /* Free the race counters */
