diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-31 12:47:08 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-31 12:47:08 +0000 |
commit | 97e66bedd0d8a8d95781f8058b5560768f97a1ea (patch) | |
tree | 4693cb1cc3cd56a3eaf663e5e3ae6487226acd99 /crawl-ref/source/externs.h | |
parent | e815ad3dcd37899ea93e57bef68408ee4e971c87 (diff) | |
download | crawl-ref-97e66bedd0d8a8d95781f8058b5560768f97a1ea.tar.gz crawl-ref-97e66bedd0d8a8d95781f8058b5560768f97a1ea.zip |
[1923246] Item pickup marker moves itself when the item it's guarding is apported.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3976 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 166b1e82b9..4f2d73a671 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -1311,6 +1311,7 @@ public: map_marker *find(const coord_def &c, map_marker_type type = MAT_ANY); map_marker *find(map_marker_type type); void move(const coord_def &from, const coord_def &to); + void move_marker(map_marker *marker, const coord_def &to); std::vector<map_marker*> get_all(map_marker_type type = MAT_ANY); std::vector<map_marker*> get_all(const std::string &key, const std::string &val = ""); @@ -1327,6 +1328,7 @@ private: typedef std::pair<coord_def, map_marker *> dgn_pos_marker; void init_from(const map_markers &); + void unlink_marker(const map_marker *); private: dgn_marker_map markers; |