Better document how .config must match compiled-in UIDs
This commit is contained in:
parent
221268e0e1
commit
03a2c61de4
5 changed files with 14 additions and 3 deletions
|
@ -121,8 +121,7 @@ struct dchrstr {
|
|||
char *d_name; /* full name of sector type */
|
||||
};
|
||||
|
||||
/* sector types (must agree with order in dchr, empglb.c) */
|
||||
|
||||
/* Sector types, must match sect.config */
|
||||
#define SCT_WATER 0 /* basics */
|
||||
#define SCT_MOUNT 1
|
||||
#define SCT_SANCT 2
|
||||
|
@ -195,6 +194,7 @@ extern struct dchrstr dchr[SCT_TYPE_MAX + 2];
|
|||
#define SCT_LANDMINES(sp) \
|
||||
(SCT_MINES_ARE_SEAMINES((sp)) ? 0 : (sp)->sct_mines)
|
||||
|
||||
/* Sector infrastructure types, must match infra.config */
|
||||
#define INT_ROAD 0
|
||||
#define INT_RAIL 1
|
||||
#define INT_DEF 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue