[Freeciv-Dev] (PR#2982) iso-view FOW drawing bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[jdorje - Thu Oct 2 22:11:21 2003]:
> [jdorje - Mon Feb 3 07:18:41 2003]:
>
> > Sometimes when drawing is done in iso-view, the fog-of-war is not
updated.
> >
> > Typically this occurrs when a unit enters a fogged area. Clearly the
> > area is no longer fogged, but this is not immediately updated. Instead
> > the unit itself is drawn. This means parts of the surrounding tiles are
> > drawn, and these are unfogged. The end result is that the area is still
> > fogged, but the box around the unit is unfogged.
> >
> > This is difficult to reproduce. Occasionally it happens with the GTK
> > client at the very beginning of a game. With a lot of buffering of the
> > drawing, it seems it can happen all the time.
>
> Now since there are no spurious redraws in center_tile_mapcanvas, it
> always happens. The redraw needs to be done somewhere else.
The initial tiles are sent while the client is still in the
CLIENT_WAITING_FOR_GAME_START_STATE state. Thus there is no map update
for them.
jason
|
|