X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmap.h;h=cd85e1827ee99bf3830d6fd797ab35045ce23356;hb=f4fedfed070ffd85c3446bc5d38d2fbd577640d6;hp=50fffa57714b45f07c8088532c73dccc08ac2165;hpb=b5f7249a7edc25077d84b27b38552228b92ff763;p=dragonfireclient.git diff --git a/src/map.h b/src/map.h index 50fffa577..cd85e1827 100644 --- a/src/map.h +++ b/src/map.h @@ -349,7 +349,7 @@ class ServerMap : public Map - Check disk (doesn't load blocks) - Create blank one */ - ServerMapSector *createSector(v2s16 p); + MapSector *createSector(v2s16 p); bool saoPositionOverLimit(const v3f &p); @@ -418,18 +418,6 @@ class ServerMap : public Map MapgenParams *getMapgenParams(); - /*void saveChunkMeta(); - void loadChunkMeta();*/ - - // The sector mutex should be locked when calling most of these - - // This only saves sector-specific data such as the heightmap - // (no MapBlocks) - // DEPRECATED? Sectors have no metadata anymore. - void saveSectorMeta(ServerMapSector *sector); - MapSector* loadSectorMeta(std::string dirname, bool save_after_load); - bool loadSectorMeta(v2s16 p2d); - bool saveBlock(MapBlock *block); static bool saveBlock(MapBlock *block, MapDatabase *db); // This will generate a sector with getSector if not found.