diff options
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r-- | src/resources/beingcommon.h | 7 |
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); \ } |