(new_work, do_feed, prod, newe): Factor out calculation of work into

new_work().

(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options,
rollover_avail_max, configkeys, vers, new_work): Replace option
ROLLOVER_AVAIL by configuration parameter rollover_avail_max.
This commit is contained in:
Markus Armbruster 2004-05-10 20:30:38 +00:00
parent b665d57de1
commit 7f4e59fb8d
9 changed files with 19 additions and 28 deletions

View file

@ -285,6 +285,8 @@ struct keymatch configkeys[] = {
"Food growth rate (* fertility of sector)"},
{"obrate", doubleset, (caddr_t)&obrate, 0,
"Civilian birth rate"},
{"rollover_avail_max", intset, (caddr_t)&rollover_avail_max, 0,
"Maximum avail that can roll over an update"},
{"", intset, (caddr_t)&emp_config_dummy, 0, "\n\n### Nukes"},
{"decay_per_etu", doubleset, (caddr_t)&decay_per_etu, 0,