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.
28 lines
884 B
28 lines
884 B
5 years ago
|
//========= 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;
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|