mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
world convert progress info
This commit is contained in:
parent
3862dbda66
commit
8001a8bf86
17 changed files with 903 additions and 793 deletions
|
|
@ -92,3 +92,7 @@ void WorldConverter::write() {
|
|||
std::cout << "writing world" << std::endl;
|
||||
wfile->write(nullptr, content);
|
||||
}
|
||||
|
||||
uint WorldConverter::getTotalTasks() const {
|
||||
return tasks.size();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
#include <queue>
|
||||
#include <memory>
|
||||
#include <filesystem>
|
||||
#include "../typedefs.h"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
|
@ -37,6 +38,8 @@ public:
|
|||
void convertNext();
|
||||
|
||||
void write();
|
||||
|
||||
uint getTotalTasks() const;
|
||||
};
|
||||
|
||||
#endif // FILES_WORLD_CONVERTER_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue