summaryrefslogtreecommitdiff
path: root/engine/host_state.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/host_state.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'engine/host_state.h')
-rw-r--r--engine/host_state.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/engine/host_state.h b/engine/host_state.h
new file mode 100644
index 0000000..0f641ae
--- /dev/null
+++ b/engine/host_state.h
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef HOST_STATE_H
+#define HOST_STATE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "mathlib/vector.h"
+
+void HostState_Init();
+void HostState_RunGameInit();
+void HostState_Frame( float time );
+void HostState_NewGame( char const *pMapName, bool remember_location, bool background );
+void HostState_LoadGame( char const *pSaveFileName, bool remember_location );
+void HostState_ChangeLevelSP( char const *pNewLevel, char const *pLandmarkName );
+void HostState_ChangeLevelMP( char const *pNewLevel, char const *pLandmarkName );
+void HostState_GameShutdown();
+void HostState_Shutdown();
+void HostState_Restart();
+bool HostState_IsGameShuttingDown();
+bool HostState_IsShuttingDown();
+void HostState_OnClientConnected();
+void HostState_OnClientDisconnected();
+void HostState_SetSpawnPoint(Vector &position, QAngle &angle);
+
+#endif // HOST_STATE_H