]> git.lizzy.rs Git - minetest.git/blobdiff - src/server.h
Add a setting to enable always flying fast
[minetest.git] / src / server.h
index 19c29cbd711353518a832ae7815c8098e833027a..43beb167ae0a5b12c36db1b10763ec36443dfbc6 100644 (file)
@@ -583,7 +583,7 @@ class Server : public con::PeerHandler, public MapEventReceiver,
                m_async_fatal_error.set(error);
        }
 
-       bool showFormspec(const char *name, const std::string &formspec);
+       bool showFormspec(const char *name, const std::string &formspec, const std::string &formname);
 private:
 
        // con::PeerHandler implementation.
@@ -621,7 +621,7 @@ class Server : public con::PeerHandler, public MapEventReceiver,
        void SendMovePlayer(u16 peer_id);
        void SendPlayerPrivileges(u16 peer_id);
        void SendPlayerInventoryFormspec(u16 peer_id);
-       void SendShowFormspecMessage(u16 peer_id, const std::string formspec);
+       void SendShowFormspecMessage(u16 peer_id, const std::string formspec, const std::string formname);
        /*
                Send a node removal/addition event to all clients except ignore_id.
                Additionally, if far_players!=NULL, players further away than