[Freeciv-Dev] [Patch] turn_founded
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"I haven't lost my mind - it's backed up on tape somewhere."
turn_founded1.diff
Description: Text document
- [Freeciv-Dev] [Patch] turn_founded,
Raimar Falke <=
- [Freeciv-Dev] Re: [Patch] turn_founded, Jason Short, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Raimar Falke, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Raimar Falke, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Mike Kaufman, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Jason Short, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Raimar Falke, 2002/03/04
- [Freeciv-Dev] Re: [Patch] turn_founded, Mike Kaufman, 2002/03/04
|
|