summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-24 16:21:32 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-24 16:21:32 +0000
commit4c3d4bef612c3add065a9791fc0087f344892753 (patch)
treed8eecbf84865920087fc711b2fb489a3dcd497c0 /crawl-ref/source/travel.h
parent9cf0e84a1244ca68c3c884f5bc8f4250e477edc3 (diff)
downloadcrawl-ref-4c3d4bef612c3add065a9791fc0087f344892753.tar.gz
crawl-ref-4c3d4bef612c3add065a9791fc0087f344892753.zip
[1779076] Greedy explore will ignore items (after prompting) if autopickup fails twice on the same spot, such as when inventory is full. If pickup_dropped = true (not likely if greedy explore is in use), greedy explore uses the old strategy of not budging until the item is picked up.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2540 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 592c9f08f1..3f50591b5f 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -71,6 +71,7 @@ command_type direction_to_command( char x, char y );
bool is_resting( void );
bool can_travel_interlevel();
bool is_traversable(dungeon_feature_type grid);
+void explore_pickup_event(int did_pickup, int tried_pickup);
void find_travel_pos(int you_x, int you_y, char *move_x, char *move_y,
std::vector<coord_def>* coords = NULL);