empserver/tests
Markus Armbruster 5d3abc9917 config: Generalize infrastructure build materials storage
Infrastructure requires lcms and hcms to build.  The build materials
are exposed as infrastructure columns lcms, hcms (struct sctintrins
members in_lcms, in_hcms).  They are per point of efficiency.  In
contrast, sector and unit build materials are defined for 100%.

We want to define build materials for 100% now, for flexibility and
consistency, and we want to optionally support more build materials in
the future.  Replace members in_lcms and in_hcms by array in_mat[],
and provide selectors l_build and h_build.

Additionally provide selectors for all other item types, with value
zero, to help clients prepare for future additional materials.  Use
CA_DUMP_ONLY to keep them out of configuration tables until they
actually work.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:19 +02:00
..
actofgod lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
bridgefall lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
build nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
empdump config: Generalize infrastructure build materials storage 2017-08-06 20:09:19 +02:00
fairland nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
files nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
fire nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
info tests/info: New; checks info and code agree on commands 2014-01-06 20:50:06 +01:00
navi-march nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
retreat nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
smoke lost: Fix to track more than one lost sector per owner 2017-08-06 20:09:18 +02:00
torpedo nsc: Drop deprecated nat and country selector hostname 2017-08-06 20:09:17 +02:00
update update/revolt: Fix guerrilla liberating old-owned sector 2017-08-06 20:09:19 +02:00
version config: Generalize infrastructure build materials storage 2017-08-06 20:09:19 +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/smoke: Run news 2017-08-06 20:09:17 +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 config: Split table sect-chr for legibility 2017-08-06 19:59:58 +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