diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-10-25 12:40:57 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-10-25 12:40:57 +0200 |
commit | d77a7352e1dee7cd184c9b4da107057c177820e8 (patch) | |
tree | 861daa04344a3b9efab399ba59b00fb744d38392 /crawl-ref/source/stash.h | |
parent | fb560b76a08f3d7e1d90baf2c05b8f950fed6d2a (diff) | |
download | crawl-ref-d77a7352e1dee7cd184c9b4da107057c177820e8.tar.gz crawl-ref-d77a7352e1dee7cd184c9b4da107057c177820e8.zip |
Remove stash_filter completely.
It's a remnant of old explicit stashes, not needed with the new interface.
And its primary mode of operation relies on the user specifying base_type /
sub_type numbers, something even the code doesn't do anymore for years.
The ability to use names was half-baked.
If you're searching for a scroll, "useless" ones being not shown is
surprising and leads to bug reports.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r-- | crawl-ref/source/stash.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index 115e36adaf..44684cac17 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -39,8 +39,6 @@ public: Stash(int xp = -1, int yp = -1); static bool is_boring_feature(dungeon_feature_type feat); - static void filter(object_class_type base_type, uint8_t sub_type); - static void filter(const std::string &filt); static std::string stash_item_name(const item_def &item); void update(); @@ -88,9 +86,6 @@ public: // also never removed from the level's map of // stashes. -public: - static bool is_filtered(const item_def &item); - private: void _update_corpses(int rot_time); void _update_identification(); @@ -112,7 +107,6 @@ private: * reflecting what's in the dungeon also increases. */ static bool aggressive_verify; - static std::vector<item_def> filters; static bool are_items_same(const item_def &, const item_def &); |