[Freeciv-Dev] [Patch] turn_founded #2 (PR#1822)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Mar 04, 2002 at 09:24:48AM +0100, Raimar Falke wrote:
>
> The patch fixed two problems which are unrelated on the first sight:
> did_buy isn't a bool and the cities in the city dialog (next/prev
> buttons) are unsorted.
>
> did_buy hasn't been converted to bool since it is set to -1 in the
> turn it is founded. This is used to give a different message which you
> try to buy something. Solved by introducing a turn_founded field in
> struct city.
>
> A long time ago we discussed without result by what criteria cities
> should be sorted in the city dialog. In Civ3 the criteria is the time
> of the city foundation. IMHO this criteria is usefull. You may guess
> it: we use the new field for the sorting.
>
> Patch is straightforward except the savegame compatibility which may
> need extra eye balls.
Updated patch attached. Nothing really changed.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
1 + 1 = 3, for large values of 1
turn_founded2.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [Patch] turn_founded #2 (PR#1822),
Raimar Falke <=
|
|