summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-reacts.h
diff options
context:
space:
mode:
authorreaver <address.auto@gmail.com>2014-04-12 23:41:56 -0400
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-14 22:25:16 -0600
commit6d8a42cd9ae10e2f4931a80236c1b3e001368953 (patch)
treee9af4cd9aac560a89258a907e08a0ec048532303 /crawl-ref/source/player-reacts.h
parent961a08fe896de355d603cf447009c4dac0f8a2ec (diff)
downloadcrawl-ref-6d8a42cd9ae10e2f4931a80236c1b3e001368953.tar.gz
crawl-ref-6d8a42cd9ae10e2f4931a80236c1b3e001368953.zip
Move some main.cc functions to a new file
Specifically player_reacts, decrement_durations, and various helper functions. [Committer's note: updated the xcode and MSVC project files too; I don't guarantee that they work.] Signed-off-by: Steve Melenchuk <smelenchuk@gmail.com>
Diffstat (limited to 'crawl-ref/source/player-reacts.h')
-rw-r--r--crawl-ref/source/player-reacts.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/player-reacts.h b/crawl-ref/source/player-reacts.h
new file mode 100644
index 0000000000..def989ca60
--- /dev/null
+++ b/crawl-ref/source/player-reacts.h
@@ -0,0 +1,9 @@
+#ifndef PLAYER_REACTS_H
+#define PLAYER_REACTS_H
+// Used only in world_reacts()
+void player_reacts();
+void player_reacts_to_monsters();
+
+// Only function other than decrement_duratons() which uses decrement_a_duration()
+void extract_manticore_spikes(const char* endmsg);
+#endif