diff options
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r-- | crawl-ref/source/files.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h index ff0af7c108..59ea5a9bde 100644 --- a/crawl-ref/source/files.h +++ b/crawl-ref/source/files.h @@ -27,8 +27,9 @@ extern FixedArray<bool, MAX_LEVELS, NUM_BRANCHES> tmp_file_pairs; std::string datafile_path(const std::string &basename, - bool croak_on_fail = true); - + bool croak_on_fail = true, + bool test_base_path = false); +std::string get_parent_directory(const std::string &filename); bool check_dir(const std::string &what, std::string &dir); bool travel_load_map( char branch, int absdepth ); |