mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
26 lines
605 B
C++
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);
|
|
|
|
}; |