diff options
author | sfan5 <sfan5@live.de> | 2019-11-08 20:01:47 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-11-09 16:08:38 +0100 |
commit | 82a2e02323615473fc3039508b4c4529591e27d9 (patch) | |
tree | 3d66f3bf530df8403cdf77199d15a1a9a3fea384 /src/client/client.h | |
parent | 5ab546f99bf3f438a8d19a3582798b5ab98476d6 (diff) | |
download | minetest-82a2e02323615473fc3039508b4c4529591e27d9.tar.gz minetest-82a2e02323615473fc3039508b4c4529591e27d9.tar.bz2 minetest-82a2e02323615473fc3039508b4c4529591e27d9.zip |
Load client mods into memory before execution.
Preperation for server-sent CSM which will eventually need this.
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.h b/src/client/client.h index e3c931837..40ad4c064 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -576,8 +576,6 @@ private: // Storage for mesh data for creating multiple instances of the same mesh StringMap m_mesh_data; - StringMap m_mod_files; - // own state LocalClientState m_state; @@ -588,11 +586,13 @@ private: IntervalLimiter m_localdb_save_interval; u16 m_cache_save_interval; + // 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; + StringMap m_mod_vfs; bool m_shutdown = false; |