summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-overview.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-02-24 16:22:46 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-02-24 16:22:46 +0100
commit741c2fc983f323461a65505206d84e68b9859f77 (patch)
tree37acb35067dbc303b0677a3a2c179cebfbdbfec2 /crawl-ref/source/dgn-overview.h
parent53b13b267388c189806fcf4f9a8c8da9c414022f (diff)
downloadcrawl-ref-741c2fc983f323461a65505206d84e68b9859f77.tar.gz
crawl-ref-741c2fc983f323461a65505206d84e68b9859f77.zip
Pass a flag instead of checking global state in dgn-overview.
Previously, overview_description_string() checked for a running game to determine whether to print certain informational things. They were still being displayed for in-game character dumps ('#') however.
Diffstat (limited to 'crawl-ref/source/dgn-overview.h')
-rw-r--r--crawl-ref/source/dgn-overview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-overview.h b/crawl-ref/source/dgn-overview.h
index 718219b3b5..d3569a3695 100644
--- a/crawl-ref/source/dgn-overview.h
+++ b/crawl-ref/source/dgn-overview.h
@@ -17,7 +17,7 @@ bool overview_knows_portal(dungeon_feature_type portal);
int overview_knows_num_portals(dungeon_feature_type portal);
void display_overview();
bool unnotice_feature(const level_pos &pos);
-std::string overview_description_string();
+std::string overview_description_string(bool display);
///////////////////////////////////////////////////////////
void set_level_annotation(std::string str,