Support definition of additional sector types in sector.config:
(SCT_TYPE_MAX): New. (dchr): Use it instead of SCT_MAXDEF to size the table. (SCT_EFFIC): Likewise. Move from sect.h to budg.h.
This commit is contained in:
parent
cf1c69543e
commit
e81828ec4c
3 changed files with 6 additions and 3 deletions
|
@ -43,8 +43,9 @@
|
|||
/*
|
||||
* Table of sector designations
|
||||
* Initialized on startup from sect.config and deity custom config (if any).
|
||||
* Terminated by a sentinel with null d_name.
|
||||
*/
|
||||
struct dchrstr dchr[SCT_MAXDEF + 2];
|
||||
struct dchrstr dchr[SCT_TYPE_MAX + 1];
|
||||
|
||||
/*
|
||||
* Table of infrastructure types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue