[Freeciv-Dev] Re: We Love the Mr. Day
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 1999/11/11 21:07 , David Pfitzner wrote:
>adjustable in governments.ruleset file. Could either have an
>extra field (or use rapture_size=-1?) to signal no rapture,
>or just check whether it has no effect.
Currently, rapture_size is used only for the "rapid growth" aspect of
Rapture, in update_city_activity() in cityturn.c. There is a separate
function, city_celebrating() in city.c, that determines "rapture" for
food/shields/trade and for the City Report dialog. And, there's a third
place (again, in update_city_activity()) where "rapture" is computed for
the "we love" messages.
Unfortunately, they all use different algorithms! The last two I mentioned
use burned-in city size constants, which are different from each other and
different than the rapture_size value.
I think it'd be nice to rationalize this. Perhaps we could change
rapture_size to be the size at which a city goes into rapture (and
rapture_size=255 would naturally signal no rapture). This value would be
used in all three places (or, implicitly from all three places via a single
function). Then, to signal that rapture causes a city to "rapid grow" we
could add a new flag "RaptureCityGrowth".
Opinions? Also, have I missed any other rapture stuff in the code?
jjm
- [Freeciv-Dev] Re: BUG REPORT, (continued)
- [Freeciv-Dev] Re: BUG REPORT, Egbert Hinzen, 1999/11/10
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, David Pfitzner, 1999/11/10
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Jeff Mallatt, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Tony Stuckey, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Egbert Hinzen, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Greg Wooledge, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Jeff Mallatt, 1999/11/12
- [Freeciv-Dev] Re: We Love the Mr. Day; was Re: BUG REPORT, Chris Lawrence, 1999/11/12
- [Freeciv-Dev] Re: We Love the Mr. Day, Egbert Hinzen, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day, David Pfitzner, 1999/11/11
- [Freeciv-Dev] Re: We Love the Mr. Day,
Jeff Mallatt <=
- [Freeciv-Dev] Is it possible... was: Re: Re: We Love the Mr. Day, Egbert Hinzen, 1999/11/13
- [Freeciv-Dev] Re: Is it possible... was: Re: Re: We Love the Mr. Day, David Pfitzner, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Egbert Hinzen, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Stig Erik Sandoe, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Greg Wooledge, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Stig Erik Sandoe, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Stan Shebs, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Egbert Hinzen, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Stig Erik Sandoe, 1999/11/14
- [Freeciv-Dev] Re: Is it possible..., Egbert Hinzen, 1999/11/14
|
|