diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-25 17:33:38 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-25 17:33:38 +0000 |
commit | 63e4083df060b3cdd0ce18d04949dd7831cc10d4 (patch) | |
tree | 67311940576728ec6be2d310256d1727b9a77d5a /crawl-ref/source/misc.h | |
parent | 0eceb6ff8b8501d07c94e2e5d46aca19121b205e (diff) | |
download | crawl-ref-63e4083df060b3cdd0ce18d04949dd7831cc10d4.tar.gz crawl-ref-63e4083df060b3cdd0ce18d04949dd7831cc10d4.zip |
Consolidate the attack warning prompts for both melee and beams, and use
the prompts properly with Burn/Freeze, Smite, and Airstrike. Also, move
the now-single function for this into misc.cc, since I can't think of a
better location right now.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5235 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r-- | crawl-ref/source/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h index 21df0331f5..13d8fd6864 100644 --- a/crawl-ref/source/misc.h +++ b/crawl-ref/source/misc.h @@ -14,6 +14,7 @@ #define MISC_H #include "externs.h" +#include "religion.h" struct bolt; struct dist; @@ -145,4 +146,7 @@ void reveal_secret_door(int x, int y); std::string your_hand(bool plural); +bool stop_attack_prompt(const monsters *mon, bool beam_attack, + bool beam_target, god_conduct_trigger *conduct = NULL); + #endif |