|
|
|
@ -71,6 +71,9 @@ class DirArchive: public Ogre::FileSystemArchive
|
|
|
|
|
|
|
|
|
|
bool findFile(const String& filename, std::string& copy) const
|
|
|
|
|
{
|
|
|
|
|
if (filename.find(".tga") != std::string::npos)
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
String passed = filename;
|
|
|
|
|
if(filename.at(filename.length() - 1) == '*' || filename.at(filename.length() - 1) == '?' || filename.at(filename.length() - 1) == '<'
|
|
|
|
@ -120,8 +123,8 @@ class DirArchive: public Ogre::FileSystemArchive
|
|
|
|
|
if (find != current.end() && !comp(copy, current.front()))
|
|
|
|
|
{
|
|
|
|
|
std::cout << " found";
|
|
|
|
|
if (copy != *find && !lexicographical_compare(copy, *find, boost::algorithm::is_iless()))
|
|
|
|
|
std::cout << ", as different file " << *find;
|
|
|
|
|
if (copy != *find && !lexicographical_compare(copy, *find, boost::algorithm::is_iequal()))
|
|
|
|
|
std::cout << ", as different file " << *find;
|
|
|
|
|
|
|
|
|
|
std::cout << "." << std::endl;
|
|
|
|
|
copy = *find;
|
|
|
|
|