diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 19:47:48 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 19:49:05 -0800 |
commit | 8c6d089862838411c2389750a743384d1e46c586 (patch) | |
tree | cef720c913a09e50acff8c7592e03edcd476e653 /crawl-ref/source/stash.h | |
parent | cd00c7c93769471efefc523b675cdbbdf3819fdf (diff) | |
download | crawl-ref-8c6d089862838411c2389750a743384d1e46c586.tar.gz crawl-ref-8c6d089862838411c2389750a743384d1e46c586.zip |
Manipulate shopping list from stash tracker
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; }; |