cliparound(x, y)-- Make sure that the user is more-or-less centered on the screen if the playing area is larger than the screen. -- This function is only defined if CLIPPING is defined. */
| 894 | -- This function is only defined if CLIPPING is defined. |
| 895 | */ |
| 896 | void |
| 897 | curses_cliparound(int x, int y) |
| 898 | { |
| 899 | int sx, sy, ex, ey; |
| 900 | boolean redraw = curses_map_borders(&sx, &sy, &ex, &ey, x, y); |
| 901 | |
| 902 | if (redraw) { |
| 903 | curses_draw_map(sx, sy, ex, ey); |
| 904 | } |
| 905 | } |
| 906 | |
| 907 | /* |
| 908 | print_glyph(window, x, y, glyphinfo, bkglyphinfo) |
nothing calls this directly
no test coverage detected