summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-30 09:06:17 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-30 09:06:17 +0000
commit3672daef4bdeebdb96939bd32448e08b1f05358c (patch)
tree6286974f25cebcb6421ea00766307aa9ef2b67cb /crawl-ref/source/dungeon.h
parent10676923ec3e6a636e021089ef8e0e39c097e983 (diff)
downloadcrawl-ref-3672daef4bdeebdb96939bd32448e08b1f05358c.tar.gz
crawl-ref-3672daef4bdeebdb96939bd32448e08b1f05358c.zip
Store level generation information in env.properties, so that it can be
included in a crash dump even if the crash happens after level generation is complete. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8849 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 02d5c05fac..e73eff36a9 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -22,6 +22,13 @@
#include <set>
#include <algorithm>
+#define BUILD_METHOD_KEY "build_method_key"
+#define LAYOUT_TYPE_KEY "layout_type_key"
+#define LEVEL_VAULTS_KEY "level_vaults_key"
+#define TEMP_VAULTS_KEY "temp_vaults_key"
+#define LEVEL_EXTRAS_KEY "level_extras_key"
+#define LEVEL_ID_KEY "level_id_key"
+
enum portal_type
{
PORTAL_NONE = 0,
@@ -411,5 +418,5 @@ int count_antifeature_in_box(int x0, int y0, int x1, int y1,
dungeon_feature_type feat);
int count_neighbours(int x, int y, dungeon_feature_type feat);
-
+void remember_vault_placement(std::string key, vault_placement &place);
#endif