Files
Nuake/NuakeEditor/Source/Editor/Windows/MapImporterWindow.h
2025-01-30 22:41:17 -05:00

26 lines
605 B
C++

#pragma once
#include "Nuake/FileSystem/FileSystem.h"
#include "Nuake/FileSystem/FileSystem.h"
#include <atomic>
class MapImporterWindow
{
public:
MapImporterWindow() = default;
~MapImporterWindow() = default;
void Update();
void Draw();
private:
Ref<Nuake::File> m_MapToImport = nullptr;
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);
};