diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/host_cmd.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'engine/host_cmd.h')
| -rw-r--r-- | engine/host_cmd.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/engine/host_cmd.h b/engine/host_cmd.h new file mode 100644 index 0000000..2a61b7e --- /dev/null +++ b/engine/host_cmd.h @@ -0,0 +1,39 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#if !defined( HOST_CMD_H ) +#define HOST_CMD_H +#ifdef _WIN32 +#pragma once +#endif + +#include "savegame_version.h" +#include "host_saverestore.h" +#include "convar.h" + +// The launcher includes this file, too +#ifndef LAUNCHERONLY + +void Host_Init( bool bIsDedicated ); +void Host_Shutdown(void); +int Host_Frame (float time, int iState ); +void Host_ShutdownServer(void); +bool Host_NewGame( char *mapName, bool loadGame, bool bBackgroundLevel, const char *pszOldMap = NULL, const char *pszLandmark = NULL, bool bOldSave = false ); +bool Host_Changelevel( bool loadfromsavedgame, const char *mapname, const char *start ); +void Disconnect(); + +extern ConVar host_name; + +extern int gHostSpawnCount; + +#endif // LAUNCHERONLY +#endif // HOST_CMD_H |