summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-08-20 15:59:35 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-03 16:19:23 +0200
commit12fba431624b9c23b5dd9625d5f6029b254d1940 (patch)
tree9aa7d67e5a07451551ad4c3fc6d54459f3699268 /crawl-ref/source/files.h
parent789d289d2d327cb8fadd05c2e30a3e7cc094f3cc (diff)
downloadcrawl-ref-12fba431624b9c23b5dd9625d5f6029b254d1940.tar.gz
crawl-ref-12fba431624b9c23b5dd9625d5f6029b254d1940.zip
Convert ./crawl --save-version to the new format.
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 1dc1a66cf5..02aeced5c7 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -105,6 +105,7 @@ void save_game(bool leave_game, const char *bye = NULL);
void save_game_state();
bool get_save_version(FILE *file, int &major, int &minor);
+bool get_save_version(chunk_reader &file, int &major, int &minor);
bool save_exists(const std::string& name);
void restore_game(const std::string& name);