mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.get_mapgen_object to API
This commit is contained in:
parent
2c0b51795e
commit
8aa930f28e
14 changed files with 188 additions and 9 deletions
|
@ -36,6 +36,7 @@ class LuaVoxelManip
|
|||
private:
|
||||
ManualMapVoxelManipulator *vm;
|
||||
std::map<v3s16, MapBlock *> modified_blocks;
|
||||
bool do_gc;
|
||||
|
||||
static const char className[];
|
||||
static const luaL_reg methods[];
|
||||
|
@ -50,6 +51,7 @@ private:
|
|||
static int l_set_lighting(lua_State *L);
|
||||
|
||||
public:
|
||||
LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool dogc);
|
||||
LuaVoxelManip(Map *map);
|
||||
~LuaVoxelManip();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue