summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r--crawl-ref/source/misc.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h
index 442cefbbc0..35b5df6daa 100644
--- a/crawl-ref/source/misc.h
+++ b/crawl-ref/source/misc.h
@@ -72,14 +72,17 @@ void curare_hits_player(int agent, int degree);
bool mons_is_safe(const monsters *mon, bool want_move = false);
-void get_playervisible_monsters(std::vector<monsters*>& mons,
- bool want_move = false, bool just_check = false,
- bool dangerous_only = false, int range = -1);
+std::vector<monsters*> get_nearby_monsters(bool want_move = false,
+ bool just_check = false,
+ bool dangerous_only = false,
+ bool require_visible = true,
+ int range = -1);
bool i_feel_safe(bool announce = false, bool want_move = false,
bool just_monsters = false, int range = -1);
-bool there_are_monsters_nearby();
+bool there_are_monsters_nearby(bool dangerous_only = false,
+ bool require_visible = true);
void setup_environment_effects();