]> git.pond.sub.org Git - empserver/commit
config: Add sect-chr flags, replace cost by flag "deity"
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Jun 2016 17:22:45 +0000 (19:22 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 17:59:58 +0000 (19:59 +0200)
commit16bf0d28b2d9d14e6d5a09a8e67f01c746c0ab4a
tree6312d0cd5bdede9aef6582272b2364d3d0c3e4e4
parentba2795fbf79ef9306b49338862f0248ebe674651
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>
12 files changed:
include/file.h
include/nsc.h
include/sect.h
info/Sector-types.t
src/lib/commands/desi.c
src/lib/common/filetable.c
src/lib/common/nsc.c
src/lib/global/sect.config
src/lib/global/symbol.c
src/lib/subs/show.c
tests/version/default/00-POGO
tests/version/journal.log