Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#6721) extended topologies base concept
Home

[Freeciv-Dev] (PR#6721) extended topologies base concept

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#6721) extended topologies base concept
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Thu, 8 Jan 2004 06:05:50 -0800
Reply-to: rt@xxxxxxxxxxx

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

my patch is based in xwrap_type and ywrap_type then all the code see it
normalize_map_ps() too. and make case if needed.

This is some complex and we make a init_topologie too set it easy
then the init_topologie can set a pointer too:
 normalize_map_pos = normalize_map_pos_quincuncial

and i can make separates fonction
 normalize_map_pos_flat()
 normalize_map_pos_cylindrical()
 normalize_map_pos_torus()
 etc without cast. this make best speed and more clean funcionts.
we can extend it for all topological funcions, eventualy we can make a 
cast on topology_id in less important fonction (map_clima, for 
generators).

Marcelo
         



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