1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Add forceloading

This commit is contained in:
Novatux 2014-01-11 17:54:00 +01:00
parent e21b29f422
commit 84b94eb198
9 changed files with 136 additions and 1 deletions

View file

@ -151,6 +151,14 @@ private:
static int l_get_heat(lua_State *L);
static int l_get_humidity(lua_State *L);
// minetest.forceload_block(blockpos)
// forceloads a block
static int l_forceload_block(lua_State *L);
// minetest.forceload_free_block(blockpos)
// stops forceloading a position
static int l_forceload_free_block(lua_State *L);
public:
static void Initialize(lua_State *L, int top);
};