mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Common refactor
This commit is contained in:
parent
4de8759ea2
commit
cb13b42960
10 changed files with 31 additions and 201 deletions
|
|
@ -54,14 +54,7 @@ class WorldFiles {
|
|||
std::filesystem::path getPlayerFile() const;
|
||||
std::filesystem::path getWorldFile() const;
|
||||
std::filesystem::path getIndicesFile() const;
|
||||
|
||||
// TODO: remove in 0.16
|
||||
std::filesystem::path getOldPlayerFile() const;
|
||||
std::filesystem::path getOldWorldFile() const;
|
||||
bool readOldWorldInfo(World* world);
|
||||
bool readOldPlayer(Player* player);
|
||||
// --------------------
|
||||
|
||||
|
||||
WorldRegion* getRegion(std::unordered_map<glm::ivec2, WorldRegion*>& regions,
|
||||
int x, int z);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue