Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
April 2000: [Freeciv-Dev] send city updates juring turn |
[Freeciv-Dev] send city updates juring turn[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Here is an updated patch. Whenever a unit -dies -enters a city -leaves a city -enters a square with fortress -leaves a square with fortress the city, the units homecity and the unit is updated as needed and send to the client. This is not done if the player is AI controlled, so avoiding lengthening the AI turns. It is a bit crudely done right now, but it works, and as it is done juring the player turn it should not feel slow. This is very usefull when the unit movement results in a city getting into disorder/order. I also moved a few functions that didn't belong in unithand.c to unitfunc.c . It should be applied on top of my paradrop patch. (attached) Apropos my paradrop patch, I inserted a few extra calls to update_unit_info_label(punit); that I am not sure should be there. They are removed in the attached patch. -Thue
update_cities_juring_turn-Apr-27.diff
paradrop2-Apr-27.diff
|