From 79e5fdec38292816dabf9da1d862e903da81884d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 17 Jan 2002 19:21:20 +0000 Subject: [PATCH] CR VERSION 63: visibility flag --- src/common/gamecode/creport.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 9c4611087..48111eeb7 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -76,7 +76,7 @@ extern const char *spelldata[]; extern int quiet; /* globals */ -#define C_REPORT_VERSION 62 +#define C_REPORT_VERSION 63 #define TAG_LOCALE "de" #ifdef TAG_LOCALE @@ -1003,6 +1003,19 @@ report_computer(FILE * F, faction * f, const seen_region * seen, } fprintf(F, "\"%s\";Terrain\n", add_translation(tname, locale_string(f->locale, tname))); + switch (seemode) { +#ifdef SEE_FAR + case see_far: + fputs("\"neighbourhood\";visibility\n", F); + break; +#endif + case see_lighthouse: + fputs("\"lighthouse\";visibility\n", F); + break; + case see_travel: + fputs("\"travel\";visibility\n", F); + break; + } if (seemode != see_neighbour) { #define RESOURCECOMPAT