Factor prod_resource_limit() out of produce() and prod()
This commit is contained in:
parent
ec60098c36
commit
ba2600e7db
3 changed files with 23 additions and 9 deletions
|
@ -717,6 +717,7 @@ extern int bank_income(struct sctstr *, int);
|
|||
extern int produce(struct natstr *, struct sctstr *, short *, int, int,
|
||||
int, int *, int *);
|
||||
extern int prod_materials_cost(struct pchrstr *, short[], int *);
|
||||
extern int prod_resource_limit(struct pchrstr *, unsigned char *);
|
||||
extern double prod_eff(int, float);
|
||||
/* removewants.c */
|
||||
extern int update_removewants(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue