aboutsummaryrefslogtreecommitdiff
path: root/src/gamedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamedef.h')
-rw-r--r--src/gamedef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gamedef.h b/src/gamedef.h
index 45b9c4750..4434da369 100644
--- a/src/gamedef.h
+++ b/src/gamedef.h
@@ -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 @@ public:
// 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