summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2010-02-11 21:13:36 -0500
committerCharles Otto <ottochar@gmail.com>2010-02-11 21:13:36 -0500
commit553a3c5d5d6cd940e1475a128f40b7b109e9f107 (patch)
tree302b17a4c35b395bc6f4b44404500e5b82e71dd2 /crawl-ref/source/directn.h
parent96954216e8c0e28d5a871775c6a6fbe91f159272 (diff)
downloadcrawl-ref-553a3c5d5d6cd940e1475a128f40b7b109e9f107.tar.gz
crawl-ref-553a3c5d5d6cd940e1475a128f40b7b109e9f107.zip
Show the floor description when targeting evolution
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index 097124dd63..5dbb3cd3f6 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -79,6 +79,7 @@ struct direction_chooser_args
std::string top_prompt;
targeting_behaviour *behaviour;
bool cancel_at_self;
+ bool show_floor_desc;
direction_chooser_args() :
restricts(DIR_NONE),
@@ -90,7 +91,8 @@ struct direction_chooser_args
may_target_self(false),
target_prefix(NULL),
behaviour(NULL),
- cancel_at_self(false) {}
+ cancel_at_self(false),
+ show_floor_desc(false) {}
};
class direction_chooser
@@ -229,6 +231,7 @@ private:
std::string top_prompt; // Shown at the top of the message window
targeting_behaviour *behaviour; // Can be NULL for default
bool cancel_at_self; // Disallow self-targeting?
+ bool show_floor_desc; // Describe the floor of the current target
// Internal data.
ray_def beam; // The (possibly invalid) beam.