]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/itemdef.h
Formspec button_exit[] and image_button_exit[]
[dragonfireclient.git] / src / itemdef.h
index 385becd4868381f5574fab2cfefeede1043b0271..d1ac52bb8c82b8ffcffbf0dea65fd0665bb9ae01 100644 (file)
@@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef ITEMDEF_HEADER
 #define ITEMDEF_HEADER
 
-#include "common_irrlicht.h"
+#include "irrlichttypes_extrabloated.h"
 #include <string>
 #include <iostream>
 #include <set>
@@ -67,6 +67,11 @@ struct ItemDefinition
        ToolCapabilities *tool_capabilities;
        ItemGroupList groups;
 
+       // Client shall immediately place this node when player places the item.
+       // Server will update the precise end result a moment later.
+       // "" = no prediction
+       std::string node_placement_prediction;
+
        /*
                Cached stuff
        */