]> git.pond.sub.org Git - empserver/commit
(P_SHELL, P_GUN, P_PETROL, P_IRON, P_DUST, P_BAR, P_FOOD, P_OIL)
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 5 Jun 2006 17:44:25 +0000 (17:44 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 5 Jun 2006 17:44:25 +0000 (17:44 +0000)
commitf284b0beabefed676284af4d385096d28f250afd
tree1dfa842d6180d912ac294394fec3b0dd4d76f2b2
parent08937006d7d665a2d4cbf1182b07151502deff9b
(P_SHELL, P_GUN, P_PETROL, P_IRON, P_DUST, P_BAR, P_FOOD, P_OIL)
(P_LCM, P_HCM, P_TLEV, P_RLEV, P_ELEV, P_HLEV, P_URAN): Use -1 instead
of 0 for `no product', shift down product indexes and update
product.config and sector.config accordingly.
(budg, prod, show_sect_capab, produce, produce_sect): Adapt test for
no product.
(ef_elt_byname): Remove the hack to hide pchr[0].
(prod_eff): Oops on no product.
include/product.h
src/lib/commands/budg.c
src/lib/commands/prod.c
src/lib/common/type.c
src/lib/global/product.config
src/lib/global/sect.config
src/lib/subs/show.c
src/lib/update/produce.c
src/lib/update/sect.c