summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stairs.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-19 10:35:16 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-19 11:02:55 +0100
commit7f411f1f83721874567fd86b03eb37803e4118fd (patch)
tree0961c76dbea6f2fc68a7bd14293d807c7e625c5b /crawl-ref/source/stairs.h
parentf9dcf9fff87d2a9a2b2d77229984d4c33efae86a (diff)
downloadcrawl-ref-7f411f1f83721874567fd86b03eb37803e4118fd.tar.gz
crawl-ref-7f411f1f83721874567fd86b03eb37803e4118fd.zip
Move {up,down}_stairs from misc.cc to stairs.cc.
Diffstat (limited to 'crawl-ref/source/stairs.h')
-rw-r--r--crawl-ref/source/stairs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/stairs.h b/crawl-ref/source/stairs.h
new file mode 100644
index 0000000000..3451df411c
--- /dev/null
+++ b/crawl-ref/source/stairs.h
@@ -0,0 +1,18 @@
+/*
+ * File: stairs.h
+ * Summary: Moving between levels.
+ */
+
+#ifndef STAIRS_H
+#define STAIRS_H
+
+bool check_annotation_exclusion_warning();
+void down_stairs(int old_level,
+ dungeon_feature_type force_stair = DNGN_UNSEEN,
+ entry_cause_type entry_cause = EC_UNKNOWN);
+void up_stairs(dungeon_feature_type force_stair = DNGN_UNSEEN,
+ entry_cause_type entry_cause = EC_UNKNOWN);
+void new_level();
+
+#endif
+