#pragma once #include "src/FileSystem/FileSystem.h" #include "src/FileSystem/FileSystem.h" #include class MapImporterWindow { public: MapImporterWindow() = default; ~MapImporterWindow() = default; void Update(); void Draw(); private: Ref m_MapToImport = nullptr; std::vector m_DetectedWads; std::string m_OutputFile = ""; std::vector ScanUsedWads(); std::map m_WadToMaterialMap; std::atomic m_Working = false; std::atomic m_Percentage; std::string GetTransformedWadPath(const std::string& path); };