summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/package.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-10 03:16:12 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-10 11:11:29 +0200
commit4a20bb18f0e7da910ae53b29b623e124c5de5887 (patch)
tree68c540a3c01e4fb332df674b94f00a6911afb757 /crawl-ref/source/package.h
parent831427b3421b071c2c0cb1256088c4ade7c1620b (diff)
downloadcrawl-ref-4a20bb18f0e7da910ae53b29b623e124c5de5887.tar.gz
crawl-ref-4a20bb18f0e7da910ae53b29b623e124c5de5887.zip
An undocumented command-line option, --no-save.
It uses a temporary file for the save file. This fixes canned tests breaking if a run has been aborted (and thus a save by that name exists), and also allows concurrently running multiple instances of the same test. Implies wizmode.
Diffstat (limited to 'crawl-ref/source/package.h')
-rw-r--r--crawl-ref/source/package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/package.h b/crawl-ref/source/package.h
index c59f646509..517bff7feb 100644
--- a/crawl-ref/source/package.h
+++ b/crawl-ref/source/package.h
@@ -64,6 +64,7 @@ class package
{
public:
package(const char* file, bool writeable, bool empty = false);
+ package();
~package();
chunk_writer* writer(const std::string name);
chunk_reader* reader(const std::string name);