Falling sand and gravel
[oweals/minetest.git] / src / camera.h
index 66825e372a58646ad28b44a56b7f5ee88b6e3962..8321a1f0dd7b16c70bee0a7107a98ccc025315a0 100644 (file)
@@ -24,10 +24,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "inventory.h"
 #include "tile.h"
 #include "utility.h"
+#include <ICameraSceneNode.h>
+#include <IMeshCache.h>
+#include <IAnimatedMesh.h>
 
 class LocalPlayer;
 class MapDrawControl;
 class ExtrudedSpriteSceneNode;
+class IGameDef;
 
 /*
        Client camera class, manages the player and camera scene nodes, the viewing distance
@@ -112,7 +116,7 @@ public:
        void updateSettings();
 
        // Replace the wielded item mesh
-       void wield(const InventoryItem* item);
+       void wield(const InventoryItem* item, IGameDef *gamedef);
 
        // Start digging animation
        // Pass 0 for left click, 1 for right click