Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2003:
[Freeciv-Dev] Re: borders patch (PR#1870)
Home

[Freeciv-Dev] Re: borders patch (PR#1870)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ben@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: borders patch (PR#1870)
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 19 Jun 2003 07:40:19 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, 16 Jun 2003, Ben Webb wrote:
> Yes, I've noticed that. Is there any Freeciv code for detecting inland
> lakes (e.g. to stop the AI building naval units in them) ?

No, alas.

> It would be relatively straightforward to detect a 1x1 lake, I suppose,
> but any bigger than that and you have to think about where to draw the
> line between inland lake and inland sea...

How about claiming any 'ocean' tile bordering on at least five claimed
land tiles? You'd get a few extra corners to real oceans, but it would
grab all types of inland lakes.

  - Per




[Prev in Thread] Current Thread [Next in Thread]