[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 >
Mike Kaufman wrote:
>>- I don't understand why there is a game.can_xxx and also a
>>pplayer->can_nuke.
>
> the reason this is done is as an extension. With pplayer->can_nuke, you can
> treat this effect as a Player-range effect as well as a World-range effect.
> The code to treat this case is not too hairy in the regular code, maybe it
> is in the savegame code?
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?
You can take a look at the savegame.c changes I made. They should be
easy to duplicate for pplayer->can_xxx.
jason
- [Freeciv-Dev] Re: (PR#2521) general effects framework, (continued)
- [Freeciv-Dev] Re: (PR#2521) general effects framework, Mike Kaufman, 2004/04/20
- [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 <=
- [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, 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
|
|