Factor prod_resource_limit() out of produce() and prod()

This commit is contained in:
Markus Armbruster 2013-05-05 17:09:00 +02:00
parent ec60098c36
commit ba2600e7db
3 changed files with 23 additions and 9 deletions

View file

@ -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);