Update of patch #2588 (project freeciv):
Status: In Progress => Ready For Test
_______________________________________________________
Follow-up Comment #1:
Attached working patch for trunk, to attract comment (and screenshot of
result). I may tweak this further, otherwise S2_3 version will follow (if
different).
* Add a new "Airlift" column to the Goto/Airlift dialog, containing textual
info about airlift capability of the destination:
** "0/1" and "1/2" show remaining airlift capacity of own cities; "Yes" shows
infinite sink capacity (airliftingstyle=DEST_UNLIMITED); "?" shows unknown
capacity of allied city; "-" shows airlift is known to be impossible
** The function generating this text is available to any client
* Add a text label at the start showing information about the city/ies the
selected unit/s are in, if any (up to 10); this shows ones which are
airlift-capable and whether they have any capacity left (using the same sort
of labels)
* (This patch propagates slightly further the memory-leaking pattern I
describe under bug #17846. Fixing that is a big job that I don't want to wait
for, but in the unlikely event that it gets fixed first, I'll rebase this
patch.)
(file #12621, file #12622)
_______________________________________________________
Additional Item Attachment:
File name: trunk-gtk-airlift-dialog.diff Size:14 KB
File name: airlift_info.png Size:228 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2588>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev