1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Implement grouped mode for find_nodes_in_area (#9888)

plus general improvements to find_node_* functions
This commit is contained in:
sfan5
2020-07-14 22:36:53 +02:00
committed by GitHub
parent 88ffd64124
commit 4b4513a67d
4 changed files with 123 additions and 82 deletions

View File

@@ -190,6 +190,11 @@ private:
// Get a string translated server side
static int l_get_translated_string(lua_State * L);
/* Helpers */
static void collectNodeIds(lua_State *L, int idx,
const NodeDefManager *ndef, std::vector<content_t> &filter);
public:
static void Initialize(lua_State *L, int top);
static void InitializeClient(lua_State *L, int top);