Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: zoom
Home

[Freeciv-Dev] Re: zoom

[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: zoom
From: Jason Dorje Short <vze2zq63@xxxxxxxxxxx>
Date: Mon, 29 Oct 2001 14:21:33 -0500
Reply-to: jdorje@xxxxxxxxxxxx

Jason Dorje Short wrote:
> 
> Karl-Ingo Friese wrote:
> >
> > On Mon, 29 Oct 2001, Raimar Falke wrote:
> >
> > > On Mon, Oct 29, 2001 at 12:31:37PM +0100, Karl-Ingo Friese wrote:
> > > > Hello there,
> > > >
> > > > as some of you might already know, I added a zoom feature
> > > > to teamciv. Now I think about adapting that patch to CVS.
> > > > However, before I do, I'd like to discuss a few things:
> > > >
> > > > a) zooming takes both: memory and CPU time. CPU time at
> > > >    initializing, memory afterward. It might be better
> > > >    to add this as an optionial feature for slower machines.
> > > >    Any suggestions how this should be done ?
> > >
> > > Make it a command line switch? How fast/slow it is really?

Making it a command-line switch isn't necessary if it doesn't scale
until you try to zoom.  I think this is the correct way to handle it,
but as I said a window to tell you of the scaling would be nice.

> > The initiaizing takes about 10-20 seconds on an Athlon 800,
> > depending on how many zoom levels you want (currently hard-
> > coded).
> >
> > After that, the zoom itself is smooth.
> >
> > Download teamciv and try for yourself ;)
> 
> I must say, that is pretty sweet.

One other problem: when zoomed out, tiles do not get updated properly
(for instance, when you move a unit diagonally).  Looks like this might
be happening because the original tiles are being used to draw instead
of the scaled ones.

jason


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