summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-08 13:11:12 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-08 13:11:12 +0000
commit51327cc685e971ea15799d8ed926d6fbafebcb5a (patch)
tree14bd4ceb661264236295432056d29ef2293e7528 /crawl-ref/source/maps.h
parent6c99170d8941c25c6aac7f131f0d55df52caa63a (diff)
downloadcrawl-ref-51327cc685e971ea15799d8ed926d6fbafebcb5a.tar.gz
crawl-ref-51327cc685e971ea15799d8ed926d6fbafebcb5a.zip
Better handling for entry minivaults and minivaults that specify PLACE:
Force the parser to flag an error when it finds embedded spaces in a map. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@597 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r--crawl-ref/source/maps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h
index b14ffcd004..096ab50365 100644
--- a/crawl-ref/source/maps.h
+++ b/crawl-ref/source/maps.h
@@ -35,6 +35,7 @@ int vault_main(map_type vgrid,
int vault_force,
int many_many);
+const map_def *map_by_index(int index);
int random_map_for_place(const std::string &place, bool mini = false);
int find_map_named(const std::string &name);
int random_map_for_depth(int depth, bool want_minivault = false);