summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 08:41:20 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 08:41:20 +0000
commit1d0f57cbceb778139ca215cc4fcfd1584951f6dd (patch)
treecafd60c944c51fcce778aa5d6912bc548c518339 /crawl-ref/source/delay.h
parent6f5e187a9e5cd348296dba2fd89d2e206e775a01 (diff)
downloadcrawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.tar.gz
crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.zip
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
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r--crawl-ref/source/delay.h16
1 files changed, 16 insertions, 0 deletions
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