mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add third person view
This commit is contained in:
parent
e149d1ad9a
commit
a1db9242ec
19 changed files with 270 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue