summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
commit2157b8c6629cea79801566244fc3f1d8491e91be (patch)
treefb999e7d464c70511f13472da0fba86749b8d737 /src/resources/beingcommon.cpp
parente89fb908638196c9484a2038e3f3eb18db6ef4ee (diff)
downloadmanaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz
manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2
manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz
manaplus-2157b8c6629cea79801566244fc3f1d8491e91be.zip
Add file utils function getFilesInDir.
Diffstat (limited to 'src/resources/beingcommon.cpp')
-rw-r--r--src/resources/beingcommon.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp
index 999b19980..67aeea4fb 100644
--- a/src/resources/beingcommon.cpp
+++ b/src/resources/beingcommon.cpp
@@ -82,22 +82,6 @@ void BeingCommon::readBasicAttributes(BeingInfo *const info,
info->setBlockWalkMask(static_cast<unsigned char>(block ^ allFlags));
}
-void BeingCommon::getIncludeFiles(const std::string &dir,
- StringVect &list,
- const std::string &ext)
-{
- const std::string path = dir + "/";
- StringVect tempList;
- Files::getFilesWithDir(path, tempList);
- FOR_EACH (StringVectCIter, it, tempList)
- {
- const std::string &str = *it;
- if (findLast(str, ext))
- list.push_back(str);
- }
- std::sort(list.begin(), list.end());
-}
-
bool BeingCommon::readObjectNodes(XmlNodePtrConst &spriteNode,
SpriteDisplay &display,
BeingInfo *const currentInfo,