mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
14 lines
434 B
C++
14 lines
434 B
C++
#pragma once
|
|
|
|
#include "typedefs.hpp"
|
|
#include "util/Buffer.hpp"
|
|
#include "world/files/world_regions_fwd.hpp"
|
|
|
|
namespace compatibility {
|
|
/// @brief Convert region file from version 2 to 3
|
|
/// @see /doc/specs/region_file_spec.md
|
|
/// @param src region file source content
|
|
/// @return new region file content
|
|
util::Buffer<ubyte> convert_region_2to3(
|
|
const util::Buffer<ubyte>& src, RegionLayerIndex layer);
|
|
}
|