blob: 04e8e47dd3b174effb5de368c1e494671113c0a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|