Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [PATCH] bugfix for wrapping problem
Home

[Freeciv-Dev] Re: [PATCH] bugfix for wrapping problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: [PATCH] bugfix for wrapping problem
From: Reinier Post <rp@xxxxxxxxxx>
Date: Sat, 25 Aug 2001 02:52:25 +0200

On Fri, Aug 24, 2001 at 07:25:53PM -0400, Jason Dorje Short wrote:

> Refreshing the whole canvas will not give the appropriate animations,
> although it would be easy to implement.

That isn't necessary, or is it?  The user is looking at the positions
where the order was given, so that's where the animations need to be.
 
> As a final idea, if you really want to avoid wrap-around I think a
> better way to do it is not by normalizing all the time, but by limiting
> the width of the canvas.  If the canvas is no bigger than (map.xsize,
> map.ysize) in width/height, then there will still be no wrapping,

With playable 20x20 tiles (tinydent) on a 40x25 map (fast game)
on a 1600x1200 screen (my default), wrapping really is convenient.

> the
> graphical updates will be faster, and the "correct" solution for
> handling coordinates can still be used (allowing different topologies to
> work).

You can't handle playing on the sides of a cube, for instance.
But it's not clear to me if there is any consensus on the range
of topologies you aim to support, anyway.
 
> jason

-- 
Reinier


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