Re: [Freeciv-Dev] Fundamentalism
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner (dwp@xxxxxxxxxxxxxx) wrote:
> Doesn't adding the possibility for Fundamentalism mean changing
> the government enumerated type? (I don't think its there now...?)
Yes, it would.
> Adding Fundamentalism at the end of the enum would probably
> be least incompatible, but still a bit iffy because [...]
... because of lines of code like this:
citytools.c: if (gov <= G_COMMUNISM || pcity->size < 5) {
citytools.c: if (gov > G_COMMUNISM)
There's some code in the game which assumes the governments IDs appear
in a certain order. Finding it all could be a bit tedious (but it will
eventually have to be done if full customizability is to be a long-term
goal).
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
- Re: [Freeciv-Dev] Fundamentalism, (continued)
- Re: [Freeciv-Dev] Fundamentalism, Massimo Campostrini, 1999/03/15
- Re: [Freeciv-Dev] Fundamentalism, Stephen Hodge, 1999/03/15
- Re: [Freeciv-Dev] Fundamentalism, Lalo Martins, 1999/03/15
- Re: [Freeciv-Dev] Fundamentalism, Massimo Campostrini, 1999/03/15
- Re: [Freeciv-Dev] Fundamentalism, Stephen Hodge, 1999/03/16
- Re: [Freeciv-Dev] Fundamentalism, Per Mathisen, 1999/03/16
- Re: [Freeciv-Dev] Fundamentalism, Nicolas Brunel, 1999/03/16
- Re: [Freeciv-Dev] Fundamentalism, Matt Busigin, 1999/03/16
Re: [Freeciv-Dev] Fundamentalism, David Pfitzner, 1999/03/10
|
|