Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#3725) Unit blinking/movement corrupts displaying o
Home

[Freeciv-Dev] Re: (PR#3725) Unit blinking/movement corrupts displaying o

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: daniel.martin@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3725) Unit blinking/movement corrupts displaying of city descriptions
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2003 12:34:45 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Guest wrote:
> When a unit blinks or moves on top of a city's influence area, the city
> descriptions get erased (if that function is enabled, of course).
> 
> I tried with the sources, and I found that putting the following piece
> of code apparently solves the problem, at the end of the function
> 'update_map_canvas', in /client/gui-gtk/mapview.c   (also works with
> gui-gkt-2.0/mapview.c):
> 
>      ... function body...
> 
>      // Redraw city descriptions
>      show_city_descriptions();
> 
>    } // End of 'update_map_canvas'
> 
> I don't know the code very much, so I cannot determine how optimum this
> code is.

It's pretty far from optimum (which didn't stop the win32 client from 
using it before).  In any case a (somewhat) more efficient workaround 
has been introduced in the CVS version - you may want to try playing that.

jason




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