]> git.pond.sub.org Git - empserver/commit
(nsc_type): New member NSC_HIDDEN.
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 18 May 2006 19:02:04 +0000 (19:02 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 18 May 2006 19:02:04 +0000 (19:02 +0000)
commit75604d817c0362739ed1ebee92fb8efa43a0cc46
tree53fab3bed9e69a2235fcb0292b6de59a2759db6c
parent6844c94b4af3982054268238bf525d97508589f7
(nsc_type): New member NSC_HIDDEN.
(meta_type): Add its entry.
(setnum, nstr_promote, nstr_exec_val): Deal with it.  nstr_exec_val()
implements opt_HIDDEN by mapping unknown values to -1.
(natstr, nat_ca): Use it for member nat_relate.  This also halves its
size.  Fixes very minor leak: before, player could see relations to
all countries, regardless of contact.
(nation_relations): Add entry for -1.
include/nat.h
include/nsc.h
src/lib/common/xundump.c
src/lib/global/nsc.c
src/lib/global/symbol.c
src/lib/subs/nstr.c