(I_NONE, I_CIVIL, I_MILIT, I_SHELL, I_GUN, I_PETROL, I_IRON, I_DUST,

I_BAR, I_FOOD, I_OIL, I_LCM, I_HCM, I_UW, I_RAD, I_MAX): Turn macros
into enumeration constants.
(i_type): New.  Use where appropriate.  No functional changes, except
that I_NONE is now catched properly in a few places.
This commit is contained in:
Marc Olzheim 2004-09-16 21:18:01 +00:00
parent 308430e751
commit d30942632b
38 changed files with 143 additions and 134 deletions

View file

@ -40,21 +40,4 @@
#define PLG_INCUBATE 3
#define PLG_EXPOSED 4
#define I_NONE 0
#define I_CIVIL 1
#define I_MILIT 2
#define I_SHELL 3
#define I_GUN 4
#define I_PETROL 5
#define I_IRON 6
#define I_DUST 7
#define I_BAR 8
#define I_FOOD 9
#define I_OIL 10
#define I_LCM 11
#define I_HCM 12
#define I_UW 13
#define I_RAD 14
#define I_MAX 14
#endif /* _VAR_H_ */