summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewmap.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-05-17 09:53:31 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-05-18 14:42:23 +0200
commita3885967c226a2a78e86a620a2698231bb8c67ad (patch)
tree617b787bb4e0467b42b16f10c19f44daa2432ff2 /crawl-ref/source/viewmap.h
parent09a3b0f0e16b6c66fa39b5c230d9cb47e101d822 (diff)
downloadcrawl-ref-a3885967c226a2a78e86a620a2698231bb8c67ad.tar.gz
crawl-ref-a3885967c226a2a78e86a620a2698231bb8c67ad.zip
Make show_map explicitly return whether a target was chosen.
Diffstat (limited to 'crawl-ref/source/viewmap.h')
-rw-r--r--crawl-ref/source/viewmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/viewmap.h b/crawl-ref/source/viewmap.h
index 0dd97d9a67..2a84dddbf8 100644
--- a/crawl-ref/source/viewmap.h
+++ b/crawl-ref/source/viewmap.h
@@ -1,6 +1,9 @@
#ifndef VIEWMAP_H
#define VIEWMAP_H
+struct level_pos;
+bool show_map(level_pos &spec_place, bool travel_mode, bool allow_esc = false);
+
bool emphasise(const coord_def& where);
unsigned get_map_col(const coord_def& c, bool travel = true);