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/player.h | |
parent | 0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 (diff) | |
download | minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.tar.gz minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.tar.bz2 minetest-ab7477c4c3e2a3647dc4fb65c71567946d33b0e3.zip |
added dedicated server build without irrlicht
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 91ad99911..7337eb6db 100644 --- a/src/player.h +++ b/src/player.h @@ -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 |