summaryrefslogtreecommitdiff
path: root/src/utils/physfstools.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-28 20:31:09 +0300
commitbb87f2911b63eaf80e49d689bf52ecf2042ae098 (patch)
tree0778087134ec3c5a2370d417bcadb64a1dc6a9bc /src/utils/physfstools.h
parent4415cb66734e67dfcdf8924d354107d27fb70fee (diff)
downloadmanaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.gz
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.bz2
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.tar.xz
manaverse-bb87f2911b63eaf80e49d689bf52ecf2042ae098.zip
Move from resourcemanager functions related to files into other files.
Diffstat (limited to 'src/utils/physfstools.h')
-rw-r--r--src/utils/physfstools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/physfstools.h b/src/utils/physfstools.h
index 3667f7a16..f85dabdd6 100644
--- a/src/utils/physfstools.h
+++ b/src/utils/physfstools.h
@@ -22,6 +22,7 @@
#define UTILS_PHYSFSTOOLS_H
#include <physfs.h>
+#include <string>
namespace PhysFs
{
@@ -42,6 +43,7 @@ namespace PhysFs
bool removeFromSearchPath(const char *const oldDir);
const char *getRealDir(const char *const filename);
bool mkdir(const char *const dirName);
+ void *loadFile(const std::string &fileName, int &fileSize);
} // namespace PhysFs
extern const char *dirSeparator;