Summary: variable city radii
                 Project: Freeciv
            Submitted by: syntron
            Submitted on: Samstag 08.08.2009 um 23:13
                Category: general
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



the patch attached to this ticket includes all patches to use a variable city

To use variable city radii the following patches are needed:

* #1221  update city map iterator macros
* #1222  function to access information for different radii
* #1223  add macros CITY_REL2ABS() and CITY_ABS2REL()
* #1224  implement the city radius as variable save in the city struct
* #1225  add comment explaning the new city radii
* #1230  new savegame format
* #1231  activate different city radii
* #1233  [fix] missing change to the default lua script

The different city radii can be logged by:

* #1226  add possibility to log the city map
* #1227  use new logging possibilities in aisettler.c
* #1228  use new logging in sanitycheck.c
* #1229  use new logging in cm_print_result()

(try the logging in city.c:505!)

More than one build slot for units (pop_cost == 0!):

#1234  more than one build slot for units

Update migration distance to use the size of the city radius (if mgr_distance
is set to 0):

#1232  update migration to use the city radii

Known bugs:

* 1: lua error: error in error handling 
* 1: City size 2, citizen count 3 for Dundee 

Known regressions:

* for huts the radius check uses the maximum city radius (2 => 5)
* save/load gives warnings if the city radius definitions are changed in the
ruleset (ownership?) 
* using autogame (timeout -1) the AI does not build cities if there is no
client connected (as human or as observer); with a client connected at the
beginning all is OK

rpm fro opensuse including this patch as well as a lot of other patches can
be found at ftp://ftp5.gwdg.de/pub/opensuse/repositories/home:/syntron


File Attachments:

Date: Samstag 08.08.2009 um 23:13  Name: cityradius.patch  Size: 121kB   By:



Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to