mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
include members of BSAArchives in Ogres resource indices
This commit is contained in:
parent
39d27b87c9
commit
43cd88a24e
1 changed files with 7 additions and 0 deletions
|
@ -249,6 +249,13 @@ public:
|
||||||
//std::cout << "find(" << pattern << ", " << recursive
|
//std::cout << "find(" << pattern << ", " << recursive
|
||||||
// << ", " << dirs << ")\n";
|
// << ", " << dirs << ")\n";
|
||||||
StringVectorPtr ptr = StringVectorPtr(new StringVector());
|
StringVectorPtr ptr = StringVectorPtr(new StringVector());
|
||||||
|
|
||||||
|
BSAFile::FileList const & files = arc.getList ();
|
||||||
|
|
||||||
|
if (pattern == "*")
|
||||||
|
for (BSAFile::FileList::const_iterator i = files.begin (); i != files.end (); ++i)
|
||||||
|
ptr->push_back (i->name);
|
||||||
|
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue