empserver/tests/empdump/xundump-errors
Markus Armbruster c8b51ec1a8 config: Define infra build cost and mobility use per 100%
Infrastructure build cost is defined by infra column dcost (struct
sctintrins member in_dcost).  It's the cost per point of efficiency.
In contrast, sector and unit build cost is defined for 100%, by
sect-chr, ship-chr, plane-chr, land-chr, nuke-chr column cost.

Switch to build cost per 100%, for flexibility and consistency:
replace struct sctintrins member in_dcost by in_cost, and selector
dcost by cost.

With cost values that aren't multiple of 100, the build cost may have
to be rounded.  Do this exactly like we round sector build cost: the
amount is limited to money * 100 / cost rounded down, but the money
charged is actual amount * money / 100 rounded randomly.

Do the same for mobility use: replace struct sctintrins member
in_mcost by in_bmobil, and selector mcost by bmobil, with similar
rounding.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:09:19 +02:00
..
colhdr-amb xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-dup xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-dup2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-dup3 collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
colhdr-ellipsis xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-ellipsis2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-eof xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-idxbig collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
colhdr-idxneg collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
colhdr-idxreq collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
colhdr-junk xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-junk2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-junk3 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-malidx xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-malidx2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-malidx3 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-miss xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-miss2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-noidx xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-sep xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-symidx xundump: Polish error messages 2015-02-01 16:53:00 +01:00
colhdr-unexp2 collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
colhdr-unk xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-ambsym config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
fld-badnum xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-constnum xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-conststr config: Define infra build cost and mobility use per 100% 2017-08-06 20:09:19 +02:00
fld-conststr2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-eof xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invesc xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid1 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid3 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid4 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid5 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid6 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid7 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-invid8 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-junk xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-junk2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-malnum xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-malstr xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-many xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-miss collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
fld-miss2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-nonil xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-nonum xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-nostr xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-nosym xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-nosymset xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-sep xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-strbig xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-unexpid xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-unexpid1 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-unksym xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fld-unparen xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-fewrows xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-fewrows2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-fewrows3 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-fewrows4 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-junk xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-mal xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-mal2 config: Define infra build cost and mobility use per 100% 2017-08-06 20:09:19 +02:00
ftr-manyrows xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-manyrows2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
ftr-mismatch xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-extra xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-extra2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-junk xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-none xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-noperm xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-noperm2 xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-unexp xundump: Polish error messages 2015-02-01 16:53:00 +01:00
hdr-unktab xundump: Polish error messages 2015-02-01 16:53:00 +01:00