Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8624) New clima function to best handle terrain pl
Home

[Freeciv-Dev] Re: (PR#8624) New clima function to best handle terrain pl

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8624) New clima function to best handle terrain place, used to place poles.
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 May 2004 11:58:29 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8624 >

Marcelo Burda wrote:

> that is exactly i not want. this only find simplest singularities but
> not the central simetries in quincuntial. if iterator is well defined
> (as is in quincuntial patch!) this near_singularities find it!
> but evidently is_singular_map_pos is realy best in any other topologies.

I don't understand how the iterator method will find the singularity. 
The current iterators will happily duplicate points if the wrapping 
works out, and changing this seems hard.

Also, in a quincuncial topology you know exactly where the singularities 
are ((map.xsize/2,0) and so on).  So can't you easily check for them in 
is_singular_map_pos?

However is_singular_map_pos doesn't work well in hex topologies.  It is 
possible but not pretty.  So this may not be the best solution.

jason




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