| 2516 | /************************* mar_clear_map *******************************/ |
| 2517 | |
| 2518 | void |
| 2519 | mar_clear_map() |
| 2520 | { |
| 2521 | int pla[8]; |
| 2522 | int x, y; |
| 2523 | |
| 2524 | pla[0] = pla[1] = pla[4] = pla[5] = 0; |
| 2525 | pla[2] = pla[6] = scroll_map.px_hline * (COLNO - 1) - 1; |
| 2526 | pla[3] = pla[7] = scroll_map.px_vline * ROWNO - 1; |
| 2527 | for (y = 0; y < ROWNO; y++) |
| 2528 | for (x = 0; x < COLNO - 1; x++) |
| 2529 | map_glyphs[y][x] = ' '; |
| 2530 | vro_cpyfm(x_handle, ALL_BLACK, pla, &Tile_bilder, |
| 2531 | &Map_bild); /* MAR -- 17.Mar 2002 Hmm, what if FontCol_Bild is |
| 2532 | bigger? */ |
| 2533 | if (WIN_MAP != WIN_ERR && Gem_nhwindow[WIN_MAP].gw_window) |
| 2534 | redraw_window(Gem_nhwindow[WIN_MAP].gw_window, NULL); |
| 2535 | } |
| 2536 | |
| 2537 | /************************* destroy_window *******************************/ |
| 2538 |
no outgoing calls
no test coverage detected