Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2003:
[freeciv-ai] Re: pre-patch to new settler code
Home

[freeciv-ai] Re: pre-patch to new settler code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: pre-patch to new settler code
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Tue, 29 Apr 2003 09:43:09 +0100 (BST)

On Sun, 27 Apr 2003, Per I. Mathisen wrote:

> As requested by Greg, I have ripped out the govt change code from the new
> settlers code.
> 
> This patch combines three general changes from the newsettler patch (I
> didn't bother splitting them up more, the changes are simple and the two
> first do not change gameplay and the last is a one-liner):
>   - Evaluate which government we want in the beginning of the turn, so
> that we can use this information during the turn.

Committed

>   - Add two functions to create and destroy virtual cities.

Left out

>   - Build settlers for city founding even if this means stagnation of
> growth.

Committed

Questions:
1. In evaluate_government we rearrange the workers for each gov we try but 
then when we reset our gov to the current and _not_ rearrange the workers.  
Is it correct?
2. We will gear our city founding to our ideal gov, but what if it's 
faraway down the tech tree?

G.




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