diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-10-26 04:16:58 -0700 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-10-26 17:23:01 +0530 |
commit | d96b3e46e6442585a5b24e0017c9ff4c240b6f4e (patch) | |
tree | 9e44df87fca2e071f4f23fda1b7546b25a5e0aea /crawl-ref/source/view.h | |
parent | 771f91f2670c31b340188c8083e9ef218215dd4f (diff) | |
download | crawl-ref-d96b3e46e6442585a5b24e0017c9ff4c240b6f4e.tar.gz crawl-ref-d96b3e46e6442585a5b24e0017c9ff4c240b6f4e.zip |
Implement passive mapping
As you explore, a halo of mapping tracks you. The halo includes a
percentage of tiles within a distance of every seen tile; optimal
play dictates seeing every tile, which just happens to be what
autoexplore does. Added as random generation and to the demonspawn
tier-2 list.
Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index 44cd06863b..d760e8726b 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -10,6 +10,7 @@ #include "externs.h" +#include "player.h" // various elemental colour schemes... used for abstracting random // short lists. When adding colours, please also add their names in @@ -70,7 +71,9 @@ void find_features(const std::vector<coord_def>& features, unsigned char feature, std::vector<coord_def> *found); bool magic_mapping(int map_radius, int proportion, bool suppress_msg, - bool force = false); + bool force = false, bool deterministic = false, + coord_def origin = coord_def(-1, -1)); +void reautomap_level(); bool noisy(int loudness, const coord_def& where, int who, bool mermaid = false); |