[Freeciv-Dev] Re: (PR#81) overstretched map doesn't get updated properly
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Jul 25, 2003 at 12:14:24AM -0700, Jason Short wrote:
>
> This actually happens because of a bug in map_to_canvas_pos for non-iso
> view.
>
> If map_view_x0 = 0 then map_to_canvas_pos with x=20 will give you
> canvas_x=20*NORMAL_TILE_WIDTH. But x=100 will not give you
> canvas_x=20*NORMAL_TILE_WIDTH the way it should - it will give
> canvas_x=100*NORMAL_TILE_WIDTH. Thus the tile will be erronously drawn
> twice (erronously because it doesn't happen anywhere else and thus is
> never updated).
>
> This is fixed by PR#4681.
>
> PR#4679 is also related - it leads to city names (but not whole tiles)
> being drawn and never updated
put my mind at ease here: we are not recinding the rule that tiles only get
drawn once?
-mike
|
|