CR VERSION 63: visibility flag

This commit is contained in:
Enno Rehling 2002-01-17 19:21:20 +00:00
parent 1edddd76fa
commit 79e5fdec38
1 changed files with 14 additions and 1 deletions

View File

@ -76,7 +76,7 @@ extern const char *spelldata[];
extern int quiet; extern int quiet;
/* globals */ /* globals */
#define C_REPORT_VERSION 62 #define C_REPORT_VERSION 63
#define TAG_LOCALE "de" #define TAG_LOCALE "de"
#ifdef TAG_LOCALE #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))); 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) if (seemode != see_neighbour)
{ {
#define RESOURCECOMPAT #define RESOURCECOMPAT