summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-03-28 16:42:41 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-03-28 18:59:23 +0200
commitbc5ec475be15b85d4382f2513b7c2e8c7981f05a (patch)
tree150dd7689e637cac0e916f056a952712824cd25e /crawl-ref/source/stash.h
parent2cd38c3021fae8731e7c15fddbca22f15cbfd82b (diff)
downloadcrawl-ref-bc5ec475be15b85d4382f2513b7c2e8c7981f05a.tar.gz
crawl-ref-bc5ec475be15b85d4382f2513b7c2e8c7981f05a.zip
Ashenzari: retroactive identification.
Whenever a search is started, the stash is updated and all item identification is updated according to current piety and bounded slots.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index 8ad6a2faaa..8ed7167190 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -93,6 +93,7 @@ public:
private:
void _update_corpses(int rot_time);
+ void _update_identification();
void add_item(const item_def &item, bool add_to_front = false);
private:
@@ -299,6 +300,7 @@ public:
private:
int _num_enabled_stashes() const;
void _update_corpses(int rot_time);
+ void _update_identification();
private:
typedef std::map<int, Stash> stashes_t;
@@ -350,6 +352,7 @@ public:
};
void update_corpses();
+ void update_identification();
void update_visible_stashes(StashTracker::stash_update_mode = ST_PASSIVE);