[Freeciv-Dev] Re: (PR#4679) double-tiles
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dnia 2003.07.25 07:35, Jason Short napisa³(a):
>
> When a tile appears twice on the mapview, it will only be drawn in
> one place. What gets drawn in the other place? Nothing...which
> means the other tile is basically not refreshed and can get cluttered
> with stuff like city names, etc.
>
> The attached patch clears the mapview window before redrawing it.
>
> As a side note, we could speed up the full-screen refresh by, in
> addition to clearing the window before we start to draw tiles, also
> simply skipping black (unreal/unknown) tiles. We can do this since
> they're already drawn black. But we could only do it in
> update_map_canvas_visible, not in refresh_tile_mapcanvas.
>
This isn't true becouse you only win when have lot of unreal/unknown
terrains (at start) but later it only much slow down drawing (depend of
screen resolution).
Rafal
|
|