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.

45 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #if !defined( HOST_CMD_H )
  14. #define HOST_CMD_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. #include "savegame_version.h"
  19. #include "host_saverestore.h"
  20. #include "convar.h"
  21. // The launcher includes this file, too
  22. #ifndef LAUNCHERONLY
  23. void Host_Init( bool bIsDedicated );
  24. void Host_Shutdown(void);
  25. int Host_Frame (float time, int iState );
  26. void Host_ShutdownServer(void);
  27. bool Host_NewGame( char *mapName, char *mapGroupName, bool loadGame, bool bBackgroundLevel, bool bSplitScreenConnect, const char *pszOldMap = NULL, const char *pszLandmark = NULL );
  28. void Host_Changelevel( bool loadfromsavedgame, const char *mapname, char *mapGroupName, const char *start );
  29. void Host_PrintStatus( cmd_source_t commandSource, void ( *print )(const char *fmt, ...), bool bShort );
  30. const char *GetHostProductString();
  31. const char *GetHostVersionString();
  32. int32 GetHostVersion();
  33. int32 GetClientVersion();
  34. int32 GetServerVersion();
  35. extern ConVar host_name;
  36. extern int gHostSpawnCount;
  37. #endif // LAUNCHERONLY
  38. #endif // HOST_CMD_H