[Freeciv-Dev] (PR#8754) effects patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#8754) effects patch |
From: |
"Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx> |
Date: |
Thu, 20 May 2004 05:15:06 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8754 >
> [per@xxxxxxxxxxx - Thu May 20 07:05:15 2004]:
>
> On Wed, 19 May 2004, Vasco Alexandre da Silva Costa wrote:
> > This patch adds support for everlasting wonders. Like Manhattan. Apply
> > after effects2.diff and implement2.diff.
>
> I do not understand how this patch can work at all. It adds two unused
> functions, neither of which carry any references to any everlastingness?
> Or have you appropriated game.global_wonders for this purpose?
These functions are for wonder effects which last after the wonder has
been destroyed.
'grep B_MANHATTEN */*.c', 'grep B_APOLLO */*.c'. The current code checks
if "game.global_wonders[wonder_id] != 0". What does this mean? It means
that the wonder has been built. "game.global_wonders[wonder_id]" has the
id of the city the wonder was built on, it is 0 if it wasn't built. Even
the the wonder or city is destroyed, "game.global_wonders[wonder_id]"
keeps the city id of the city it was built in.
- [Freeciv-Dev] (PR#8754) effects patch, (continued)
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/17
- [Freeciv-Dev] Re: (PR#8754) effects patch (2), Per Inge Mathisen, 2004/05/17
- [Freeciv-Dev] Re: (PR#8754) effects patch, Jason Short, 2004/05/17
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] (PR#8754) effects patch v2, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] (PR#8754) fix civ1 ruleset equiv_range for Hoover and Bach, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] (PR#8754) effects patch: everlasting wonders, Vasco Alexandre da Silva Costa, 2004/05/19
- [Freeciv-Dev] Re: (PR#8754) effects patch: everlasting wonders, Per Inge Mathisen, 2004/05/20
- [Freeciv-Dev] (PR#8754) effects patch,
Vasco Alexandre da Silva Costa <=
- [Freeciv-Dev] (PR#8754) effects patch v3, Vasco Alexandre da Silva Costa, 2004/05/21
- [Freeciv-Dev] (PR#8754) effects patch, Jason Short, 2004/05/26
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/28
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/28
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/29
- [Freeciv-Dev] (PR#8754) effects patch, Marcelo Burda, 2004/05/31
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/31
- [Freeciv-Dev] Re: (PR#8754) effects patch, Mike Kaufman, 2004/05/31
- [Freeciv-Dev] (PR#8754) effects patch v3, Vasco Alexandre da Silva Costa, 2004/05/31
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/05/31
|
|