Unlinker/ObjLoading: Add skeleton for dynamically loading search paths based on current zone

This commit is contained in:
Jan
2019-12-30 23:52:33 +01:00
parent 5f833969f9
commit 153f8f2e89
15 changed files with 727 additions and 178 deletions

View File

@ -0,0 +1,32 @@
#include "IWD.h"
IWD::IWD(std::string path)
{
m_path = std::move(path);
}
FileAPI::IFile* IWD::Open(const std::string& fileName)
{
// TODO
return nullptr;
}
void IWD::FindAll(std::function<void(const std::string&)> callback)
{
// TODO
}
void IWD::FindAllOnDisk(std::function<void(const std::string&)> callback)
{
// Files inside an IWD are not on the disk's file system directly. Therefore do nothing here.
}
void IWD::FindByExtension(const std::string& extension, std::function<void(const std::string&)> callback)
{
// TODO
}
void IWD::FindOnDiskByExtension(const std::string& extension, std::function<void(const std::string&)> callback)
{
// Files inside an IWD are not on the disk's file system directly. Therefore do nothing here.
}