mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add player:set_eye_offset() by @MirceaKitsune and clean up
This commit is contained in:
@@ -323,6 +323,7 @@ public:
|
||||
{ return m_con.GetPeerAddress(peer_id); }
|
||||
|
||||
bool setLocalPlayerAnimations(Player *player, v2f animation_frames[4], f32 frame_speed);
|
||||
bool setPlayerEyeOffset(Player *player, v3f first, v3f third);
|
||||
|
||||
bool setSky(Player *player, const video::SColor &bgcolor,
|
||||
const std::string &type, const std::vector<std::string> ¶ms);
|
||||
@@ -364,6 +365,7 @@ private:
|
||||
void SendPlayerBreath(u16 peer_id);
|
||||
void SendMovePlayer(u16 peer_id);
|
||||
void SendLocalPlayerAnimations(u16 peer_id, v2f animation_frames[4], f32 animation_speed);
|
||||
void SendEyeOffset(u16 peer_id, v3f first, v3f third);
|
||||
void SendPlayerPrivileges(u16 peer_id);
|
||||
void SendPlayerInventoryFormspec(u16 peer_id);
|
||||
void SendShowFormspecMessage(u16 peer_id, const std::string &formspec, const std::string &formname);
|
||||
|
Reference in New Issue
Block a user