Replace some typedef names by enum tags.
Also get rid of some mildly silly manual packing of enum types.
This commit is contained in:
parent
7ec0f0c0d0
commit
06a0036c63
13 changed files with 39 additions and 41 deletions
|
@ -36,13 +36,13 @@
|
|||
|
||||
#include "misc.h"
|
||||
|
||||
typedef enum {
|
||||
enum i_packing {
|
||||
IPKG, /* "inefficient" packaging (eff<60) */
|
||||
NPKG, /* no special packaging */
|
||||
WPKG, /* "warehouse" packaging */
|
||||
UPKG, /* "urban" packaging */
|
||||
BPKG /* "bank" packaging */
|
||||
} i_packing;
|
||||
};
|
||||
|
||||
enum {
|
||||
NUMPKG = BPKG + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue