From 414c397000935162df4641dbe0c056b39d32205e Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Sep 2011 09:48:52 +0000 Subject: (svn r22904) -Codechange: add tar filename to file scanning --- src/fios.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fios.cpp') diff --git a/src/fios.cpp b/src/fios.cpp index 627fdf291..731a12ecd 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -232,7 +232,7 @@ public: callback_proc(callback_proc) {} - /* virtual */ bool AddFile(const char *filename, size_t basepath_length); + /* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename); }; /** @@ -241,7 +241,7 @@ public: * @param basepath_length amount of characters to chop of before to get a relative filename * @return true if the file is added. */ -bool FiosFileScanner::AddFile(const char *filename, size_t basepath_length) +bool FiosFileScanner::AddFile(const char *filename, size_t basepath_length, const char *tar_filename) { const char *ext = strrchr(filename, '.'); if (ext == NULL) return false; @@ -597,7 +597,7 @@ public: this->scanned = true; } - /* virtual */ bool AddFile(const char *filename, size_t basepath_length) + /* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename) { FILE *f = FioFOpenFile(filename, "r", SCENARIO_DIR); if (f == NULL) return false; -- cgit v1.2.3-54-g00ecf