Team Fortress 2 Source Code as on 22/4/2020
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.
|
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifdef CLIENT_DLL
#define CEnvDetailController C_EnvDetailController
#endif // CLIENT_DLL
//-----------------------------------------------------------------------------
// Implementation of the class that controls detail prop fade distances
//-----------------------------------------------------------------------------
class CEnvDetailController : public CBaseEntity { public: DECLARE_CLASS( CEnvDetailController, CBaseEntity ); DECLARE_NETWORKCLASS();
CEnvDetailController(); virtual ~CEnvDetailController();
#ifndef CLIENT_DLL
virtual bool KeyValue( const char *szKeyName, const char *szValue ); #endif // !CLIENT_DLL
CNetworkVar( float, m_flFadeStartDist ); CNetworkVar( float, m_flFadeEndDist );
// ALWAYS transmit to all clients.
virtual int UpdateTransmitState( void ); };
CEnvDetailController * GetDetailController();
|