You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
834 B
28 lines
834 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "cbase.h"
|
||
|
#include "gameinterface.h"
|
||
|
#include "mapentities.h"
|
||
|
|
||
|
|
||
|
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 );
|
||
|
}
|