summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
commit56d6454ba617d1dcddbbaa21e2066a7db0caee75 (patch)
tree5012e55f393db2d62b40eb64142fa4317b16c571 /src/resources/beingcommon.h
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadmanaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r--src/resources/beingcommon.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index 87f7b8088..2b3d8c230 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -21,7 +21,8 @@
#ifndef RESOURCES_BEINGCOMMON_H
#define RESOURCES_BEINGCOMMON_H
-#include "utils/files.h"
+#include "utils/stringvector.h"
+#include "utils/virtfstools.h"
#include "utils/xml.h"
#include "localconsts.h"
@@ -33,7 +34,7 @@ struct SpriteDisplay;
#define loadXmlDir(name, function) \
{ \
StringVect listVect; \
- Files::getFilesInDir(paths.getStringValue( \
+ VirtFs::getFilesInDir(paths.getStringValue( \
name), listVect, ".xml"); \
FOR_EACH (StringVectCIter, itVect, listVect) \
function(*itVect, SkipError_true); \
@@ -42,7 +43,7 @@ struct SpriteDisplay;
#define loadXmlDir2(name, function, ext, skipError) \
{ \
StringVect listVect; \
- Files::getFilesInDir(name, listVect, ext); \
+ VirtFs::getFilesInDir(name, listVect, ext); \
FOR_EACH (StringVectCIter, itVect, listVect) \
function(*itVect, skipError); \
}