summaryrefslogtreecommitdiff
path: root/src/client/client.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-11-08 20:01:47 +0100
committersfan5 <sfan5@live.de>2019-11-09 16:08:38 +0100
commit82a2e02323615473fc3039508b4c4529591e27d9 (patch)
tree3d66f3bf530df8403cdf77199d15a1a9a3fea384 /src/client/client.h
parent5ab546f99bf3f438a8d19a3582798b5ab98476d6 (diff)
downloadminetest-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.h4
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;