Map importer now handles maps with multiple wads + remove the //Game type and replace with projects type. Also made it faster an async
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <src/Core/FileSystem.h>
|
||||
#include <src/Core/FileSystem.h>
|
||||
#include <atomic>
|
||||
|
||||
class MapImporterWindow
|
||||
{
|
||||
@@ -17,7 +18,9 @@ private:
|
||||
std::vector<std::string> m_DetectedWads;
|
||||
std::string m_OutputFile = "";
|
||||
std::vector<std::string> ScanUsedWads();
|
||||
|
||||
std::map<std::string, std::string> m_WadToMaterialMap;
|
||||
std::atomic<bool> m_Working = false;
|
||||
std::atomic<int> m_Percentage;
|
||||
std::string GetTransformedWadPath(const std::string& path);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user