mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
30 lines
1.0 KiB
C++
30 lines
1.0 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#include "cbase.h"
|
|
#include "gameinterface.h"
|
|
#include "mapentities.h"
|
|
|
|
|
|
// -------------------------------------------------------------------------------------------- //
|
|
// Mod-specific CServerGameClients implementation.
|
|
// -------------------------------------------------------------------------------------------- //
|
|
|
|
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 )
|
|
{
|
|
}
|