summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapmark.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-28 16:23:06 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-28 16:23:06 +0000
commit0371e07ab64fc457f74a6640f06a5b439038ceee (patch)
treedda15773f5bce673944f1a61f578c22f0c70cdb6 /crawl-ref/source/mapmark.h
parentfec3e431ad8d5c47c29a20c4dc81820f867fda23 (diff)
downloadcrawl-ref-0371e07ab64fc457f74a6640f06a5b439038ceee.tar.gz
crawl-ref-0371e07ab64fc457f74a6640f06a5b439038ceee.zip
On a crash, do consistency checking on the level's markers, dump the level's
markers, and dump the persistant Lua data. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8839 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapmark.h')
-rw-r--r--crawl-ref/source/mapmark.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mapmark.h b/crawl-ref/source/mapmark.h
index c21cb1e30c..8f01388d61 100644
--- a/crawl-ref/source/mapmark.h
+++ b/crawl-ref/source/mapmark.h
@@ -124,6 +124,8 @@ public:
static map_marker *read(reader &, map_marker_type);
static map_marker *parse(const std::string &s, const std::string &)
throw (std::string);
+
+ std::string debug_to_string() const;
private:
bool initialised;
std::auto_ptr<lua_datum> marker_table;