empserver/tests/retreat
Markus Armbruster c8e7548f24 contact: Move contact state from struct natstr to contactstr
Contact state is relatively bulky: it's a big chunk of struct natstr,
and adds almost 200 bytes per country to xdump nat for deities.

Contact changes rarely.  Since we avoid unnecessary updates, it
doesn't change at all unless option HIDDEN is enabled.  Rewriting it
to disk on every nation update and retransmitting it in every deity
xdump nat is wasteful.

To avoid this waste, move contact state to its own struct contactstr.

This is of course an xdump compatibility break.  We're not maintaining
xdump compatibility in this release.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:20 +02:00
..
01-retreat-1 retreat: Fix group retreat after failed board sinks ship 2015-03-02 08:20:51 +01:00
99-POGO tests: Wean off deprecated retreat syntax 2015-03-02 08:20:49 +01:00
final.xdump contact: Move contact state from struct natstr to contactstr 2017-08-06 20:09:20 +02:00
journal.log torpedo fire: Reveal sub hit by return fire or depth charge 2015-03-02 08:20:52 +01:00
server.log Revert "retreat: Oops on retreating ghosts" 2015-03-02 08:20:51 +01:00
setup-2 tests/retreat: Cover ships and land units on sale 2015-03-02 08:20:48 +01:00
setup-POGO tests/retreat: Cover retreat after failed board sinks victim 2015-03-02 08:20:50 +01:00