]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gamedef.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / gamedef.h
index 45b9c475011d420445e74c3ce8cdba896e32ae44..4434da369c0ab7bb0d3fa190459737a0012c7023 100644 (file)
@@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "irrlichttypes.h"
 
 class IItemDefManager;
+class IWritableItemDefManager;
 class NodeDefManager;
 class ICraftDefManager;
 class ITextureSource;
@@ -52,7 +53,9 @@ class IGameDef
        // These are thread-safe IF they are not edited while running threads.
        // Thus, first they are set up and then they are only read.
        virtual IItemDefManager* getItemDefManager()=0;
+       virtual IWritableItemDefManager* getWritableItemDefManager()=0;
        virtual const NodeDefManager* getNodeDefManager()=0;
+       virtual NodeDefManager* getWritableNodeDefManager()=0;
        virtual ICraftDefManager* getCraftDefManager()=0;
 
        // Used for keeping track of names/ids of unknown nodes