(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:
parent
b665d57de1
commit
7f4e59fb8d
9 changed files with 19 additions and 28 deletions
|
@ -551,6 +551,7 @@ extern int dodistribute(struct sctstr *, int, s_char *, double, double);
|
|||
/* finish.c */
|
||||
extern void finish_sects(int);
|
||||
/* human.c */
|
||||
extern int new_work(struct sctstr *, int);
|
||||
extern int do_feed(register struct sctstr *, register struct natstr *,
|
||||
short *, int *, int *, int);
|
||||
extern int feed_people(short *, int, int *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue