summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-act.h')
-rw-r--r--crawl-ref/source/mon-act.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-act.h b/crawl-ref/source/mon-act.h
new file mode 100644
index 0000000000..026d8a2f4b
--- /dev/null
+++ b/crawl-ref/source/mon-act.h
@@ -0,0 +1,14 @@
+/*
+ * File: mon-act.h
+ * Summary: Monsters doing stuff (monsters acting).
+ * Written by: Linley Henzell
+ */
+
+#ifndef MONACT_H
+#define MONACT_H
+
+void handle_monsters(void);
+
+#define ENERGY_SUBMERGE(entry) (std::max(entry->energy_usage.swim / 2, 1))
+
+#endif