summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorHaran Pilpel <haranp@users.sourceforge.net>2010-01-26 21:17:55 +0200
committerHaran Pilpel <haranp@users.sourceforge.net>2010-01-26 21:17:55 +0200
commita9242111459f37f2c4a635a7e5d05bd1c1c46ccb (patch)
tree71360356d22a63b12d298196795eab38c2d17f94 /crawl-ref/source/stash.h
parentd0052e15260db3a2b2bc4ea7853c1e3f209804a8 (diff)
downloadcrawl-ref-a9242111459f37f2c4a635a7e5d05bd1c1c46ccb.tar.gz
crawl-ref-a9242111459f37f2c4a635a7e5d05bd1c1c46ccb.zip
Handle out-of-sight cells better in targetting. Also minor cleanups elsewhere.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index 264f2ec8cf..45e5b9d7e0 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -397,10 +397,10 @@ private:
extern StashTracker StashTrack;
void maybe_update_stashes();
-bool is_stash(int x, int y);
-inline bool is_stash( const coord_def& p ) { return is_stash(p.x, p.y); }
-std::string get_stash_desc(int x, int y);
-void describe_stash(int x, int y);
+bool is_stash(const coord_def& p);
+std::string get_stash_desc(const coord_def& p);
+void describe_stash(const coord_def& p);
+
std::vector<item_def> item_list_in_stash( coord_def pos );
std::string userdef_annotate_item(const char *s, const item_def *item,