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.

27 lines
884 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #include "replay/replaylib.h"
  5. #include "replay/replayutils.h"
  6. #include "replay/iclientreplaycontext.h"
  7. // memdbgon must be the last include file in a .cpp file!!!
  8. #include "tier0/memdbgon.h"
  9. //----------------------------------------------------------------------------------------
  10. IClientReplayContext *g_pClientReplayContext = NULL;
  11. //----------------------------------------------------------------------------------------
  12. bool ReplayLib_Init( const char *pGameDir, IClientReplayContext *pClientReplayContext )
  13. {
  14. Replay_SetGameDir( pGameDir );
  15. g_pClientReplayContext = pClientReplayContext;
  16. return true;
  17. }
  18. //----------------------------------------------------------------------------------------