diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-15 11:02:47 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:43 +0200 |
commit | 45fc45a49e61c61646b9997840e92f25bb8ccde9 (patch) | |
tree | 974bf350bc7f80717726b96f9687f25932ac3792 /src/server.h | |
parent | 7bdc328a7191024287d9f1e5a24ba4f96fb9ca50 (diff) | |
download | minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.tar.gz minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.tar.bz2 minetest-45fc45a49e61c61646b9997840e92f25bb8ccde9.zip |
Sending of textures WIP
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 0354abbd9..e53bf9c9a 100644 --- a/src/server.h +++ b/src/server.h @@ -515,7 +515,10 @@ private: IToolDefManager *tooldef); /* - Non-static send methods + Non-static send methods. + Conlock should be always used. + Envlock usage is documented badly but it's easy to figure out + which ones access the environment. */ // Envlock and conlock should be locked when calling these @@ -546,6 +549,8 @@ private: // Sends blocks to clients (locks env and con on its own) void SendBlocks(float dtime); + + void SendTextures(u16 peer_id); /* Something random @@ -682,6 +687,9 @@ private: // Configuration path ("" = no configuration file) std::string m_configpath; + + // Mod parent directory paths + core::list<std::string> m_modspaths; bool m_shutdown_requested; |