summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-04-27 16:54:47 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-04-27 17:11:05 +0200
commitae5148397e2bb728e32221cf7e359f9d20688ace (patch)
tree12cfcc771fb029b351d6ea6aaa5e0ea9675a4ecb /crawl-ref/source/files.h
parent3510dad131f73511d7159bfdb38ccefdf85b5d2a (diff)
downloadcrawl-ref-ae5148397e2bb728e32221cf7e359f9d20688ace.tar.gz
crawl-ref-ae5148397e2bb728e32221cf7e359f9d20688ace.zip
Quarantine save game checking code in files.{cc,h}.
In particular, checking save existence in newgame is now not responsible for unpacking packaged saves...
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index 45ad95913e..e4e9e34e62 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -99,6 +99,7 @@ void save_game_state();
bool get_save_version(FILE *file, char &major, char &minor);
+bool save_exists(const std::string& name);
void restore_game(const std::string& name);
bool apply_to_all_dungeons(bool (*applicator)());