summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-layouts.h
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@wybt.net>2011-06-25 17:01:55 +0400
committerVsevolod Kozlov <zaba@wybt.net>2011-06-25 17:01:55 +0400
commitd0be972f8a2acb9bb991e7119f6dfdaa5c652f05 (patch)
treebb19ec8daa245a95095085ac522abfa02809474c /crawl-ref/source/dgn-layouts.h
parent55ec889e0e75a98c6970db26d9229e48bd0206d0 (diff)
downloadcrawl-ref-d0be972f8a2acb9bb991e7119f6dfdaa5c652f05.tar.gz
crawl-ref-d0be972f8a2acb9bb991e7119f6dfdaa5c652f05.zip
Split builder_basic, plan_4, _build_rooms and bigger_room into dgn-layouts.cc.
This involves exposure of join_the_dots and count_feature_in_box as pubilic functions in dungeon.h. The rationale is that dungeon.cc is long and that it needs to be split up, and also that these layout builders share common helper functions.
Diffstat (limited to 'crawl-ref/source/dgn-layouts.h')
-rw-r--r--crawl-ref/source/dgn-layouts.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/dgn-layouts.h b/crawl-ref/source/dgn-layouts.h
new file mode 100644
index 0000000000..9856184aa2
--- /dev/null
+++ b/crawl-ref/source/dgn-layouts.h
@@ -0,0 +1,11 @@
+#ifndef DGN_LAYOUTS_H
+#define DGN_LAYOUTS_H
+
+#include "enum.h"
+
+void builder_basic(int level_number);
+void bigger_room(void);
+void plan_4(dungeon_feature_type force_wall);
+void build_rooms(int nrooms);
+
+#endif