summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-10 11:59:37 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-10 11:59:37 +0000
commita4ac31b1514c2eb7066379e79bfdd5985a7ddecb (patch)
tree22defa8f8c1ce38b45361fe8afc59f08588917de /crawl-ref/source/mapdef.h
parentdc456cfe8e4b7e096cd5261817e6d0d36f233e85 (diff)
downloadcrawl-ref-a4ac31b1514c2eb7066379e79bfdd5985a7ddecb.tar.gz
crawl-ref-a4ac31b1514c2eb7066379e79bfdd5985a7ddecb.zip
Updated level-design.txt.
Added spacing for another minivault, updated depths. Tweaked KMONS: to allow alternate monsters to be placed if a requested unique is unavailable. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1445 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index 3d5866af96..1f6cc05fa4 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -56,6 +56,10 @@ public:
std::string str_depth_range() const;
operator raw_range () const;
+ operator std::string () const
+ {
+ return describe();
+ }
};
typedef std::pair<int,int> glyph_weighted_replacement_t;
@@ -331,7 +335,7 @@ public:
std::string set_item(const std::string &s, bool fix);
feature_spec get_feat();
- mons_spec get_mons();
+ mons_list &get_monsters();
item_list &get_items();
private: