diff options
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r-- | crawl-ref/source/stash.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index f455f54f6d..8ad6e2f0e5 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -21,6 +21,7 @@ class input_history; class reader; class writer; +class StashMenu; // Stash definitions void stash_init_new_level(); @@ -53,7 +54,7 @@ public: std::string feature_description() const; std::vector<item_def> get_items() const; - bool show_menu(const std::string &place, bool can_travel) const; + bool show_menu(const level_pos &place, bool can_travel) const; // Returns true if this Stash contains items that are eligible for // autopickup. @@ -132,7 +133,7 @@ public: void save(writer&) const; void load(reader&); - bool show_menu(const std::string &place, bool can_travel) const; + bool show_menu(const level_pos &place, bool can_travel) const; bool is_visited() const { return items.size() || visited; } void write(std::ostream &os, bool identify = false) const; @@ -165,6 +166,7 @@ private: std::string shop_item_name(const shop_item &si) const; std::string shop_item_desc(const shop_item &si) const; void describe_shop_item(const shop_item &si) const; + void fill_out_menu(StashMenu &menu, const level_pos &place) const; friend class ST_ItemIterator; }; |