mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08:00
29 lines
936 B
C++
29 lines
936 B
C++
|
//========= 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
|
|||
|
{
|
|||
|
minplayers = defaultMaxPlayers = 1;
|
|||
|
maxplayers = MAX_PLAYERS;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
// -------------------------------------------------------------------------------------------- //
|
|||
|
// Mod-specific CServerGameDLL implementation.
|
|||
|
// -------------------------------------------------------------------------------------------- //
|
|||
|
|
|||
|
void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities )
|
|||
|
{
|
|||
|
MapEntity_ParseAllEntities( pMapEntities, NULL );
|
|||
|
}
|