Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2004:
[freeciv-ai] New settler code v13
Home

[freeciv-ai] New settler code v13

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] New settler code v13
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Wed, 19 May 2004 17:02:04 +0000 (GMT)

On Thu, 27 Nov 2003, Gregory Berkolaiko wrote:
> Attached is a new settler code by Per hacked in an ugly way to send
> settlers abroad. It does what it should do, although not very
> efficiently, I must say.

Here is an updated version of the patch. I have tested it, and it works.
Well, at least for some interpretations of 'works' ;). Coordination
between settlers wanting to go off-shore and ferries to take them is
(still) not good.

Greg's original code has been refactored a little bit, but is otherwise
unchanged.

I had to turn off ferry-exploring, since this meant no ferries available
for ferrying anyone until map was fully explored.

  - Per

Attachment: citymap.h
Description: Text document

Attachment: citymap.c
Description: Text document

Attachment: aisettler.h
Description: Text document

Attachment: aisettler.c
Description: Text document

Attachment: newsettler13.diff
Description: Text document


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