mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
LuaVoxelManip: Add option to allocate blank data
This commit is contained in:
parent
ae2721f2c8
commit
8334100fe1
6 changed files with 60 additions and 4 deletions
|
@ -550,12 +550,14 @@ public:
|
|||
void setMap(Map *map)
|
||||
{m_map = map;}
|
||||
|
||||
void initializeBlank(v3s16 pmin, v3s16 pmax);
|
||||
|
||||
void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max,
|
||||
bool load_if_inexistent = true);
|
||||
bool load_if_inexistent = true);
|
||||
|
||||
// This is much faster with big chunks of generated data
|
||||
void blitBackAll(std::map<v3s16, MapBlock*> * modified_blocks,
|
||||
bool overwrite_generated = true);
|
||||
bool overwrite_generated = true);
|
||||
|
||||
bool m_is_dirty;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue