diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-01 16:49:40 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-01 16:49:40 +0000 |
commit | ed0cc797420e2bdf4948d035c712c4d3184f9594 (patch) | |
tree | cc0a42b77a1e7d953b684168b85315a06f8054ea /crawl-ref/source/mapmark.cc | |
parent | e2633053430e38678759221f2afe8059f2b9006b (diff) | |
download | crawl-ref-ed0cc797420e2bdf4948d035c712c4d3184f9594.tar.gz crawl-ref-ed0cc797420e2bdf4948d035c712c4d3184f9594.zip |
Labyrinth entry points are now a guaranteed minimum distance away from the
exit.
Exits from bazaars are treated as rock stairs instead of stone stairs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1952 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapmark.cc')
-rw-r--r-- | crawl-ref/source/mapmark.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/mapmark.cc b/crawl-ref/source/mapmark.cc index 191466f9e2..366d4aa37d 100644 --- a/crawl-ref/source/mapmark.cc +++ b/crawl-ref/source/mapmark.cc @@ -442,6 +442,17 @@ void env_move_markers(const coord_def &from, const coord_def &to) } } +std::vector<map_marker*> env_get_all_markers() +{ + std::vector<map_marker*> rmarkers; + for (dgn_marker_map::const_iterator i = env.markers.begin(); + i != env.markers.end(); ++i) + { + rmarkers.push_back(i->second); + } + return (rmarkers); +} + std::vector<map_marker*> env_get_markers(const coord_def &c) { std::pair<dgn_marker_map::const_iterator, dgn_marker_map::const_iterator> |