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/tf/tf_proxyentity.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/tf/tf_proxyentity.h')
| -rw-r--r-- | game/client/tf/tf_proxyentity.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/game/client/tf/tf_proxyentity.h b/game/client/tf/tf_proxyentity.h new file mode 100644 index 0000000..efa986c --- /dev/null +++ b/game/client/tf/tf_proxyentity.h @@ -0,0 +1,28 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: A base class for all material proxies in the tf client dll +// +// $NoKeywords: $ +//=============================================================================// +#ifndef TF_PROXY_ENTITY_H +#define TF_PROXY_ENTITY_H + +#include "proxyentity.h" + +//----------------------------------------------------------------------------- +// Base class all translucent material proxies should inherit from +//----------------------------------------------------------------------------- +abstract_class CBaseInvisMaterialProxy : public CEntityMaterialProxy +{ +public: + CBaseInvisMaterialProxy(); + + virtual bool Init( IMaterial *pMaterial, KeyValues* pKeyValues ) OVERRIDE; + virtual void Release() OVERRIDE; + virtual IMaterial* GetMaterial() OVERRIDE; +protected: + virtual void OnBindNotEntity( void *pRenderable ) OVERRIDE; + IMaterialVar *m_pPercentInvisible; +}; + +#endif // TF_PROXY_ENTITY_H |