empserver/src/lib/global
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
..
constants.c Update copyright notice 2017-07-02 17:45:44 +02:00
dir.c Update copyright notice 2017-07-02 17:45:44 +02:00
infra.config Update copyright notice 2017-07-02 17:45:44 +02:00
init.c Update copyright notice 2017-07-02 17:45:44 +02:00
item.c Update copyright notice 2017-07-02 17:45:44 +02:00
item.config Update copyright notice 2017-07-02 17:45:44 +02:00
land.c Update copyright notice 2017-07-02 17:45:44 +02:00
land.config config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
news.c Update copyright notice 2017-07-02 17:45:44 +02:00
nuke.c Update copyright notice 2017-07-02 17:45:44 +02:00
nuke.config config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
options.c Update copyright notice 2017-07-02 17:45:44 +02:00
path.c.in Update copyright notice 2017-07-02 17:45:44 +02:00
plane.c Update copyright notice 2017-07-02 17:45:44 +02:00
plane.config config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
product.c Update copyright notice 2017-07-02 17:45:44 +02:00
product.config Update copyright notice 2017-07-02 17:45:44 +02:00
sect.c Update copyright notice 2017-07-02 17:45:44 +02:00
sect.config Update copyright notice 2017-07-02 17:45:44 +02:00
ship.c Update copyright notice 2017-07-02 17:45:44 +02:00
ship.config config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
symbol.c Update copyright notice 2017-07-02 17:45:44 +02:00
updtime.c Update copyright notice 2017-07-02 17:45:44 +02:00
version.c Update copyright notice 2017-07-02 17:45:44 +02:00