mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
add util::Buffer, rle::encode16, rle::decode16
This commit is contained in:
parent
728795f0f3
commit
c15abfa715
7 changed files with 144 additions and 31 deletions
|
|
@ -23,7 +23,7 @@ enum class ConvertTaskType {
|
|||
/// @brief rewrite player
|
||||
PLAYER,
|
||||
/// @brief refresh region file version
|
||||
UPGRADE_SIMPLE,
|
||||
UPGRADE_REGION,
|
||||
/// @brief rewrite voxels region file to new format
|
||||
UPGRADE_VOXELS,
|
||||
};
|
||||
|
|
@ -45,7 +45,7 @@ class WorldConverter : public Task {
|
|||
uint tasksDone = 0;
|
||||
bool upgradeMode;
|
||||
|
||||
void upgradeSimple(const fs::path& file, int x, int z) const;
|
||||
void upgradeRegion(const fs::path& file, int x, int z) const;
|
||||
void upgradeVoxels(const fs::path& file, int x, int z) const;
|
||||
void convertPlayer(const fs::path& file) const;
|
||||
void convertVoxels(const fs::path& file, int x, int z) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue