1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

[CSM] Add get_node and get_node_or_nil

This commit is contained in:
red-001
2017-01-30 19:10:37 +00:00
committed by Loïc Blot
parent 073f5cf03d
commit 37df9cb7d7
6 changed files with 67 additions and 2 deletions

View File

@@ -441,6 +441,7 @@ public:
// Causes urgent mesh updates (unlike Map::add/removeNodeWithEvent)
void removeNode(v3s16 p);
MapNode getNode(v3s16 p, bool *is_valid_position);
void addNode(v3s16 p, MapNode n, bool remove_metadata = true);
void setPlayerControl(PlayerControl &control);