2023-10-03 14:23:56 +00:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2020-04-22 16:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// Purpose: Provides access to cvars that are bounded in the client DLL.
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef CDLL_BOUNDED_CVARS_H
|
|
|
|
|
#define CDLL_BOUNDED_CVARS_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "convar_serverbounded.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern ConVar_ServerBounded *cl_predict;
|
|
|
|
|
extern ConVar_ServerBounded *cl_interp;
|
|
|
|
|
|
|
|
|
|
// Returns cl_interp_ratio / cl_updaterate.
|
|
|
|
|
float GetClientInterpAmount();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined( NO_ENTITY_PREDICTION )
|
|
|
|
|
extern bool g_bForceCLPredictOff; // If this is set to true, then prediction is forced off. Used temporarily for kill cam.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CDLL_BOUNDED_CVARS_H
|
|
|
|
|
|