Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] [PATCH] Tori, rectangles and cylinders. (PR#1048)
Home

[Freeciv-Dev] [PATCH] Tori, rectangles and cylinders. (PR#1048)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] Tori, rectangles and cylinders. (PR#1048)
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Wed, 31 Oct 2001 20:48:35 -0800 (PST)

Having grown tired of the discussion on this lately, I decided to
forge ahead and actually implement some of what has been discussed
lately.

This patch does the following:

* Add support for rectangles, cylinders (both ways) and tori to the
  various coordinate manipulation functions.

* Add a field top of type enum topology to the civ_map struct to
  control which version is used.

* Extend the GTK overhead view and minimap code to cope.  (I also
  eliminated all uses of map_adjust_[xy]).

Note that map.top is unconditionally set to TOP_XCYLINDER in
map_init(), so that no incompatibilities are introduced even though no
capstring has been added or all the clients updated.

Attachment: top.diff
Description: Text document

Next: Xaw and the isometric view code.  Add isometric versions of the
topologies.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Well, I'm a classic ANAL RETENTIVE!!  And I'm looking for a way to
 VICARIOUSLY experience some reason to LIVE!!

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [PATCH] Tori, rectangles and cylinders. (PR#1048), Gaute B Strokkenes <=