summaryrefslogtreecommitdiff
path: root/src/fs/virtfsfuncs.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
commit6ff6d6928328ff2110f028a374ade49415d5a0ba (patch)
tree4337ddc2e83368a2d606b97df08dc206e002ac67 /src/fs/virtfsfuncs.h
parent475aea387f846561d5029807f804ff789d59e69f (diff)
downloadmanaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.gz
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.bz2
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.xz
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.zip
Remove physfs support.
Diffstat (limited to 'src/fs/virtfsfuncs.h')
-rw-r--r--src/fs/virtfsfuncs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fs/virtfsfuncs.h b/src/fs/virtfsfuncs.h
index ad5f6c387..46bcd86ff 100644
--- a/src/fs/virtfsfuncs.h
+++ b/src/fs/virtfsfuncs.h
@@ -26,9 +26,7 @@
#include "localconsts.h"
struct VirtFile;
-#ifndef USE_PHYSFS
struct VirtFsEntry;
-#endif // USE_PHYSFS
struct VirtFsFuncs final
{
@@ -39,7 +37,6 @@ struct VirtFsFuncs final
fileLength(nullptr),
tell(nullptr),
seek(nullptr),
-#ifndef USE_PHYSFS
exists(nullptr),
getRealDir(nullptr),
enumerate(nullptr),
@@ -47,7 +44,6 @@ struct VirtFsFuncs final
openRead(nullptr),
openWrite(nullptr),
openAppend(nullptr),
-#endif
eof(nullptr)
{
}
@@ -67,7 +63,6 @@ struct VirtFsFuncs final
int64_t (*tell) (VirtFile *restrict const file);
int (*seek) (VirtFile *restrict const file,
const uint64_t pos);
-#ifndef USE_PHYSFS
bool (*exists) (VirtFsEntry *restrict const entry,
const std::string &filename,
const std::string &dirName);
@@ -87,7 +82,6 @@ struct VirtFsFuncs final
const std::string &filename);
VirtFile *(*openAppend) (VirtFsEntry *restrict const entry,
const std::string &filename);
-#endif // USE_PHYSFS
int (*eof) (VirtFile *restrict const file);
};