diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 02:47:16 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 02:47:16 -0800 |
commit | 2579ebdc853d91e78e58e65c134eff1a18d738e2 (patch) | |
tree | c42cf7dfea329d48a7c09cf2f6b38ef5ccc7753a /crawl-ref/source/shopping.h | |
parent | 14f12cc4f9883646957b8acd04d86396d1096685 (diff) | |
download | crawl-ref-2579ebdc853d91e78e58e65c134eff1a18d738e2.tar.gz crawl-ref-2579ebdc853d91e78e58e65c134eff1a18d738e2.zip |
Fix deleting entries from shopping list.
Diffstat (limited to 'crawl-ref/source/shopping.h')
-rw-r--r-- | crawl-ref/source/shopping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.h b/crawl-ref/source/shopping.h index 0679c194da..20527d734c 100644 --- a/crawl-ref/source/shopping.h +++ b/crawl-ref/source/shopping.h @@ -29,6 +29,7 @@ bool is_shop_item(const item_def &item); ///////////////////////////////////////////////////////////////////// struct level_pos; +class Menu; class ShoppingList { @@ -70,6 +71,8 @@ private: int find_thing(const item_def &item, const level_pos &pos) const; int find_thing(const std::string &desc, const level_pos &pos) const; + void fill_out_menu(Menu& shopmenu); + static bool thing_is_item(const CrawlHashTable& thing); static const item_def& get_thing_item(const CrawlHashTable& thing); static std::string get_thing_desc(const CrawlHashTable& thing); |