diff options
author | BlockMen <nmuelll@web.de> | 2014-01-08 13:47:53 +0100 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2014-04-12 17:44:15 +0200 |
commit | a1db9242ec491efdee70a7184aa61e861b17595a (patch) | |
tree | 04bdd2302f8b3c4285ddb8f5ba669f7adc6bf4b9 /src/localplayer.h | |
parent | e149d1ad9a623b9f8ca597839f7b850841c54781 (diff) | |
download | minetest-a1db9242ec491efdee70a7184aa61e861b17595a.tar.gz minetest-a1db9242ec491efdee70a7184aa61e861b17595a.tar.bz2 minetest-a1db9242ec491efdee70a7184aa61e861b17595a.zip |
Add third person view
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index b6a3ed1f6..4a35ca929 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -27,6 +27,8 @@ class ClientEnvironment; class ClientActiveObject; +enum localPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local animation, walking, digging, both + class LocalPlayer : public Player { public: @@ -60,6 +62,9 @@ public: unsigned int last_keyPressed; float camera_impact; + int camera_mode; + int last_animation; + float last_animation_speed; std::string hotbar_image; std::string hotbar_selected_image; |