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/view.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/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index 24efb64e9e..c2815302a7 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -35,7 +35,8 @@ bool noisy(int loudness, const coord_def& where, const char *msg = NULL, void blood_smell( int strength, const coord_def& where); void handle_monster_shouts(monsters* monster, bool force = false); -void show_map( coord_def &spec_place, bool travel_mode, bool allow_esc = false ); +class level_pos; +void show_map( level_pos &spec_place, bool travel_mode, bool allow_esc = false ); bool check_awaken(monsters* monster); int count_detected_mons(void); void clear_map(bool clear_items = true, bool clear_mons = true); |