empserver/tests/fairland
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
..
fairland.out tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
final.xdump contact: Move contact state from struct natstr to contactstr 2017-08-06 20:09:20 +02:00
newcap_script Switch PRNG from BSD random() to Mersenne Twister 2013-05-08 06:55:21 +02:00