mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Implement grouped mode for find_nodes_in_area (#9888)
plus general improvements to find_node_* functions
This commit is contained in:
parent
88ffd64124
commit
4b4513a67d
4 changed files with 123 additions and 82 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue