summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-22 00:19:13 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-22 00:21:14 -0800
commit722243eb20be246b6042a36deb016f48091bb6aa (patch)
tree65a90ded496dc817c25ba4ff88d4efb7e1a8cb24 /crawl-ref/source/travel.h
parent41814e9593b3364fd0bdfae7ecb19d7dbd3ebb98 (diff)
downloadcrawl-ref-722243eb20be246b6042a36deb016f48091bb6aa.tar.gz
crawl-ref-722243eb20be246b6042a36deb016f48091bb6aa.zip
explore_stop: new condition greedy_pickup_thrown
explore_stop condition greedy_pickup_smart no longer stops for items which were thrown by the player. The new condition greedy_pickup_thrown can be used by those who wish to stop auto-explore when thrown items are auto-pickup'd.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 5b405e4e9e..f216a54418 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -156,19 +156,21 @@ extern travel_distance_grid_t travel_point_distance;
enum explore_stop_type
{
- ES_NONE = 0x000,
- ES_ITEM = 0x001,
- ES_GREEDY_PICKUP = 0x002,
- ES_GREEDY_PICKUP_SMART = 0x004,
- ES_GREEDY_PICKUP_MASK = (ES_GREEDY_PICKUP | ES_GREEDY_PICKUP_SMART),
- ES_GREEDY_ITEM = 0x008,
- ES_STAIR = 0x010,
- ES_SHOP = 0x020,
- ES_ALTAR = 0x040,
- ES_PORTAL = 0x080,
- ES_GLOWING_ITEM = 0x100,
- ES_ARTEFACT = 0x200,
- ES_RUNE = 0x400
+ ES_NONE = 0x000,
+ ES_ITEM = 0x001,
+ ES_GREEDY_PICKUP = 0x002,
+ ES_GREEDY_PICKUP_SMART = 0x004,
+ ES_GREEDY_PICKUP_THROWN = 0x008,
+ ES_GREEDY_PICKUP_MASK = (ES_GREEDY_PICKUP | ES_GREEDY_PICKUP_SMART
+ | ES_GREEDY_PICKUP_THROWN),
+ ES_GREEDY_ITEM = 0x010,
+ ES_STAIR = 0x020,
+ ES_SHOP = 0x040,
+ ES_ALTAR = 0x080,
+ ES_PORTAL = 0x100,
+ ES_GLOWING_ITEM = 0x200,
+ ES_ARTEFACT = 0x400,
+ ES_RUNE = 0x800
};
////////////////////////////////////////////////////////////////////////////