Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2006:
[Freeciv-Dev] Re: (PR#17617) unsafe terrains and continents
Home

[Freeciv-Dev] Re: (PR#17617) unsafe terrains and continents

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#17617) unsafe terrains and continents
From: "Peter Schaefer" <peter.schaefer@xxxxxxxxx>
Date: Sun, 4 Jun 2006 00:15:29 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=17617 >

Shouldn't the small size of 1-tile continents (bordering to the pole)
be a natural impediment against placement of players there?

On 6/4/06, Jason Dorje Short <jdorje@xxxxxxxxx> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=17617 >
>
>
>    /* Unsafe terrains separate continents, otherwise small areas of green
>     * near the poles could be populated by a civilization if that pole
>     * was part of a larger continent. */
>    assign_continent_numbers(TRUE);
>
> The unsafe terrains that used to be glacier/arctic tiles would separate
> continents, so a small patch of green next to the pole would count as a
> 1-tile continent instead of a part of a larger continent.  Now that
> arctic is no longer unsafe, this no longer works and polar placements
> are much more common.
>
> To fix this, we need to have real detection of polar locations.  The
> whole mapgen code could use some cleanup, but this fix is needed for 2.1.
>
> The attached patch should do a passable job of preventing this.  It just
> sets a fixed distance from the pole that starting positions have to be.
>   In a few tests I ran this looks fine.  However it obviously needs some
> extensive testing.
>
> -jason
>
>
>
>





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#17617) unsafe terrains and continents, Peter Schaefer <=