diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-07-22 00:25:52 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-07-22 00:30:30 +0200 |
commit | 889419886d4d7754011bc80affe5721a63a49bf8 (patch) | |
tree | d7fc6bb4607527659998f95c3ffd75319303d8ef /crawl-ref/source/files.h | |
parent | 7e5f8c4843a7715af6df26a51f90b67b286592c0 (diff) | |
download | crawl-ref-889419886d4d7754011bc80affe5721a63a49bf8.tar.gz crawl-ref-889419886d4d7754011bc80affe5721a63a49bf8.zip |
Allow installations with secure saves share their scores and bones.
There is a new compile-time option, SHAREDDIR; it specifies the directory
to put the logfile, scores and bones into -- they used to be in SAVEDIR/saves
(and that's the default when not specified).
A typical layout is SAVEDIR='~/.crawl' SHAREDDIR=/var/games/crawl
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r-- | crawl-ref/source/files.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h index c68841e1f1..566410cf3a 100644 --- a/crawl-ref/source/files.h +++ b/crawl-ref/source/files.h @@ -70,6 +70,7 @@ std::vector<player_save_info> find_all_saved_characters(); std::vector<player_save_info> find_saved_characters(); std::string get_savefile_directory(bool ignore_game_type = false); +std::string get_bonefile_directory(bool ignore_game_type = false); std::string get_save_filename(const std::string &pre, const std::string &suf, const std::string &ext, |