[Freeciv-Dev] Re: map tiles in city dialog drawn in wrong order
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Nov 06, 2001 at 09:25:24AM -0500, Ross W. Wetmore wrote:
>
> This is actually a good example of why the core game coordinate
> system should not be generalized to try and include different
> environments like the GUI. These problems will continue to crop
> up until you have a clean separation between the two with an
> explicit transformation to move from one to the other in either
> direction.
>
> The real solution may not be to hardcode the GUI loops, but to
> come up with an appropriate coordinate system/iterators for
> GUI operations that specifically takes such things into account.
> One can then loop in GUI order over GUI coordinates to manage
> such GUI effects and side-effects properly.
>
> When such a system is created with its iterator interfaces, then
> document the subtleties that are part of the macro iterface
> clearly to prevent future screwups from misuse.
But doesn't such a iterate-from-back-to-front macro depend on the
is_isometric flag?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
One nuclear bomb can ruin your whole day.
|
|