summaryrefslogtreecommitdiff
path: root/game/server/movehelper_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/movehelper_server.h')
-rw-r--r--game/server/movehelper_server.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/game/server/movehelper_server.h b/game/server/movehelper_server.h
new file mode 100644
index 0000000..a203f77
--- /dev/null
+++ b/game/server/movehelper_server.h
@@ -0,0 +1,43 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef MOVEHELPER_SERVER_H
+#define MOVEHELPER_SERVER_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "imovehelper.h"
+
+
+//-----------------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------------
+
+class CBasePlayer;
+class CBaseEntity;
+
+
+//-----------------------------------------------------------------------------
+// Implementation of the movehelper on the server
+//-----------------------------------------------------------------------------
+
+abstract_class IMoveHelperServer : public IMoveHelper
+{
+public:
+ virtual void SetHost( CBasePlayer *host ) = 0;
+};
+
+//-----------------------------------------------------------------------------
+// Singleton access
+//-----------------------------------------------------------------------------
+
+IMoveHelperServer* MoveHelperServer();
+
+
+#endif // MOVEHELPER_SERVER_H