aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h10
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;