empserver/tests
Markus Armbruster 68c7c08a58 config: Make work to build units independently configurable
The work required for build and repairs is traditionally a function of
build materials: 20 + lcm + 2*hcm for ships, planes and land units,
and (lcm + 2*hcm + oil + rad)/5 for nukes.  Make it independently
configurable instead, via new ship-chr, plane-chr, land-chr, nuke-chr
selector bwork, backed by new struct mchrstr member m_bwork, struct
plchrstr member pl_bwork, struct lchrstr member l_bwork, struct
nchrstr member n_bwork.  Keep the required work exactly the same for
now.

Clients that compute work from materials need to be updated.  Easy,
since build work is now exposed in xdump.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 14:04:32 +02:00
..
actofgod retreat lretreat edit xdump: Change "torped" to "torpedoed" 2015-03-02 08:20:49 +01:00
bridgefall sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
build sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
empdump config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
fairland sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
files sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
fire torpedo fire: Reveal sub hit by return fire or depth charge 2015-03-02 08:20:52 +01:00
info tests/info: New; checks info and code agree on commands 2014-01-06 20:50:06 +01:00
navi-march navigate march: Fix abort not to wipe out concurrent updates 2015-12-05 13:19:39 +01:00
retreat torpedo fire: Reveal sub hit by return fire or depth charge 2015-03-02 08:20:52 +01:00
smoke tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
torpedo torpedo: Suppress bulletin when player torpedoes his own ship 2015-03-02 08:20:52 +01:00
update tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
version config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
actofgod-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
bridgefall-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
build-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
empdump-test tests: Rewrite the previous commit's sed_i helper 2015-03-04 08:15:13 +01:00
fairland-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
files-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
fire-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
info-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
navi-march-test navigate: Require all ships to start in the same sector 2015-02-28 16:13:14 +01:00
normalize.pl tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
retreat-test tests/retreat: Cover trains 2015-03-02 08:20:48 +01:00
smoke-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
test-common.sh tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
torpedo-test tests/torpedo: New; exercises torpedo command 2015-03-02 08:20:52 +01:00
update-test tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
version-test tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00