mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
[CSM] Expose more env functions
This commit is contained in:
parent
b0260b5ec8
commit
b57dc70769
7 changed files with 124 additions and 11 deletions
|
@ -264,6 +264,7 @@ public:
|
|||
// helpers to enforce CSM restrictions
|
||||
MapNode CSMGetNode(v3s16 p, bool *is_valid_position);
|
||||
int CSMClampRadius(v3s16 pos, int radius);
|
||||
v3s16 CSMClampPos(v3s16 pos);
|
||||
|
||||
void addNode(v3s16 p, MapNode n, bool remove_metadata = true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue