Team Fortress 2 Source Code as on 22/4/2020
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.

39 lines
1.0 KiB

  1. //========= Copyright 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, bool loadGame, bool bBackgroundLevel, const char *pszOldMap = NULL, const char *pszLandmark = NULL, bool bOldSave = false );
  28. bool Host_Changelevel( bool loadfromsavedgame, const char *mapname, const char *start );
  29. void Disconnect();
  30. extern ConVar host_name;
  31. extern int gHostSpawnCount;
  32. #endif // LAUNCHERONLY
  33. #endif // HOST_CMD_H