1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add player:set_eye_offset() by @MirceaKitsune and clean up

This commit is contained in:
BlockMen 2014-04-11 15:32:46 +02:00
parent a1db9242ec
commit c0ab09af74
16 changed files with 108 additions and 13 deletions

View file

@ -27,7 +27,7 @@ class ClientEnvironment;
class ClientActiveObject;
enum localPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local animation, walking, digging, both
enum LocalPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM}; // no local animation, walking, digging, both
class LocalPlayer : public Player
{
@ -63,6 +63,9 @@ public:
float camera_impact;
int camera_mode;
v3f eye_offset_first;
v3f eye_offset_third;
int last_animation;
float last_animation_speed;