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/hl2/c_prop_combine_ball.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/hl2/c_prop_combine_ball.h')
| -rw-r--r-- | game/client/hl2/c_prop_combine_ball.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/game/client/hl2/c_prop_combine_ball.h b/game/client/hl2/c_prop_combine_ball.h new file mode 100644 index 0000000..04e8e47 --- /dev/null +++ b/game/client/hl2/c_prop_combine_ball.h @@ -0,0 +1,45 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef CPROPCOMBINEBALL_H_ +#define CPROPCOMBINEBALL_H_ + +#ifdef _WIN32 +#pragma once +#endif + +class C_PropCombineBall : public C_BaseAnimating +{ + DECLARE_CLASS( C_PropCombineBall, C_BaseAnimating ); + DECLARE_CLIENTCLASS(); +public: + + C_PropCombineBall( void ); + + virtual RenderGroup_t GetRenderGroup( void ); + + virtual void OnDataChanged( DataUpdateType_t updateType ); + virtual int DrawModel( int flags ); + +protected: + + void DrawMotionBlur( void ); + void DrawFlicker( void ); + virtual bool InitMaterials( void ); + + Vector m_vecLastOrigin; + bool m_bEmit; + float m_flRadius; + bool m_bHeld; + bool m_bLaunched; + + IMaterial *m_pFlickerMaterial; + IMaterial *m_pBodyMaterial; + IMaterial *m_pBlurMaterial; +}; + + +#endif
\ No newline at end of file |