aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/meshes.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-01-22 17:56:35 +0100
committersfan5 <sfan5@live.de>2022-01-27 22:30:02 +0100
commit058846d687bef214fe6216938d4cf8bf2c79290e (patch)
treec1a74eb8b285b7e633e681604441cb1027a068b0 /games/devtest/mods/testnodes/meshes.lua
parentfc161e757c14a0d0b86e69fb5ec631fae8b448de (diff)
downloadminetest-058846d687bef214fe6216938d4cf8bf2c79290e.tar.gz
minetest-058846d687bef214fe6216938d4cf8bf2c79290e.tar.bz2
minetest-058846d687bef214fe6216938d4cf8bf2c79290e.zip
Rework drawtime and related timekeeping code to use microseconds
Diffstat (limited to 'games/devtest/mods/testnodes/meshes.lua')
0 files changed, 0 insertions, 0 deletions
"hl ppc"> class Map; class MapBlock; class MMVManip; /* VoxelManip */ class LuaVoxelManip : public ModApiBase { private: std::map<v3s16, MapBlock *> modified_blocks; bool is_mapgen_vm = false; static const char className[]; static const luaL_Reg methods[]; static int gc_object(lua_State *L); static int l_read_from_map(lua_State *L); static int l_get_data(lua_State *L); static int l_set_data(lua_State *L); static int l_write_to_map(lua_State *L); static int l_get_node_at(lua_State *L); static int l_set_node_at(lua_State *L); static int l_update_map(lua_State *L); static int l_update_liquids(lua_State *L); static int l_calc_lighting(lua_State *L); static int l_set_lighting(lua_State *L); static int l_get_light_data(lua_State *L); static int l_set_light_data(lua_State *L); static int l_get_param2_data(lua_State *L); static int l_set_param2_data(lua_State *L); static int l_was_modified(lua_State *L); static int l_get_emerged_area(lua_State *L); public: MMVManip *vm = nullptr; LuaVoxelManip(MMVManip *mmvm, bool is_mapgen_vm); LuaVoxelManip(Map *map, v3s16 p1, v3s16 p2); LuaVoxelManip(Map *map); ~LuaVoxelManip(); // LuaVoxelManip() // Creates a LuaVoxelManip and leaves it on top of stack static int create_object(lua_State *L); static LuaVoxelManip *checkobject(lua_State *L, int narg); static void Register(lua_State *L); };