patchFreeciv - Patches: patch #3922, The Adaptisland generator

Show feedback again

patch #3922: The Adaptisland generator

Submitted by:  Micke <mss_8734>
Submitted on:  Mon May 27 17:41:59 2013  
Category: generalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon May 27 17:41:59 2013, original submission:

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:

Attachment 2 adds the code for the generator itself and a readme file.
It modifies:

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.

Micke <mss_8734>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #18015:  mapgen_startpos.diff added by mss_8734 (9kB - text/x-diff)
file #18016:  mapgen_adaptisland.diff added by mss_8734 (61kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pepeto (Updated the item)
  • -unavailable- added by mss_8734 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jan 13 15:21:58 2015pepetoAssigned topepeto=>None
    Thu Oct 23 17:23:04 2014pepetoAssigned toNone=>pepeto
    Mon May 27 17:42:00 2013mss_8734Attached File-=>Added mapgen_startpos.diff, #18015
      Attached File-=>Added mapgen_adaptisland.diff, #18016
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup