Counter Strike : Global Offensive Source Code
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.

37 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef HOST_STATE_H
  8. #define HOST_STATE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "mathlib/vector.h"
  13. void HostState_Init();
  14. void HostState_RunGameInit();
  15. void HostState_Frame( float time );
  16. void HostState_NewGame( char const *pMapName, bool remember_location, bool background, bool bSplitScreenConnect );
  17. void HostState_LoadGame( char const *pSaveFileName, bool remember_location, bool bLetToolsOverrideLoadGameEnts );
  18. void HostState_ChangeLevelSP( char const *pNewLevel, char const *pLandmarkName );
  19. void HostState_ChangeLevelMP( char const *pNewLevel, char const *pLandmarkName );
  20. void HostState_SetMapGroupName( char const *pMapGroupName );
  21. void HostState_GameShutdown();
  22. void HostState_Shutdown();
  23. void HostState_Restart();
  24. bool HostState_IsGameShuttingDown();
  25. void HostState_OnClientConnected();
  26. void HostState_OnClientDisconnected();
  27. void HostState_SetSpawnPoint(Vector &position, QAngle &angle);
  28. bool HostState_IsTransitioningToLoad();
  29. bool HostState_GameHasShutDownAndFlushedMemory();
  30. void HostState_Pre_LoadMapIntoMemory();
  31. void HostState_Post_FlushMapFromMemory();
  32. const char *HostState_GetNewLevel( void );
  33. #endif // HOST_STATE_H