edit: Report flags change properly

Print a message, send bulletin to owner.  Affects ship key 'W', land
unit key 'W', and plane key 'f'.  The message is necessary to give the
deity a chance to catch unexpected changes, e.g. a player modifying
retreat conditions right before the deity edits them.  Watching out
for such changes is especially important with non-interactive edit.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2013-02-03 15:10:46 +01:00
parent ef2e2d08a2
commit 4aa2f071ba
5 changed files with 86 additions and 1 deletions

View file

@ -27,7 +27,7 @@
* types.h: Empire types
*
* Known contributors to this file:
* Markus Armbruster, 2006-2011
* Markus Armbruster, 2006-2013
*/
#ifndef TYPES_H
@ -56,6 +56,7 @@ struct range;
struct sctstr;
struct shiplist;
struct shpstr;
struct symbol;
struct trdstr;
struct trtstr;
struct comstr;