uid issue
This commit is contained in:
32
game/server/base_gameinterface.cpp
Normal file
32
game/server/base_gameinterface.cpp
Normal file
@ -0,0 +1,32 @@
|
||||
//========= Copyright <20> 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 )
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user