Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#10359) Saving changes game state
Home

[Freeciv-Dev] Re: (PR#10359) Saving changes game state

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10359) Saving changes game state
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Oct 2004 09:06:01 -0700
Reply-to: rt@xxxxxxxxxxx

<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




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