Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#4659) non equally sized islands on gen 2
Home

[Freeciv-Dev] (PR#4659) non equally sized islands on gen 2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#4659) non equally sized islands on gen 2
From: "Cameron Morland" <cameron@xxxxxxxxxx>
Date: Tue, 26 Aug 2003 18:08:20 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[guest - Thu Jul 24 00:12:36 2003]:

> On this game, the cornish player (Keo) started on an island 
> smaller than the other players ones, and having a look at 
> the landmass graphic, it seems that latvians and mordors 
> also had smaller islands.

The problem is that gen2 creates the map one continent at a time, and if
there isn't sufficient space to place a newly generated continent, it'll
try again with a smaller continent, without regard to making excessively
small continents.

This patch requires every placed continent to be no smaller than 95% as
big as the requested continent. If it can't place sufficient big
continents, it starts over, reducing by 5% the size of continent it is
attempting to make. This keeps it fair, instead of always reducing the
size of continents generated later.

Attachment: gen2_fair.diff
Description: gen2_fair.diff


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4659) non equally sized islands on gen 2, Cameron Morland <=