1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +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

@ -109,6 +109,26 @@ protected:
v3f m_position;
};
class ServerRemotePlayer : public Player
{
public:
ServerRemotePlayer()
{
}
virtual ~ServerRemotePlayer()
{
}
bool isLocal() const
{
return false;
}
private:
};
#ifndef SERVER
class RemotePlayer : public Player, public scene::ISceneNode
{
public:
@ -165,6 +185,9 @@ private:
core::aabbox3d<f32> m_box;
};
#endif
#ifndef SERVER
struct PlayerControl
{
PlayerControl()
@ -225,6 +248,7 @@ public:
private:
};
#endif // !SERVER
#endif