empserver/include
Markus Armbruster 41a2f7d1df neweff production: Consider insufficient food
newe() and prod() duplicate parts of the update's do_feed(), except
they round babies down instead of randomly, to get a stable,
conservative forecast.  Unlike the update, they assume sufficient
food.  Inaccurate for sectors that are going to starve or have
suboptimal population growth.  Not documented.  Has always been that
way.

Eliminate the undocumented assumption by replacing the duplicate code
by a call of do_feed().  Add a suitable parameter to do_feed() to
preserve the different rounding.

The update test shows the improvement.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 19:59:57 +02:00
..
actofgod.h Update copyright notice 2017-07-02 17:45:44 +02:00
budg.h update: Drop redundant bp_put_items() parameter vec[] 2017-08-06 19:59:57 +02:00
chance.h Fix PRNG seeding to resist guessing 2013-05-08 06:55:21 +02:00
com.h Update copyright notice 2017-07-02 17:45:44 +02:00
combat.h Update copyright notice 2017-07-02 17:45:44 +02:00
commands.h Update copyright notice 2017-07-02 17:45:44 +02:00
commodity.h Update copyright notice 2017-07-02 17:45:44 +02:00
damage.h Update copyright notice 2017-07-02 17:45:44 +02:00
distribute.h Update copyright notice 2017-07-02 17:45:44 +02:00
econfig-spec.h Update copyright notice 2017-07-02 17:45:44 +02:00
empio.h Update copyright notice 2017-07-02 17:45:44 +02:00
empobj.h Update copyright notice 2017-07-02 17:45:44 +02:00
empthread.h Update copyright notice 2017-07-02 17:45:44 +02:00
file.h Update copyright notice 2017-07-02 17:45:44 +02:00
game.h Update copyright notice 2017-07-02 17:45:44 +02:00
ioqueue.h Update copyright notice 2017-07-02 17:45:44 +02:00
item.h power: Make item power value configurable 2017-08-06 19:59:45 +02:00
journal.h Update copyright notice 2017-07-02 17:45:44 +02:00
land.h config: Generalize unit build materials storage 2017-08-06 14:05:11 +02:00
loan.h Update copyright notice 2017-07-02 17:45:44 +02:00
lost.h Update copyright notice 2017-07-02 17:45:44 +02:00
lwp.h Update copyright notice 2017-07-02 17:45:44 +02:00
map.h Update copyright notice 2017-07-02 17:45:44 +02:00
match.h Update copyright notice 2017-07-02 17:45:44 +02:00
misc.h Update copyright notice 2017-07-02 17:45:44 +02:00
mission.h Update copyright notice 2017-07-02 17:45:44 +02:00
nat.h Update copyright notice 2017-07-02 17:45:44 +02:00
news.h Update copyright notice 2017-07-02 17:45:44 +02:00
nsc.h nsc: New enum ca_dump member CA_DUMP_ONLY 2017-08-06 19:59:56 +02:00
nuke.h config: Generalize unit build materials storage 2017-08-06 14:05:11 +02:00
optlist.h Update copyright notice 2017-07-02 17:45:44 +02:00
path.h Update copyright notice 2017-07-02 17:45:44 +02:00
plague.h Update copyright notice 2017-07-02 17:45:44 +02:00
plane.h config: Generalize unit build materials storage 2017-08-06 14:05:11 +02:00
player.h Update copyright notice 2017-07-02 17:45:44 +02:00
power.h Update copyright notice 2017-07-02 17:45:44 +02:00
product.h Update copyright notice 2017-07-02 17:45:44 +02:00
proto.h Update copyright notice 2017-07-02 17:45:44 +02:00
prototypes.h neweff production: Consider insufficient food 2017-08-06 19:59:57 +02:00
queue.h Update copyright notice 2017-07-02 17:45:44 +02:00
retreat.h Update copyright notice 2017-07-02 17:45:44 +02:00
sect.h Update copyright notice 2017-07-02 17:45:44 +02:00
server.h Update copyright notice 2017-07-02 17:45:44 +02:00
service.h Update copyright notice 2017-07-02 17:45:44 +02:00
ship.h config: Generalize unit build materials storage 2017-08-06 14:05:11 +02:00
tel.h Update copyright notice 2017-07-02 17:45:44 +02:00
testing.h Update copyright notice 2017-07-02 17:45:44 +02:00
trade.h Update copyright notice 2017-07-02 17:45:44 +02:00
types.h Update copyright notice 2017-07-02 17:45:44 +02:00
unit.h Update copyright notice 2017-07-02 17:45:44 +02:00
update.h Update copyright notice 2017-07-02 17:45:44 +02:00
version.h Update copyright notice 2017-07-02 17:45:44 +02:00
xdump.h Update copyright notice 2017-07-02 17:45:44 +02:00
xy.h Update copyright notice 2017-07-02 17:45:44 +02:00