Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: [FreeCiv-Cvs] per: Remove the ugly pcity->ai.already_c
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] per: Remove the ugly pcity->ai.already_c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] per: Remove the ugly pcity->ai.already_considered_fo...
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 9 May 2003 17:47:14 +0000 (GMT)

On Fri, 9 May 2003, Gregory Berkolaiko wrote:
> I think this is best done in the same way you did citymap.

Can't do that, since we need this info both in the beginning of the turn
(targeting) and the end of the turn (more targeting and building).

Of course, if we merge the beginning-of-turn and end-of-turn AI actions
into one, we can simplify this. But first we have to agree whether to move
this unified AI action to the beginning or end of the turn.

> Actually we need a big map for each AI player where it can store info like
> settlers targets, diplo targets and such. And better do it in a unified
> way ;)

The information needed is very different for each. But I have introduced
now the necessary data primitive (bv_id) to use, and adding more of these
into aidata is very simple.

  - Per



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