aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/hl2/c_prop_combine_ball.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/client/hl2/c_prop_combine_ball.h')
-rw-r--r--mp/src/game/client/hl2/c_prop_combine_ball.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/mp/src/game/client/hl2/c_prop_combine_ball.h b/mp/src/game/client/hl2/c_prop_combine_ball.h
new file mode 100644
index 00000000..234fdda8
--- /dev/null
+++ b/mp/src/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