Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#81) overstretched map doesn't get updated properly
Home

[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]
To: rp@xxxxxxxxxx, cameron@xxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#81) overstretched map doesn't get updated properly
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jul 2003 05:58:26 -0700
Reply-to: rt@xxxxxxxxxxxxxx

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



[Prev in Thread] Current Thread [Next in Thread]