[Freeciv-Dev] (PR#725) Order of end/new-turn activities
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=725 >
It should be fairly easy to keep the same ordering, but change the loop
structure so that each action is done atomically. For example, instead of:
- For each player
- For each city
- Update production
- Update tech
we should have
- For each shuffled player
- For each city
- Update production
- For each shuffled player
- For each city
- Update tech
This requires substantial code changes (because of all the moved loops)
but few logical changes. However it won't necessarily improve things,
just make them more consistant. The above may be one example because we
might want to update tech _before_ production (or maybe not...).
jason
|
|