Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#7287) Extended Topologies
Home

[Freeciv-Dev] (PR#7287) Extended Topologies

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7287) Extended Topologies
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Wed, 21 Jan 2004 01:23:48 -0800
Reply-to: rt@xxxxxxxxxxx

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

This patch open the door  to news topologies, i am included the Mobius 
Strip topology as sample of a simple topology.

CHANGES:

doc:
Doc in doc/HACKING

general:
Move some normalize_map_pos to preserve informations, this is not needed 
for the simplest topologies but important for more complex ones (not 
included, Quincuncial #6721)

New SIZE and RATIO parameter to determine easy size and shape of  the 
map.

New map_init function.

Separate math in normalize_map_pos, map_distance_vector.

New topologies parameters xwrap_type and ywrap_type

new macros do_in_map_pos() and do_in_nat_pos() for best style and less 
bug prone.

New flags system XWRAP_TYPE_IS, YWRAP_TYPE_IS but deprecated old system 
is working.

New topologies indexing concept for easy add new ones.

Generators:
New map_clima function to generalize the climatic shape of the map.

Pole problem solve in all generators for all topologies

New singularity detection function (for borders and others 
singularities, see doc)

client:

New generalize tiles update concept (near_obit function and 
near_orbit_iterate iterator)

xaw, gtk1, gtk2 working.


TODO
others clients

Marcelo

Attachment: ExtendedTopologies.V2.0.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7287) Extended Topologies, Marcelo Burda <=