From 63e4083df060b3cdd0ce18d04949dd7831cc10d4 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 25 May 2008 17:33:38 +0000 Subject: 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 --- crawl-ref/source/misc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/misc.h') 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 -- cgit v1.2.3-54-g00ecf