aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.h24
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