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.
27 lines
834 B
27 lines
834 B
//========= 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 ); |
|
}
|
|
|