]> git.pond.sub.org Git - empserver/blobdiff - include/product.h
Update copyright notice
[empserver] / include / product.h
index bb6dc86ee1248a90a81948a185028654fc895ccc..10cc6e3b5a30a2d168ffa2e6ae0b2cf5bcf584a5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  product.h: Definitions for things having to do with products
- * 
+ *
  *  Known contributors to this file:
- * 
+ *
  */
 
 #ifndef PRODUCT_H
@@ -58,22 +58,8 @@ struct pchrstr {
     char *p_sname;             /* short (7 char or less) name of product */
 };
 
-#define        P_SHELL 0
-#define        P_GUN   1
-#define        P_PETROL        2
-#define        P_IRON  3
-#define        P_DUST  4 
-#define        P_BAR   5 
-#define        P_FOOD  6 
-#define        P_OIL   7 
-#define        P_LCM   8 
-#define        P_HCM   9 
-#define        P_TLEV  10
-#define        P_RLEV  11
-#define        P_ELEV  12
-#define        P_HLEV  13
-#define P_URAN 14
+#define P_MAX 22
 
-extern struct pchrstr pchr[P_URAN + 2];
+extern struct pchrstr pchr[P_MAX + 2];
 
 #endif