config: Add sect-chr flags, replace cost by flag "deity"
Give sector types capability flags (dchrstr member d_flags), like ship, plane, land unit and nuke types have. Member d_cost is effectively a flag since the previous commit. Replace it by capability flag "deity". This is an xdump compatibility break. To provide the customary grace period, we'd have make selector cost virtual instead, and deprecate it. But we're not bothering with maintaining xdump compatibility in this release. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
ba2795fbf7
commit
16bf0d28b2
12 changed files with 240 additions and 187 deletions
|
@ -27,7 +27,7 @@
|
|||
* file.h: Describes Empire tables (`files' for historical reasons)
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2005-2014
|
||||
* Markus Armbruster, 2005-2016
|
||||
*/
|
||||
|
||||
#ifndef FILE_H
|
||||
|
@ -198,6 +198,7 @@ enum {
|
|||
EF_RESOURCES,
|
||||
EF_RETREAT_FLAGS,
|
||||
EF_SECTOR_NAVIGATION,
|
||||
EF_SECTOR_CHR_FLAGS,
|
||||
EF_SHIP_CHR_FLAGS,
|
||||
/* Views */
|
||||
EF_COUNTRY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue