summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-28 08:49:24 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-28 08:49:24 +0000
commit307bc94b149d1cf909ecf31aa0be1b4e9a0014d6 (patch)
treee1684afc22c507b6056f73d71e06de6e0ff16c53 /crawl-ref/source/dungeon.cc
parent5549c15ba74e62433508e9bbaa23d117610f81e2 (diff)
downloadcrawl-ref-307bc94b149d1cf909ecf31aa0be1b4e9a0014d6.tar.gz
crawl-ref-307bc94b149d1cf909ecf31aa0be1b4e9a0014d6.zip
Added description for dgn_place_map().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1943 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 6a77697fef..e0c0817a81 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -3418,6 +3418,13 @@ static dungeon_feature_type dgn_find_rune_subst_tags(const std::string &tags)
return (DNGN_FLOOR);
}
+// Places a map on the current level (minivault or regular vault).
+// generating_level: If true, assumes that this is in the middle of normal
+// level generation, and does not link items or handle
+// changing terrain.
+// clobber: If true, assumes the newly placed vault can clobber existing
+// items and monsters (items may be destroyed, monsters may be
+// teleported).
bool dgn_place_map(int map, bool generating_level, bool clobber)
{
const map_def *mdef = map_by_index(map);