diff options
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r-- | crawl-ref/source/misc.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h index 0c48aafa2f..0a7ca790e5 100644 --- a/crawl-ref/source/misc.h +++ b/crawl-ref/source/misc.h @@ -10,18 +10,15 @@ * <1> -/--/-- LRH Created */ - #ifndef MISC_H #define MISC_H - #include "externs.h" struct bolt; struct dist; struct activity_interrupt_data; - // last updated 08jan2001 {gdl} /* *********************************************************************** * called from: ability - decks - fight - it_use2 - spells1 @@ -99,11 +96,13 @@ std::string weird_writing(); std::string cloud_name(cloud_type type); + bool is_damaging_cloud(cloud_type type, bool temp = false); void curare_hits_player(int agent, int degree); bool mons_is_safe(const monsters *mon, bool want_move = false); + bool i_feel_safe(bool announce = false, bool want_move = false); void setup_environment_effects(); @@ -111,8 +110,6 @@ void setup_environment_effects(); // Lava smokes, swamp water mists. void run_environment_effects(); -////////////////////////////////////////////////////////////////////// - int str_to_shoptype(const std::string &s); bool do_autopray(); @@ -130,4 +127,6 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai, void reveal_secret_door(int x, int y); +void get_playervisible_monsters(std::vector<monsters*>& mons); + #endif |