]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/camera.h
Create framework for getting rid of global definitions of node/tool/item/whatever...
[dragonfireclient.git] / src / camera.h
index b6349d2c888f1dc9cb536f99d3cda47c8e17ecf2..29b9fbdaa193a64196be28c605f7abe1621cf929 100644 (file)
@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 class LocalPlayer;
 class MapDrawControl;
 class ExtrudedSpriteSceneNode;
+class ITextureSource;
 
 /*
        Client camera class, manages the player and camera scene nodes, the viewing distance
@@ -115,7 +116,7 @@ class Camera
        void updateSettings();
 
        // Replace the wielded item mesh
-       void wield(const InventoryItem* item);
+       void wield(const InventoryItem* item, ITextureSource *tsrc);
 
        // Start digging animation
        // Pass 0 for left click, 1 for right click