URL:
  <http://gna.org/patch/?3922>

                 Summary: The Adaptisland generator
                 Project: Freeciv
            Submitted by: mss_8734
            Submitted on: Mon May 27 17:41:59 2013
                Category: general
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

This generator is based on, but tries to adapt to map size and player count in
a more dynamic manner than, the Island generator. It strives to make equal
landmass available to all players on their respective start islands regardless
of start position distribution method. Unlike the Island generator it allows
islands for lone players larger than 120 tiles and will also generate medium-
and small islands if there is enough landmass available.

Attachment 1 adds functions to let a map generator place a specific number of
start positions on a specific continent, although the algorithm used is
probably far from ideal.
It modifies:
server/generator/startpos.c
server/generator/startpos.h
server/generator/utilities.c
server/generator/utilities.h

Attachment 2 adds the code for the generator itself and a readme file.
It modifies:
client/options.c
common/map.h
server/settings.c
server/generator/mapgen.c
doc/README.Adaptisland

Both should be applicable to trunk revision 22904 but will most likely exhibit
rather erratic behaviour if the fix supplied with bug #20847 is not applied
first.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon May 27 17:42:00 2013  Name: mapgen_startpos.diff  Size: 9kB   By:
mss_8734

<http://gna.org/patch/download.php?file_id=18015>
-------------------------------------------------------
Date: Mon May 27 17:42:00 2013  Name: mapgen_adaptisland.diff  Size: 61kB  
By: mss_8734

<http://gna.org/patch/download.php?file_id=18016>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3922>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to