mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
26 lines
556 B
C++
26 lines
556 B
C++
#ifndef FILES_WORLD_CONVERTER_H_
|
|
#define FILES_WORLD_CONVERTER_H_
|
|
|
|
#include <queue>
|
|
#include <filesystem>
|
|
|
|
class Content;
|
|
class ContentLUT;
|
|
class WorldFiles;
|
|
|
|
class WorldConverter {
|
|
WorldFiles* wfile;
|
|
const ContentLUT* const lut;
|
|
const Content* const content;
|
|
std::queue<std::filesystem::path> regions;
|
|
public:
|
|
WorldConverter(std::filesystem::path folder, const Content* content, const ContentLUT* lut);
|
|
~WorldConverter();
|
|
|
|
bool hasNext() const;
|
|
void convertNext();
|
|
|
|
void write();
|
|
};
|
|
|
|
#endif // FILES_WORLD_CONVERTER_H_
|