summaryrefslogtreecommitdiff
path: root/game/server/tfc/tfc_gameinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/server/tfc/tfc_gameinterface.cpp')
-rw-r--r--game/server/tfc/tfc_gameinterface.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/game/server/tfc/tfc_gameinterface.cpp b/game/server/tfc/tfc_gameinterface.cpp
new file mode 100644
index 0000000..67b8766
--- /dev/null
+++ b/game/server/tfc/tfc_gameinterface.cpp
@@ -0,0 +1,33 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#include "cbase.h"
+#include "gameinterface.h"
+#include "mapentities.h"
+
+
+// -------------------------------------------------------------------------------------------- //
+// Mod-specific CServerGameClients implementation.
+// -------------------------------------------------------------------------------------------- //
+
+void CServerGameClients::GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers ) const
+{
+ minplayers = 2; // Force multiplayer.
+ maxplayers = MAX_PLAYERS;
+ defaultMaxPlayers = 32;
+}
+
+
+// -------------------------------------------------------------------------------------------- //
+// Mod-specific CServerGameDLL implementation.
+// -------------------------------------------------------------------------------------------- //
+
+void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities )
+{
+ MapEntity_ParseAllEntities( pMapEntities, NULL );
+}
+
+