summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-26 23:51:31 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-03-26 23:56:36 +0200
commit2c8c99fec4aab48970d75030ece87dda40260e78 (patch)
treeed687319685e936cb25b8fa046c01209c36c7525 /crawl-ref/source/files.h
parent01c2aa8463804cdd4ff8818b78c1deb890a78efb (diff)
parent537a8dfbb6582c8269e3239b63a5d2ea03eb77a3 (diff)
downloadcrawl-ref-2c8c99fec4aab48970d75030ece87dda40260e78.tar.gz
crawl-ref-2c8c99fec4aab48970d75030ece87dda40260e78.zip
Merge branch 'master' into portal_branches
This includes fixes for 64834896234968 places in master that add new uses of LEVEL_FOO and so on.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index 824f3ba92c..99f919a6e3 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -43,8 +43,6 @@ std::string datafile_path(
bool test_base_path = false,
bool (*thing_exists)(const std::string&) = file_exists);
-
-bool get_dos_compatible_file_name(std::string *fname);
std::string get_parent_directory(const std::string &filename);
std::string get_base_filename(const std::string &filename);
std::string get_cache_name(const std::string &filename);
@@ -59,22 +57,15 @@ bool check_mkdir(const std::string &what, std::string *dir,
// Find saved games for all game types.
std::vector<player_save_info> find_all_saved_characters();
-// Find saved games for the current game type.
-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 &name);
std::string get_savedir_filename(const std::string &name);
-std::string get_base_savedir_path(const std::string &subpath = "");
-std::string get_savedir_path(const std::string &shortpath);
std::string savedir_versioned_path(const std::string &subdirs = "");
std::string get_prefs_filename();
std::string change_file_extension(const std::string &file,
const std::string &ext);
time_t file_modtime(const std::string &file);
-bool is_newer(const std::string &a, const std::string &b);
+time_t file_modtime(FILE *f);
std::vector<std::string> get_title_files();