diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2012-07-05 23:53:53 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-07-17 01:00:25 +0200 |
commit | 410924b6f8f920b2b3f2f0b06a79b14e70e2f874 (patch) | |
tree | 26a2eebcba75a835033df5e881e54cf976291da4 /crawl-ref/source/dgn-shoals.cc | |
parent | 7e4a16d5bd7991abfef63f37e42ac9ac0973c206 (diff) | |
download | crawl-ref-410924b6f8f920b2b3f2f0b06a79b14e70e2f874.tar.gz crawl-ref-410924b6f8f920b2b3f2f0b06a79b14e70e2f874.zip |
Show the autoexplore limit in Shoals.
The autoexplore is now limited to cells with a height > -18, which is about the
sand limit at low tide. We say that beyond this point, the bottom changes from
sand to rock and autoexplore won't try to go there, even if they are
traverseable.
This greatly reduce autoexplore time, and even amphibious species will respect
it. It doesn't prevent a merfolk from crossing deep water to explore an island
spotted over the water, but they won't randomly explore the sea.
To illustrate the limit, shallow water is light cyan or cyan, deep water is
light blue or blue.
Diffstat (limited to 'crawl-ref/source/dgn-shoals.cc')
-rw-r--r-- | crawl-ref/source/dgn-shoals.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/dgn-shoals.cc b/crawl-ref/source/dgn-shoals.cc index c84666cf8a..0b2252ebda 100644 --- a/crawl-ref/source/dgn-shoals.cc +++ b/crawl-ref/source/dgn-shoals.cc @@ -57,15 +57,6 @@ static const int MAX_SHOAL_PLANTS = 180; static const int _shoals_margin = 6; -enum shoals_height_thresholds -{ - SHT_UNDEFINED = -10000, - SHT_STONE = 400, - SHT_ROCK = 135, - SHT_FLOOR = 0, - SHT_SHALLOW_WATER = -30, -}; - enum tide_direction { TIDE_RISING, |