[Freeciv-Dev] Re: (PR#2521) general effects framework
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
- [Freeciv-Dev] Re: (PR#2521) general effects framework, (continued)
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Vasco Alexandre da Silva Costa, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/20
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework,
Mike Kaufman <=
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Per I. Mathisen, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Per I. Mathisen, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Vasco Alexandre da Silva Costa, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Jason Short, 2004/04/21
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Per I. Mathisen, 2004/04/21
|
|