summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-13 00:16:14 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-13 00:16:14 +0100
commitca0cb5113de369ef5c8cc7d9e93d8da41b42c0e3 (patch)
treebbcbdef7699c857544ba992689d4379a722ce878 /crawl-ref/source/stash.h
parentab423d263c1e85b9c0375343ae17861533de0e78 (diff)
downloadcrawl-ref-ca0cb5113de369ef5c8cc7d9e93d8da41b42c0e3.tar.gz
crawl-ref-ca0cb5113de369ef5c8cc7d9e93d8da41b42c0e3.zip
Crudely clean up some explicit stash code.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index f8616bdcbe..4ff17cb526 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -19,15 +19,6 @@ class reader;
class writer;
class StashMenu;
-enum STASH_TRACK_MODES
-{
- STM_NONE, // Stashes are not tracked
- STM_EXPLICIT, // Only explicitly marked stashes are tracked
- STM_DROPPED, // Dropped items and explicitly marked stashes are
- // tracked
- STM_ALL, // All seen items are tracked
-};
-
struct stash_search_result;
class Stash
{
@@ -327,28 +318,20 @@ public:
void remove_level(const level_id &which = level_id::current());
- enum stash_update_mode
- {
- ST_PASSIVE, // Maintain existing stashes only.
- ST_AGGRESSIVE, // Create stashes for each square containing
- // objects, even if those squares were not
- // previously marked as stashes.
- };
-
void update_corpses();
void update_identification();
- void update_visible_stashes(StashTracker::stash_update_mode = ST_PASSIVE);
+ void update_visible_stashes();
// Update stash at (x,y) on current level, defaulting to player's current
// location if no parameters are supplied, return true if a stash was
// updated.
bool update_stash(const coord_def& c);
- void move_stash(const coord_def& from, const coord_def& to);
+ void move_stash(const coord_def& from, const coord_def& to);
// Add stash at (x,y), or player's current location if no parameters are
// supplied.
- void add_stash(int x = -1, int y = -1, bool verbose = false);
+ void add_stash(int x = -1, int y = -1);
// Mark square (x,y) as not stashworthy. The player's current location is
// used if no parameters are supplied.