]> git.pond.sub.org Git - empserver/blob - include/var.h
(show_sect_capab, V_ITEM): The difference between variable and
[empserver] / include / var.h
1 /*
2  *  Empire - A multi-player, client/server Internet based war game.
3  *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
4  *                           Ken Stevens, Steve McClure
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2 of the License, or
9  *  (at your option) any later version.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  *  ---
21  *
22  *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
23  *  related information and legal notices. It is expected that any future
24  *  projects/authors will amend these files as needed.
25  *
26  *  ---
27  *
28  *  var.h: various variable definitions
29  * 
30  *  Known contributors to this file:
31  *     
32  */
33
34 #ifndef _VAR_H_
35 #define _VAR_H_
36
37 #define PLG_HEALTHY     0
38 #define PLG_DYING       1
39 #define PLG_INFECT      2
40 #define PLG_INCUBATE    3
41 #define PLG_EXPOSED     4
42
43 #define V_ITEM(x)       (x)
44
45 #define I_NONE          0
46 #define I_CIVIL         1
47 #define I_MILIT         2
48 #define I_SHELL         3
49 #define I_GUN           4
50 #define I_PETROL        5
51 #define I_IRON          6
52 #define I_DUST          7
53 #define I_BAR           8
54 #define I_FOOD          9
55 #define I_OIL           10
56 #define I_LCM           11
57 #define I_HCM           12
58 #define I_UW            13
59 #define I_RAD           14
60 #define I_MAX           14
61
62 #define V_CIVIL         V_ITEM(I_CIVIL)
63 #define V_MILIT         V_ITEM(I_MILIT)
64 #define V_SHELL         V_ITEM(I_SHELL)
65 #define V_GUN           V_ITEM(I_GUN)
66 #define V_PETROL        V_ITEM(I_PETROL)
67 #define V_IRON          V_ITEM(I_IRON)
68 #define V_DUST          V_ITEM(I_DUST)
69 #define V_BAR           V_ITEM(I_BAR)
70 #define V_FOOD          V_ITEM(I_FOOD)
71 #define V_OIL           V_ITEM(I_OIL)
72 #define V_LCM           V_ITEM(I_LCM)
73 #define V_HCM           V_ITEM(I_HCM)
74 #define V_UW            V_ITEM(I_UW)
75 #define V_RAD           V_ITEM(I_RAD)
76
77 #endif /* _VAR_H_ */