summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.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/items.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/items.h')
-rw-r--r--crawl-ref/source/items.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h
index 64b3d59131..05481e63b9 100644
--- a/crawl-ref/source/items.h
+++ b/crawl-ref/source/items.h
@@ -40,6 +40,7 @@ void inc_mitm_item_quantity( int obj, int amount );
bool move_item_to_grid( int *const obj, int x, int y );
void move_item_stack_to_grid( int x, int y, int targ_x, int targ_y );
int move_item_to_player( int obj, int quant_got, bool quiet = false );
+void mark_items_dropped_at(const coord_def &pos);
bool is_stackable_item( const item_def &item );
bool items_stack( const item_def &item1, const item_def &item2,
bool force = false );