mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
29 lines
899 B
C++
29 lines
899 B
C++
|
//========= Copyright 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 = 8;
|
||
|
maxplayers = MAX_PLAYERS - 1;
|
||
|
}
|
||
|
|
||
|
|
||
|
// -------------------------------------------------------------------------------------------- //
|
||
|
// Mod-specific CServerGameDLL implementation.
|
||
|
// -------------------------------------------------------------------------------------------- //
|
||
|
|
||
|
void CServerGameDLL::LevelInit_ParseAllEntities( const char *pMapEntities )
|
||
|
{
|
||
|
MapEntity_ParseAllEntities( pMapEntities, NULL );
|
||
|
}
|