Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8818) bug with gui coordinates and stippling
Home

[Freeciv-Dev] Re: (PR#8818) bug with gui coordinates and stippling

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8818) bug with gui coordinates and stippling
From: "andrearo@xxxxxxxxxxxx" <andrearo@xxxxxxxxxxxx>
Date: Sun, 23 May 2004 09:59:58 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Sun, 23 May 2004, Jason Short wrote:
> As pointed out in PR#8210, when the mapview origin is moved by small
> amounts the fog drawing doesn't always work correctly.  You can see this
> by using the PR#8210 patch and scrolling one tile at a time.  The
> newly-drawn tiles will flicker on their way in.
>
> I believe this happens because there is no origin set for the stippling.
>   The clip origin, surprisingly, does not affect the stippling.
>
> This patch sets the stipple origin to be the sprite's origin.  I think
> it fixes the problem.
>
> Note that if you had a tileset with odd tile dimensions it would still
> break.  The only way to solve that would be to set the stipple origin to
> be the GUI origin.  But of course it would be better just to use
> alpha-level drawing rather than stippling for fog.
>
> This patch is for the gtk and gtk2 clients.  However I've only tested
> the gtk2 client.


Even with this patch, the fog of war is still flickering while scrolling.

Does the flickering disapear on your system? Perhaps the flickering is
somehow caused by the high pixel response time on my LCD monitor in
comparison to a CRT-monitor? But that doesn't explain why only the fog of
war is flickering.

Andreas Røsdal




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