From 1d0f57cbceb778139ca215cc4fcfd1584951f6dd Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 22 Nov 2006 08:41:20 +0000 Subject: Merged stone_soup r15:451 into trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/delay.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'crawl-ref/source/delay.h') diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h index e171e355c8..778a14eeca 100644 --- a/crawl-ref/source/delay.h +++ b/crawl-ref/source/delay.h @@ -2,6 +2,8 @@ * File: delay.h * Summary: Functions for handling multi-turn actions. * + * Modified for Crawl Reference by $Author$ on $Date$ + * * Change History (most recent first): * * <1> 09/09/01 BWR Created @@ -10,10 +12,24 @@ #ifndef DELAY_H #define DELAY_H +#include "enum.h" + void start_delay( int type, int turns, int parm1 = 0, int parm2 = 0 ); void stop_delay( void ); bool you_are_delayed( void ); int current_delay_action( void ); void handle_delay( void ); +bool is_run_delay(int delay); +const char *activity_interrupt_name(activity_interrupt_type ai); +activity_interrupt_type get_activity_interrupt(const std::string &); + +const char *delay_name(int delay); +delay_type get_delay(const std::string &); + +void perform_activity(); +void interrupt_activity( activity_interrupt_type ai, + const activity_interrupt_data &a + = activity_interrupt_data() ); + #endif -- cgit v1.2.3-54-g00ecf