* Fill the saved screen characters with the "clear" tile or character. * * Flush out everything by resetting the "new" bounds and calling * display_map_window(). */
| 1085 | * display_map_window(). |
| 1086 | */ |
| 1087 | void |
| 1088 | clear_map_window(struct xwindow *wp) |
| 1089 | { |
| 1090 | struct map_info_t *map_info = wp->map_information; |
| 1091 | int i; |
| 1092 | |
| 1093 | /* update both tile and text backing store, then update */ |
| 1094 | map_all_unexplored(map_info); |
| 1095 | |
| 1096 | /* force a full update */ |
| 1097 | for (i = 0; i < ROWNO; i++) { |
| 1098 | map_info->t_start[i] = 0; |
| 1099 | map_info->t_stop[i] = COLNO-1; |
| 1100 | } |
| 1101 | |
| 1102 | display_map_window(wp); |
| 1103 | } |
| 1104 | |
| 1105 | /* |
| 1106 | * Retrieve the font associated with the map window and save attributes |
no test coverage detected