mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
minor refactor
This commit is contained in:
parent
b6900f5d4e
commit
ba100d1d0a
3 changed files with 16 additions and 22 deletions
|
|
@ -103,9 +103,9 @@ class WorldFiles {
|
|||
/// @return decompressed bytes array
|
||||
ubyte* decompress(const ubyte* src, size_t srclen, size_t dstlen);
|
||||
|
||||
ubyte* readChunkData(int x, int y, uint32_t& length, fs::path folder, int layer);
|
||||
ubyte* readChunkData(int x, int y, uint32_t& length, regfile* file);
|
||||
|
||||
void fetchChunks(WorldRegion* region, int x, int y, fs::path folder, int layer);
|
||||
void fetchChunks(WorldRegion* region, int x, int y, regfile* file);
|
||||
|
||||
void writeRegions(regionsmap& regions, const fs::path& folder, int layer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue