]> git.pond.sub.org Git - empserver/blobdiff - include/product.h
client: Unbreak standalone build
[empserver] / include / product.h
index 42dec68868e6b6cb007864a77c334cdf2393a086..79d532dd4f2058880cbc8aeeb8a46494b73a3a47 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -45,6 +45,7 @@ struct pchrstr {
     int p_uid;
     i_type p_ctype[MAXPRCON];  /* constituent types */
     unsigned short p_camt[MAXPRCON]; /* constituent amounts */
+    int p_bwork;               /* work to build one product unit */
     i_type p_type;             /* product item type, or I_NONE if level */
     int p_level;               /* level index (NAT_?LEV), or -1 if item */
     int p_cost;                        /* dollars / product unit */
@@ -57,7 +58,7 @@ struct pchrstr {
     char *p_sname;             /* short (7 char or less) name of product */
 };
 
-#define PCHR_SZ 24
+#define PCHR_SZ 32
 extern struct pchrstr pchr[PCHR_SZ];
 
 #endif