diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-27 15:22:34 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-27 15:22:34 +0530 |
commit | 5684de7409e72c5ded581455409981cc5786a662 (patch) | |
tree | 825362c04803c81562f8d467e05e86ea575ef73e /crawl-ref/source/directn.cc | |
parent | ec717839b67f5acc52044fca7820df71680f5ff6 (diff) | |
download | crawl-ref-5684de7409e72c5ded581455409981cc5786a662.tar.gz crawl-ref-5684de7409e72c5ded581455409981cc5786a662.zip |
Save Shoals heightmap in level tag, increment tag minor version.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 518d21b23c..9807ec54dc 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -3468,14 +3468,19 @@ static void _describe_cell(const coord_def& where, bool in_range) marker = " (" + desc + ")"; } const std::string traveldest = _stair_destination_description(where); + std::string height_desc; + if (env.heightmap.get()) + height_desc = make_stringf(" (height: %d)", (*env.heightmap)(where)); const dungeon_feature_type feat = grd(where); - mprf(MSGCH_DIAGNOSTICS, "(%d,%d): %s - %s (%d/%s)%s%s", where.x, where.y, + mprf(MSGCH_DIAGNOSTICS, "(%d,%d): %s - %s (%d/%s)%s%s%s", + where.x, where.y, stringize_glyph(get_screen_glyph(where)).c_str(), feature_desc.c_str(), feat, dungeon_feature_name(feat), marker.c_str(), - traveldest.c_str()); + traveldest.c_str(), + height_desc.c_str()); #else if (Tutorial.tutorial_left && tutorial_pos_interesting(where.x, where.y)) { |