diff options
author | MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com> | 2013-04-07 15:41:33 -1000 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-04-11 19:42:47 -0400 |
commit | 7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e (patch) | |
tree | 67210091a050856c943443ea1b8e791d0fb271db /src/camera.h | |
parent | 17cfb1850d35148b9e2445dfdd160a164d02ebf9 (diff) | |
download | minetest-7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e.tar.gz minetest-7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e.tar.bz2 minetest-7cd5eb4c77de9fda4946de7e1c2384d0c2a0253e.zip |
Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with.
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camera.h b/src/camera.h index 989dcb718..0ed5c20d2 100644 --- a/src/camera.h +++ b/src/camera.h @@ -166,6 +166,8 @@ private: s32 m_view_bobbing_state; // Speed of view bobbing animation f32 m_view_bobbing_speed; + // Fall view bobbing + f32 m_view_bobbing_fall; // Digging animation frame (0 <= m_digging_anim < 1) f32 m_digging_anim; |