]> git.pond.sub.org Git - empserver/commit - src/lib/update/distribute.c
(IPKG): New.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 28 Aug 2004 08:43:57 +0000 (08:43 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 28 Aug 2004 08:43:57 +0000 (08:43 +0000)
commit5ec392227ac52c2ee25fca0563a0480949bc35b2
treedf17094a3645ea66ba96aef37ca903949b2fdb34
parent92799db17bd75457260336876038cc18529ccb60
(IPKG): New.
(ichr): Set IPKG packing bonus for all sectors to 1.
(move): Use it.  No functional change.
(deliver, dodistribute): Use it.  Inefficient sectors now get IPKG
instead of NPKG packing bonus, cutting civilian packing bonus from 10
to 1.

(dodistribute): Export uses the better of sector or distribution
center packing bonus.  Previously, it assumed that distribution center
WPKG packing is always best.  Which is currently true, but needlessly
breaks the abstraction.
include/item.h
src/lib/commands/move.c
src/lib/global/item.c
src/lib/update/deliver.c
src/lib/update/distribute.c