summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-06-17 22:27:58 -0400
committerNeil Moore <neil@s-z.org>2013-06-18 00:02:01 -0400
commit06e73ba740dc5c76598538de55f9d0411bd0878d (patch)
tree1d8b86aff0a558160db7a5050d985c9927d9dca8 /crawl-ref/source/directn.h
parent76349d855f5d0bbb1c086bffb605aed60277879e (diff)
downloadcrawl-ref-06e73ba740dc5c76598538de55f9d0411bd0878d.tar.gz
crawl-ref-06e73ba740dc5c76598538de55f9d0411bd0878d.zip
When selecting a monster from ctrl-x, view its square.
Instead of printing the terse description---that was buggy anyway because of a missing mesclr().
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index e5e5a0ced8..7ba319e00d 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -87,6 +87,7 @@ struct direction_chooser_args
bool cancel_at_self;
bool show_floor_desc;
desc_filter get_desc_func;
+ coord_def default_place;
direction_chooser_args() :
hitfunc(NULL),
@@ -101,7 +102,8 @@ struct direction_chooser_args
behaviour(NULL),
cancel_at_self(false),
show_floor_desc(false),
- get_desc_func(NULL) {}
+ get_desc_func(NULL),
+ default_place(0, 0) {}
};
class direction_chooser
@@ -241,6 +243,7 @@ private:
bool cancel_at_self; // Disallow self-targetting?
bool show_floor_desc; // Describe the floor of the current target
targetter *hitfunc; // Determine what would be hit.
+ coord_def default_place; // Start somewhere other than you.pos()?
// Internal data.
ray_def beam; // The (possibly invalid) beam.
@@ -307,6 +310,7 @@ string feature_description(dungeon_feature_type grid,
vector<dungeon_feature_type> features_by_desc(const base_pattern &pattern);
void full_describe_view(void);
+void do_look_around(const coord_def &whence = coord_def(0, 0));
extern const struct coord_def Compass[9];