[Freeciv-Dev] Re: (PR#10359) Saving changes game state
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10359 >
Per I. Mathisen wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10359 >
>
> On Tue, 5 Oct 2004, Jason Short wrote:
>
>>- Some AI code accesses the score data. In one place
>>total_player_citizens() is called.In another player score.mfg is
>>checked to look at the "production leader".
>
>
> aidata should collect and store this data. The AI code should not use the
> score data, IMHO. It creates a dependency relationship which we can do
> without.
Maybe. In that case the score data probably shouldn't be stored
permanently at all. Another alternative is to have the score data be
recalculated regularly so that it is always up-to-date - this wouldn't
be that hard, I think.
jason
|
|