aboutsummaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h
index ccc224e3c..f960e748e 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -166,6 +166,11 @@ private:
s32 m_view_bobbing_state;
// Speed of view bobbing animation
f32 m_view_bobbing_speed;
+
+ // Digging animation
+ s32 m_digging_anim;
+ // Speed of digging animation
+ s32 m_digging_speed;
};
@@ -187,7 +192,7 @@ public:
s32 id = -1,
const v3f& position = v3f(0,0,0),
const v3f& rotation = v3f(0,0,0),
- const v3f& scale = v3f(0,0,0));
+ const v3f& scale = v3f(1,1,1));
~ExtrudedSpriteSceneNode();
void setSprite(video::ITexture* texture);