diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-11-02 17:39:57 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-11-02 17:41:23 -0800 |
commit | 3f3c0139c0eeb94c90b2afad0ba6af493c0f2b08 (patch) | |
tree | acd0560e74161ad6cfe0baae34f67f1f16dc79c4 /crawl-ref/source/travel.h | |
parent | 26d303da422033aba61e9a8bd7e894ccc8ac5574 (diff) | |
download | crawl-ref-3f3c0139c0eeb94c90b2afad0ba6af493c0f2b08.tar.gz crawl-ref-3f3c0139c0eeb94c90b2afad0ba6af493c0f2b08.zip |
Implement map viewing for other levels
There are three new commands described on the X? screen. Interlevel
travel works. Other levels are not currently highlighted by reachability;
let me know if you want this. Interface stolen from TAEB :). dpeg's
stair view is not yet in.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index dde4ce08fc..43736d3f98 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -513,6 +513,9 @@ public: // Set feature vector to use; if non-NULL, also sets annotate_map to true. void set_feature_vector(std::vector<coord_def> *features); + // Extract features without pathfinding + void get_features(); + // The next square to go to to move towards the travel destination. Return // value is undefined if pathfind was not called with RMODE_TRAVEL. const coord_def travel_move() const; |