1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

added dedicated server build without irrlicht

This commit is contained in:
Perttu Ahola 2010-12-19 19:11:05 +02:00
parent 0ca9423b8b
commit ab7477c4c3
19 changed files with 669 additions and 125 deletions

View file

@ -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