diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-28 08:42:47 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-28 08:42:47 +0000 |
commit | 5549c15ba74e62433508e9bbaa23d117610f81e2 (patch) | |
tree | 8f462e0f7b7f516629af0b773fc5a7a176060f4e /crawl-ref/source/maps.h | |
parent | 9b909453a2e070df3ac33277d0a7f07deb6e9132 (diff) | |
download | crawl-ref-5549c15ba74e62433508e9bbaa23d117610f81e2.tar.gz crawl-ref-5549c15ba74e62433508e9bbaa23d117610f81e2.zip |
Added wizmode &L command to place a map on the current level by name. This
only really works for non-encompass vaults, and dungeon fixups are not applied
(so random deep water -> shallow water conversion, auto-placement of water
creatures, etc. will not happen).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1942 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r-- | crawl-ref/source/maps.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index 0d9df7319b..fd347f6a64 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -37,10 +37,12 @@ struct vault_placement int vault_main(map_type vgrid, vault_placement &vp, int vault_force, - bool check_place = false); + bool check_place = false, + bool clobber = false); const map_def *map_by_index(int index); int map_count(); +int find_map_by_name(const std::string &name); 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, |