edit: Report sector loss and gain properly for key 'L'
Send bulletin to owner and report news exactly like for key 'o'. Also print a "sector duplicated" message, just for consistency with other keys. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
a41c74967d
commit
fec5ad692d
6 changed files with 136 additions and 15 deletions
42
include/actofgod.h
Normal file
42
include/actofgod.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Empire - A multi-player, client/server Internet based war game.
|
||||
* Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
|
||||
* Ken Stevens, Steve McClure, Markus Armbruster
|
||||
*
|
||||
* Empire is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* ---
|
||||
*
|
||||
* See files README, COPYING and CREDITS in the root of the source
|
||||
* tree for related information and legal notices. It is expected
|
||||
* that future projects/authors will amend these files as needed.
|
||||
*
|
||||
* ---
|
||||
*
|
||||
* actofgod.h: Deity meddling
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2013
|
||||
*/
|
||||
|
||||
#ifndef ACTOFGOD_H
|
||||
#define ACTOFGOD_H
|
||||
|
||||
#include "item.h"
|
||||
#include "nat.h"
|
||||
|
||||
extern void report_god_takes(char *, char *, natid);
|
||||
extern void report_god_gives(char *, char *, natid);
|
||||
|
||||
#endif
|
|
@ -384,6 +384,8 @@ extern void stop_service(void);
|
|||
/*
|
||||
* src/lib/subs/ *.c
|
||||
*/
|
||||
/* actofgod.c */
|
||||
/* in actofgod.h */
|
||||
/* askyn.c */
|
||||
extern int confirm(char *);
|
||||
extern int askyn(char *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue