]> git.pond.sub.org Git - empserver/commit
retreat lretreat: Be less loquacious when changing orders
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 10 Jan 2015 09:23:48 +0000 (10:23 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:49 +0000 (08:20 +0100)
commite2b264f02cae1566ca7a2c4966f8f1ae5d25bbad
tree9814def99653e21b363639833bf5a814e5c0657e
parentc702dc9e94b7c24c653c89eb0da4284e2fbbba24
retreat lretreat: Be less loquacious when changing orders

Instead of listing all the ships or land units ordered, just print how
many got ordered, and describe the order, like this:

    [0:640] Command : retr 2/3 bg itb
    2 ships ordered to retreat along path bg when injured, torpedoed, bombed
    [0:640] Command : retr 2 h
    1 ship ordered not to retreat

fleetadd doesn't list the ships it reassigns, either.  On the other
hand, stop lists the sectors it stops.  Perhaps it should be gagged,
too.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/retr.c
tests/retreat/journal.log