[Freeciv-Dev] [PATCH] citydlg packet traffic (PR#1234)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
the attached patch does four semi-related things:
1. move city options widgets to an array. (code cleanup, reduction)
2. stop sending city_options packets unless they actually changed.
It was sending a packet for every button that was different when
you switched cities. That could mean up to 6 (7 maybe) useless packets
per switch.
3. don't send a worklist packet on every city dialog close, only if the
worklist has changed.
4. don't update the worklist editor twice on city switch. I'm not sure
what I was thinking here.
there really shouldn't be any issues with it (hopefully).
-mike
city_packets.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [PATCH] citydlg packet traffic (PR#1234),
Mike Kaufman <=
|
|