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.
25 lines
678 B
25 lines
678 B
![]()
4 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
#include "cbase.h"
|
||
|
#include "prediction.h"
|
||
|
#include "hl_movedata.h"
|
||
|
#include "c_basehlplayer.h"
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include "tier0/memdbgon.h"
|
||
|
|
||
|
static CHLMoveData g_HLMoveData;
|
||
|
CMoveData *g_pMoveData = &g_HLMoveData;
|
||
|
|
||
|
// Expose interface to engine
|
||
|
static CPrediction g_Prediction;
|
||
|
|
||
|
EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CPrediction, IPrediction, VCLIENT_PREDICTION_INTERFACE_VERSION, g_Prediction );
|
||
|
|
||
|
CPrediction *prediction = &g_Prediction;
|
||
|
|