mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Basic camera control API (#15796)
This commit is contained in:
parent
50819ace8f
commit
ba62808fe8
18 changed files with 162 additions and 42 deletions
|
@ -45,6 +45,7 @@ class BanManager;
|
|||
class Inventory;
|
||||
class ModChannelMgr;
|
||||
class RemotePlayer;
|
||||
class Player;
|
||||
class PlayerSAO;
|
||||
struct PlayerHPChangeReason;
|
||||
class IRollbackManager;
|
||||
|
@ -409,6 +410,7 @@ public:
|
|||
void SendMovePlayerRel(session_t peer_id, const v3f &added_pos);
|
||||
void SendPlayerSpeed(session_t peer_id, const v3f &added_vel);
|
||||
void SendPlayerFov(session_t peer_id);
|
||||
void SendCamera(session_t peer_id, Player *player);
|
||||
|
||||
void SendMinimapModes(session_t peer_id,
|
||||
std::vector<MinimapMode> &modes,
|
||||
|
@ -546,6 +548,7 @@ private:
|
|||
void SendCloudParams(session_t peer_id, const CloudParams ¶ms);
|
||||
void SendOverrideDayNightRatio(session_t peer_id, bool do_override, float ratio);
|
||||
void SendSetLighting(session_t peer_id, const Lighting &lighting);
|
||||
|
||||
void broadcastModChannelMessage(const std::string &channel,
|
||||
const std::string &message, session_t from_peer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue