diff options
author | Perttu Ahola <celeron55@gmail.com> | 2010-12-19 19:11:05 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-19 19:11:05 +0200 |
commit | ab7477c4c3e2a3647dc4fb65c71567946d33b0e3 (patch) | |
tree | fb9aaca70617875ff68f8ba1674f5a6fccd4f385 /src/client.h | |
parent | 0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 (diff) | |
download | minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.tar.xz |
added dedicated server build without irrlicht
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/client.h b/src/client.h index 18aa619c6..4720bd720 100644 --- a/src/client.h +++ b/src/client.h @@ -20,6 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef CLIENT_HEADER #define CLIENT_HEADER +#ifndef SERVER + #include "connection.h" #include "environment.h" #include "common_irrlicht.h" @@ -137,7 +139,14 @@ public: /* NOTE: Every public method should be thread-safe */ - Client(IrrlichtDevice *device, const char *playername); + Client( + IrrlichtDevice *device, + const char *playername, + JMutex &range_mutex, + s16 &viewing_range_nodes, + bool &viewing_range_all + ); + ~Client(); /* The name of the local player should already be set when @@ -290,5 +299,7 @@ private: //u32 m_daynight_ratio; }; -#endif +#endif // !SERVER + +#endif // !CLIENT_HEADER |