diff options
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 94b0b6a2d..e493c5ea9 100644 --- a/src/server.h +++ b/src/server.h @@ -319,6 +319,9 @@ public: inline Address getPeerAddress(u16 peer_id) { return m_con.GetPeerAddress(peer_id); } + + bool setSky(Player *player, const video::SColor &bgcolor, + const std::string &type, const std::vector<std::string> ¶ms); /* con::PeerHandler implementation. */ void peerAdded(con::Peer *peer); @@ -355,7 +358,9 @@ private: void SendHUDChange(u16 peer_id, u32 id, HudElementStat stat, void *value); void SendHUDSetFlags(u16 peer_id, u32 flags, u32 mask); void SendHUDSetParam(u16 peer_id, u16 param, const std::string &value); - + void SendSetSky(u16 peer_id, const video::SColor &bgcolor, + const std::string &type, const std::vector<std::string> ¶ms); + /* Send a node removal/addition event to all clients except ignore_id. Additionally, if far_players!=NULL, players further away than |