]> git.pond.sub.org Git - empserver/blobdiff - include/update.h
production: Use update code instead of duplicating it
[empserver] / include / update.h
index 794454c4943ae1c99948e78017677b749eab0aee..a81684e33a4cfb536434df2437d6aeac89df8b5a 100644 (file)
@@ -133,8 +133,9 @@ extern void bank_income(struct sctstr *, int);
 extern void pay_reserve(struct natstr *, int);
 /* produce.c */
 extern void produce(struct natstr *, struct sctstr *);
-extern int prod_materials_cost(struct pchrstr *, short[], int *);
-extern int prod_resource_limit(struct pchrstr *, unsigned char *);
+extern double prod_output(struct sctstr *, double);
+extern double prod_materials_cost(struct pchrstr *, short[], int *);
+extern double prod_resource_limit(struct pchrstr *, unsigned char *);
 extern double prod_eff(int, float);
 /* removewants.c */
 extern int update_removewants(void);