[Freeciv-Dev] Re: zoom
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|