Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] general topologies patch
Home

[Freeciv-Dev] general topologies patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] general topologies patch
From: Jason Dorje Short <vze2zq63@xxxxxxxxxxx>
Date: Mon, 12 Nov 2001 15:42:33 -0500
Reply-to: jdorje@xxxxxxxxxxxx

I've put an updated version of the "general topologies patch" into
incoming.

ftp://ftp.freeciv.org/freeciv/incoming/general-topologies-2.diff.gz

From the README:

-----

This patch allows a more general topology setup.  Specifically, it
allows
flat-rectangular maps that wrap in any set of directions,
iso-rectangular maps
that wrap in any set of directions, and flat- and iso-elliptical maps.

Set server variables mapshape, isometricmap, nswrap, ewwrap, width, and 
height to design the map.  It works with both isometric and flat
tilesets.

It hasn't been changed too much from version 1.  A few bugs have been
fixed,
some of the variables have been renamed, and it's been updated for CVS
as of
10 AM GMT on Nov. 12th.  (It is about 10% smaller because some of its
changes
have been included into CVS.)

-----

Almost everything works, now.  Please let me know of any problems.

This is a "target" patch, not a request for inclusion into CVS. 
However, there are currently 3 patches pending that work toward this
target: the get_canvas_xy unification unifies much of the client (GUI)
code that needs to be changed, the map_iterate patch makes most/all of
the changes necessary to whole_map_iterate-like loops throughout the
code, and the base_real_map_distance patch provides a topology function
to find the difference vector between two positions.

jason


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] general topologies patch, Jason Dorje Short <=