Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: different iso drawing algorithms
Home

[Freeciv-Dev] Re: different iso drawing algorithms

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: different iso drawing algorithms
From: Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: 11 Dec 2002 15:04:29 -0500

On Sun, 2002-12-08 at 05:16, Jason Short wrote:

> So, the question becomes: which system is better?  Should we support
> just one of them, or try to support both?

The tricky buffered drawing system requires slightly more GUI code to do
the buffering.  A disadvantage is that it can only draw iso-rectangles. 
So if we update a 1x1 area we're fine.  But if we draw a 2x1 rectangle
(as sometimes happens) we have to draw a couple of extra tiles.  If we
redraw the entire mapview, then the current algorithm ends up iterating
over 4x as many tiles as are necessary - but this inefficiency can be
eliminated with a better algorithm.

jason



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