Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#2521) general effects framework
Home

[Freeciv-Dev] Re: (PR#2521) general effects framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#2521) general effects framework
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Apr 2004 22:43:15 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=2521 >

On Tue, Apr 20, 2004 at 10:22:12PM -0700, Jason Short wrote:
> 
> Probably not, but I'm not sure what the logic is?
> 
> Do both pplayer->can_xxx and game.can_xxx have legitimate values?  Are 
> they always the same for the current ruleset?  If we load an old 
> savegame do we just fill them all with the information taken from 
> game.global_wonders?

logic is:

if game->can_xxx is TRUE then all pplayer->can_xxx are set to TRUE. And
this should be done on game load. This is the only option for current 
rulesets. It is currently only a global effect. So old games should set
game->can_xxx to if the wonders are there or destroyed.
 
> You can take a look at the savegame.c changes I made.  They should be 
> easy to duplicate for pplayer->can_xxx.

should be.

-mike




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