mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Update Mapgen VoxelManipulator on buffer invalidation
This commit is contained in:
parent
3fa4f782d9
commit
9e4e7072da
6 changed files with 75 additions and 10 deletions
|
@ -493,6 +493,8 @@ public:
|
|||
// Database version
|
||||
void loadBlock(std::string *blob, v3s16 p3d, MapSector *sector, bool save_after_load=false);
|
||||
|
||||
void updateVManip(v3s16 pos);
|
||||
|
||||
// For debug printing
|
||||
virtual void PrintInfo(std::ostream &out);
|
||||
|
||||
|
@ -550,6 +552,8 @@ public:
|
|||
void blitBackAll(std::map<v3s16, MapBlock*> * modified_blocks,
|
||||
bool overwrite_generated = true);
|
||||
|
||||
bool m_is_dirty;
|
||||
|
||||
protected:
|
||||
bool m_create_area;
|
||||
Map *m_map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue