mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
remove resource
This commit is contained in:
@ -108,6 +108,11 @@ bool CFilesystemLoader::createResource(const std::string & requestedFilename, bo
|
||||
return true;
|
||||
}
|
||||
|
||||
void CFilesystemLoader::removeResource(const ResourcePath & resourceName)
|
||||
{
|
||||
fileList.erase(resourceName);
|
||||
}
|
||||
|
||||
std::unordered_map<ResourcePath, boost::filesystem::path> CFilesystemLoader::listFiles(const std::string &mountPoint, size_t depth, bool initial) const
|
||||
{
|
||||
static const EResType initArray[] = {
|
||||
|
Reference in New Issue
Block a user