]> git.lizzy.rs Git - minetest.git/blobdiff - src/client/client.h
fix: drop old irrlicht <1.8 compat on Client::loadMedia
[minetest.git] / src / client / client.h
index bffdc7ec6c856e897411c8f624029bce98e70160..2dba1506ed1f45faec522b902f3367ce2ea42e25 100644 (file)
@@ -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<u32, u32> &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<int, u16> m_sounds_to_objects;
 
-       // Map server hud ids to client hud ids
-       std::unordered_map<u32, u32> m_hud_server_to_client;
-
        // Privileges
        std::unordered_set<std::string> 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<std::string, ModMetadata *> m_mod_storages;
        float m_mod_storage_save_timer = 10.0f;
        std::vector<ModSpec> m_mods;