summaryrefslogtreecommitdiff
path: root/game/server/hl2mp/hl2mp_gameinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/hl2mp/hl2mp_gameinterface.cpp')
-rw-r--r--game/server/hl2mp/hl2mp_gameinterface.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/game/server/hl2mp/hl2mp_gameinterface.cpp b/game/server/hl2mp/hl2mp_gameinterface.cpp
new file mode 100644
index 0000000..b5881f7
--- /dev/null
+++ b/game/server/hl2mp/hl2mp_gameinterface.cpp
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#include "cbase.h"
+#include "gameinterface.h"
+#include "mapentities.h"
+#include "hl2mp_gameinterface.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+// -------------------------------------------------------------------------------------------- //
+// Mod-specific CServerGameClients implementation.
+// -------------------------------------------------------------------------------------------- //
+
+void CServerGameClients::GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers ) const
+{
+ minplayers = defaultMaxPlayers = 2;
+ maxplayers = 16;
+}
+
+// -------------------------------------------------------------------------------------------- //
+// Mod-specific CServerGameDLL implementation.
+// -------------------------------------------------------------------------------------------- //
+
+void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities )
+{
+}
+