mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix client.dll compile errors.
This commit is contained in:
parent
9fe2c2d798
commit
83ce041b65
@ -41,7 +41,9 @@
|
||||
#include "client/vengineclient_impl.h"
|
||||
#endif // DEDICATED
|
||||
#include "networksystem/pylon.h"
|
||||
#ifndef CLIENT_DLL
|
||||
#include "networksystem/bansystem.h"
|
||||
#endif // !CLIENT_DLL
|
||||
#include "networksystem/listmanager.h"
|
||||
#include "public/edict.h"
|
||||
#ifndef CLIENT_DLL
|
||||
@ -182,7 +184,9 @@ FORCEINLINE void CHostState::Init(void)
|
||||
FORCEINLINE void CHostState::Setup(void)
|
||||
{
|
||||
g_pHostState->LoadConfig();
|
||||
#ifndef CLIENT_DLL
|
||||
g_pBanSystem->Load();
|
||||
#endif // !CLIENT_DLL
|
||||
g_pConVar->PurgeHostNames();
|
||||
|
||||
net_usesocketsforloopback->SetValue(1);
|
||||
|
@ -392,7 +392,9 @@ void ConCommand::InitShipped(void)
|
||||
#endif // !DEDICATED
|
||||
|
||||
help->m_fnCommandCallback = CVHelp_f;
|
||||
#ifndef CLIENT_DLL
|
||||
changelevel->m_fnCommandCallback = Host_Changelevel_f;
|
||||
#endif // !CLIENT_DLL
|
||||
convar_list->m_fnCommandCallback = CVList_f;
|
||||
convar_differences->m_fnCommandCallback = CVDiff_f;
|
||||
convar_findByFlags->m_fnCommandCallback = CVFlag_f;
|
||||
|
@ -19,6 +19,9 @@
|
||||
#include "engine/net.h"
|
||||
#include "engine/host_cmd.h"
|
||||
#include "engine/host_state.h"
|
||||
#ifndef CLIENT_DLL
|
||||
#include "engine/server/server.h"
|
||||
#endif // !CLIENT_DLL
|
||||
#ifndef DEDICATED
|
||||
#include "client/cdll_engine_int.h"
|
||||
#endif // !DEDICATED
|
||||
@ -28,6 +31,7 @@
|
||||
#include "filesystem/filesystem.h"
|
||||
#include "vpklib/packedstore.h"
|
||||
#include "squirrel/sqscript.h"
|
||||
#include "ebisusdk/EbisuSDK.h"
|
||||
#ifndef DEDICATED
|
||||
#include "gameui/IBrowser.h"
|
||||
#include "gameui/IConsole.h"
|
||||
@ -47,8 +51,6 @@
|
||||
#ifndef DEDICATED
|
||||
#include "game/client/view.h"
|
||||
#endif // !DEDICATED
|
||||
#include <ebisusdk/EbisuSDK.h>
|
||||
#include <engine/server/server.h>
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user