| 1690 | | /* Clear the screen (but don't force a redraw) */ |
|---|
| 1691 | | clear_from(0); |
|---|
| 1692 | | |
|---|
| 1693 | | /* Corners */ |
|---|
| 1694 | | x = map_wid + 1; |
|---|
| 1695 | | y = map_hgt + 1; |
|---|
| 1696 | | |
|---|
| 1697 | | /* Draw the corners */ |
|---|
| 1698 | | Term_putch(0, 0, ta, '+'); |
|---|
| 1699 | | Term_putch(x, 0, ta, '+'); |
|---|
| 1700 | | Term_putch(0, y, ta, '+'); |
|---|
| 1701 | | Term_putch(x, y, ta, '+'); |
|---|
| 1702 | | |
|---|
| 1703 | | /* Draw the horizontal edges */ |
|---|
| 1704 | | for (x = 1; x <= map_wid; x++) |
|---|
| 1705 | | { |
|---|
| 1706 | | Term_putch(x, 0, ta, '-'); |
|---|
| 1707 | | Term_putch(x, y, ta, '-'); |
|---|
| 1708 | | } |
|---|
| 1709 | | |
|---|
| 1710 | | /* Draw the vertical edges */ |
|---|
| 1711 | | for (y = 1; y <= map_hgt; y++) |
|---|
| 1712 | | { |
|---|
| 1713 | | Term_putch(0, y, ta, '|'); |
|---|
| 1714 | | Term_putch(x, y, ta, '|'); |
|---|
| 1715 | | } |
|---|
| 1716 | | |
|---|
| | 1690 | |
|---|
| | 1691 | /* Draw a box around the edge of the term */ |
|---|
| | 1692 | window_make(0, 0, map_wid + 1, map_hgt + 1); |
|---|