//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "gameinterface.h" #include "mapentities.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" void CServerGameClients::GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers ) const { #ifdef PORTAL2 minplayers = defaultMaxPlayers = 1; maxplayers = CommandLine()->FindParm( "-allowspectators" ) ? 3 : 2; #else minplayers = defaultMaxPlayers = 1; maxplayers = MAX_PLAYERS; #endif } // -------------------------------------------------------------------------------------------- // // Mod-specific CServerGameDLL implementation. // -------------------------------------------------------------------------------------------- // void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities ) { }