summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-25 15:22:27 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-25 15:22:27 +0000
commitf817284d0e2c5657fb883f57430ed888ed7ac248 (patch)
tree1ec33d3450ade91fb08b7e903efaef7481ede8d2 /crawl-ref/source/maps.h
parente11f6ceb8c6fcd91d774303208ae1818428524db (diff)
downloadcrawl-ref-f817284d0e2c5657fb883f57430ed888ed7ac248.tar.gz
crawl-ref-f817284d0e2c5657fb883f57430ed888ed7ac248.zip
Branch entry vaults now respect DEPTH: declarations so you can put tough branch entries deeper.
Detect creatures no longer clears the level map of detected items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1366 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r--crawl-ref/source/maps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h
index 0c3211664a..82738abd5c 100644
--- a/crawl-ref/source/maps.h
+++ b/crawl-ref/source/maps.h
@@ -42,7 +42,8 @@ int vault_main(map_type vgrid,
const map_def *map_by_index(int index);
int random_map_for_place(const std::string &place, bool mini = false);
int random_map_for_depth(int depth, bool want_minivault = false);
-int random_map_for_tag(const std::string &tag, bool want_minivault);
+int random_map_for_tag(const std::string &tag, bool want_minivault,
+ bool check_depth = false);
void add_parsed_map(const map_def &md);
void read_maps();