Complete.Org: Mailing Lists: Archives: freeciv-ai: June 2004:
[freeciv-ai] Re: New settler code v17
Home

[freeciv-ai] Re: New settler code v17

[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] Re: New settler code v17
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Thu, 17 Jun 2004 00:06:01 +0000 (GMT)

CHANGES:
 - some speed increase
 - stop phase 2 (overseas) if we have a good enough result from phase 1
 - fix a few bugs
 - bump want for simplest ferry if we can't get overseas and we need to
 - /debug settler <player> <x> <y> will print a cityresult map of an area;
this is not terribly useful, though, since you can generally only use it
on non-reserved empty areas, or otherwise the result will be skewed by the
settler going there due to reservations
 - if you set a unit on debug, code will not print the cityresult stuff
when we decide to make a city somewhere

I still think it should have some more work. It works really well on most
maps, but stumbles (a bit worse than current 'hard' AI) on a few maps.

Perhaps also more speed up is desirable - I am considering doing a more
general static map of the world to cache more tile data.

  - Per

Attachment: aisettler.h
Description: Text document

Attachment: aisettler.c
Description: Text document

Attachment: newsettler17.diff
Description: Text document


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