aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-19 19:11:05 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-19 19:11:05 +0200
commitab7477c4c3e2a3647dc4fb65c71567946d33b0e3 (patch)
treefb9aaca70617875ff68f8ba1674f5a6fccd4f385 /src/client.cpp
parent0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 (diff)
downloadminetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.tar.gz
minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.tar.bz2
minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.zip
added dedicated server build without irrlicht
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b4871ff61..37482ba91 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -70,10 +70,17 @@ void * ClientUpdateThread::Thread()
return NULL;
}
-Client::Client(IrrlichtDevice *device,
- const char *playername):
+Client::Client(
+ IrrlichtDevice *device,
+ const char *playername,
+ JMutex &range_mutex,
+ s16 &viewing_range_nodes,
+ bool &viewing_range_all):
m_thread(this),
m_env(new ClientMap(this,
+ range_mutex,
+ viewing_range_nodes,
+ viewing_range_all,
device->getSceneManager()->getRootSceneNode(),
device->getSceneManager(), 666),
dout_client),