[Freeciv-Dev] Re: `city will grow' warning patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 2000/06/04 04:49 , Tomasz Wegrzanowski wrote:
>This patch can cut a lot of micro-management,
>adding more convienience to gameplay.
>
>Every time it seems that next turn city will grow, it issues warning.
>It does not if city will grow by rapture because
> a) it is 95% times not a problem, city won't disorder
> b) it would flood console if player used 100%-luxury policy
I like this. Attached is a patch which fixes a bug and does some improvement:
- Re-coded to avoid floating point exceptions.
- Moved entire thing (plus the "throttle" test/notification) to later in
the end-turn processing, so as to make the growth prediction more reliable.
- Since growth prediction is still not completely reliable, changed some of
the wording ("will" --> "may").
willgrow-6.diff
Description: Text document
jjm
|
|