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: Reinier Post <rp@xxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: [PATCH] bugfix for wrapping problem
From: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Date: Sat, 25 Aug 2001 11:39:36 -0400

We should be careful to distinguish the critical objection in this
thread.

Wrapping is *good* when the coordinate is continuous in that direction.
Having tiles move off one side and onto another allows one to center a
field-of-view for improved local interpretation.

Drawing multiple images of wrapped tiles is *bad*, inconceivably moreso
when you aren't even bothering to simultaneously update all versions.

It might be noted that many fantasy games have a wizard spell to create
multiple images of a defender with the purpose of overloading and 
confusing an attacker and by so doing divert attacks from the true player. 
I really don't think you want to make Freeciv throw such spells at the 
poor user as a matter of course.

I might add, that if the coordinate doesn't wrap, then the map should
not as well. This is currently not the behaviour for a Donut-World or 
MAP_WRAP_Y.

Cheers,
RossW
=====

At 02:52 AM 01/08/25 +0200, Reinier Post wrote:
>On Fri, Aug 24, 2001 at 07:25:53PM -0400, Jason Dorje Short wrote:
[...]
>> 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.
[...]
>> jason
>
>-- 
>Reinier
>
>



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