summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-05-01 17:30:24 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-05-01 17:31:46 +0200
commit6ec6161b553cbc2bd91f44db0c83dacb8620cb28 (patch)
tree91dd1f0d825fe33865bee9ad45b44e3362c14f72 /crawl-ref/source/files.h
parentc8f860887b2d8d5c4c4532442b3643f091312c74 (diff)
downloadcrawl-ref-6ec6161b553cbc2bd91f44db0c83dacb8620cb28.tar.gz
crawl-ref-6ec6161b553cbc2bd91f44db0c83dacb8620cb28.zip
Handle SIGHUP in tiles and on Windows.
(Ok, ok, on Windows it's a ConsoleHandler but does basically the same).
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index 968a820b9b..280510516d 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -101,6 +101,8 @@ bool get_save_version(reader &file, int &major, int &minor);
bool save_exists(const std::string& filename);
bool restore_game(const std::string& filename);
+void sighup_save_and_exit();
+
bool is_existing_level(const level_id &level);
class level_excursion