summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-09 11:08:36 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-09 11:08:36 +0000
commit240d458d718fcae5faaffb6d49ee0da27b585465 (patch)
tree205bfd43fcf2eea3abf79e4ceb8f04599b1147ab /crawl-ref/source/maps.h
parent2517b1cf2451cab3e9466a8b85623ccbafc48fdb (diff)
downloadcrawl-ref-240d458d718fcae5faaffb6d49ee0da27b585465.tar.gz
crawl-ref-240d458d718fcae5faaffb6d49ee0da27b585465.zip
More debug stats for maps.
level_range was segfaulting when compared against Abyss and Pan level_ids, fixed. Fixed level_id operator < (). Enabled use of vaults in non-Dungeon areas (Lair specific vaults were unused). These vaults are placed as extras, and are subject to the same constraints as branch entry vaults (the smaller the vault, the better the chance of being placed). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1811 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 dd38701b68..e096425577 100644
--- a/crawl-ref/source/maps.h
+++ b/crawl-ref/source/maps.h
@@ -40,6 +40,7 @@ int vault_main(map_type vgrid,
std::vector<vault_placement> *avoid_vaults = NULL);
const map_def *map_by_index(int index);
+int map_count();
int random_map_for_place(const level_id &place, bool mini = false);
int random_map_in_depth(const level_id &lid, bool want_minivault = false);
int random_map_for_tag(const std::string &tag, bool want_minivault,