diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-05-02 18:46:19 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-05-02 18:51:13 +0530 |
commit | d306c4aa1d69a02e54fee41a32c2e99cf82947d6 (patch) | |
tree | 41487905ce182ec7bc3b0193cea8bfc22c387a0e /crawl-ref/source/mon-place.h | |
parent | 1495326af3d63bf132079af93d13e1575ee11317 (diff) | |
download | crawl-ref-d306c4aa1d69a02e54fee41a32c2e99cf82947d6.tar.gz crawl-ref-d306c4aa1d69a02e54fee41a32c2e99cf82947d6.zip |
Place Shoals monsters on land if possible to reduce empty-Shoals-syndrome from all monsters sleeping in water far from land (rob).
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r-- | crawl-ref/source/mon-place.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h index 53bca6364d..e70a6cf45a 100644 --- a/crawl-ref/source/mon-place.h +++ b/crawl-ref/source/mon-place.h @@ -89,10 +89,12 @@ bool feat_compatible(dungeon_feature_type grid_wanted, dungeon_feature_type actual_grid); bool monster_habitable_grid(const monsters *m, dungeon_feature_type actual_grid); -bool monster_habitable_grid(monster_type montype, - dungeon_feature_type actual_grid, - int flies = -1, - bool paralysed = false); +bool monster_habitable_grid( + monster_type montype, + dungeon_feature_type actual_grid, + dungeon_feature_type wanted_grid_feature = DNGN_UNSEEN, + int flies = -1, + bool paralysed = false); bool monster_can_submerge(const monsters *mons, dungeon_feature_type grid); coord_def find_newmons_square(int mons_class, const coord_def &p); coord_def find_newmons_square_contiguous(monster_type mons_class, |