]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/environment.h
Slightly improved version of mystrtok_r
[dragonfireclient.git] / src / environment.h
index 0cc53f9a6dccea2dc8f215f720def5f275a2288e..d1e61967fd2b10e813868289e2dfc986d5447805 100644 (file)
@@ -241,8 +241,9 @@ class ServerEnvironment : public Environment
                MapBlock.
                Caller allocates memory, ServerEnvironment frees memory.
                Return value: true if succeeded, false if failed.
+               (note:  not used, pending removal from engine)
        */
-       bool addActiveObjectAsStatic(ServerActiveObject *object);
+       //bool addActiveObjectAsStatic(ServerActiveObject *object);
        
        /*
                Find out what new objects have been added to
@@ -283,6 +284,10 @@ class ServerEnvironment : public Environment
                Other stuff
                -------------------------------------------
        */
+
+       // Script-aware node setters
+       bool setNode(v3s16 p, const MapNode &n);
+       bool removeNode(v3s16 p);
        
        // Find all active objects inside a radius around a point
        std::set<u16> getObjectsInsideRadius(v3f pos, float radius);