X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=2dba1506ed1f45faec522b902f3367ce2ea42e25;hb=bc1888ff21d50eb21c8f4d381e5dcc8049f7e36c;hp=bffdc7ec6c856e897411c8f624029bce98e70160;hpb=f46509d5e2c681b6da2abdeb27779be3c36a6916;p=minetest.git diff --git a/src/client/client.h b/src/client/client.h index bffdc7ec6..2dba1506e 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -415,16 +415,6 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef return m_csm_restriction_flags & flag; } - u32 getCSMNodeRangeLimit() const - { - return m_csm_restriction_noderange; - } - - inline std::unordered_map &getHUDTranslationMap() - { - return m_hud_server_to_client; - } - bool joinModChannel(const std::string &channel) override; bool leaveModChannel(const std::string &channel) override; bool sendModChannelMessage(const std::string &channel, @@ -437,7 +427,6 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef } private: void loadMods(); - bool checkBuiltinIntegrity(); // Virtual methods from con::PeerHandler void peerAdded(con::Peer *peer) override; @@ -562,9 +551,6 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef // Relation of client id to object id std::unordered_map m_sounds_to_objects; - // Map server hud ids to client hud ids - std::unordered_map m_hud_server_to_client; - // Privileges std::unordered_set m_privileges; @@ -587,7 +573,6 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef // Client modding ClientScripting *m_script = nullptr; - bool m_modding_enabled; std::unordered_map m_mod_storages; float m_mod_storage_save_timer = 10.0f; std::vector m_mods;