1
0
Fork 0
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:
sfan5 2019-11-09 00:22:42 +01:00
parent b0260b5ec8
commit b57dc70769
7 changed files with 124 additions and 11 deletions

View file

@ -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);