source-engine/replay/common/replaylib.cpp

28 lines
884 B
C++
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#include "replay/replaylib.h"
#include "replay/replayutils.h"
#include "replay/iclientreplaycontext.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
//----------------------------------------------------------------------------------------
IClientReplayContext *g_pClientReplayContext = NULL;
//----------------------------------------------------------------------------------------
bool ReplayLib_Init( const char *pGameDir, IClientReplayContext *pClientReplayContext )
{
Replay_SetGameDir( pGameDir );
g_pClientReplayContext = pClientReplayContext;
return true;
}
//----------------------------------------------------------------------------------------