diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-27 06:28:38 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-27 06:28:38 +0000 |
commit | b86f2dde44a8da7e12a6630cfe06589ee480b1c2 (patch) | |
tree | 44487ca255b43d40768a54510b47c1c0bff3dd1f /crawl-ref/source/maps.h | |
parent | a740ffefc31bc85152d302d00c01d9414346e37d (diff) | |
download | crawl-ref-b86f2dde44a8da7e12a6630cfe06589ee480b1c2.tar.gz crawl-ref-b86f2dde44a8da7e12a6630cfe06589ee480b1c2.zip |
When entering a portal vault, don't prompt wizards for which map to use
if there's only one possibility to choose from.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7649 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r-- | crawl-ref/source/maps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index a46f861866..ba1e9257f2 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -27,6 +27,8 @@ void fit_region_into_map_bounds(coord_def &pos, const coord_def &size); const map_def *map_by_index(int index); int map_count(); +int map_count_for_tag(const std::string &tag, bool want_minivault, + bool check_depth = false); const map_def *find_map_by_name(const std::string &name); const map_def *random_map_for_place(const level_id &place, bool mini = false); |