Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10035) mapview drawing error: tall sprites are clipped
Home

[Freeciv-Dev] (PR#10035) mapview drawing error: tall sprites are clipped

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10035) mapview drawing error: tall sprites are clipped in iso-view
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Sep 2004 18:08:42 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10035 >

In the included screenshot (attached separately) you can see the 
problem.  The tops of the flags and other "tall" graphics are cut off in 
iso-view.  This happens from time to time when I scroll or move the 
mapview around.

Once the graphic is on the buffer it won't be redrawn unless something 
changes to trigger a redraw, or it moves off of the buffer.  The buffer 
is a little larger than the mapview itself.  It seems pretty clear the 
error is an off-by-one or rounding error in gui_rect_iterate or one of 
the callers.

jason




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