diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/interpolatedvar.cpp | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/interpolatedvar.cpp')
| -rw-r--r-- | game/client/interpolatedvar.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/game/client/interpolatedvar.cpp b/game/client/interpolatedvar.cpp new file mode 100644 index 0000000..44caf80 --- /dev/null +++ b/game/client/interpolatedvar.cpp @@ -0,0 +1,30 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#include "cbase.h" +#include "interpolatedvar.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +// warning C4660: template-class specialization 'CInterpolatedVar<float>' is already instantiated +#pragma warning( disable : 4660 ) + +template class CInterpolatedVar<float>; +template class CInterpolatedVar<Vector>; +template class CInterpolatedVar<QAngle>; +template class CInterpolatedVar<C_AnimationLayer>; + + +CInterpolationContext *CInterpolationContext::s_pHead = NULL; +bool CInterpolationContext::s_bAllowExtrapolation = false; +float CInterpolationContext::s_flLastTimeStamp = 0; + +float g_flLastPacketTimestamp = 0; + + +ConVar cl_extrapolate_amount( "cl_extrapolate_amount", "0.25", FCVAR_CHEAT, "Set how many seconds the client will extrapolate entities for." ); + |