hl2_src-leak-2017/src/game/client/tf/c_tf_projectile_rocket.h

41 lines
1.0 KiB
C
Raw Normal View History

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef C_TF_PROJECTILE_ROCKET_H
#define C_TF_PROJECTILE_ROCKET_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_weaponbase_rocket.h"
#define CTFProjectile_Rocket C_TFProjectile_Rocket
//-----------------------------------------------------------------------------
// Purpose: Rocket projectile.
//-----------------------------------------------------------------------------
class C_TFProjectile_Rocket : public C_TFBaseRocket
{
DECLARE_CLASS( C_TFProjectile_Rocket, C_TFBaseRocket );
public:
DECLARE_NETWORKCLASS();
C_TFProjectile_Rocket();
~C_TFProjectile_Rocket();
virtual void OnDataChanged(DataUpdateType_t updateType);
virtual void CreateTrails( void );
virtual const char *GetTrailParticleName( void ) { return "rockettrail"; }
private:
bool m_bCritical;
CNewParticleEffect *pEffect;
};
#endif // C_TF_PROJECTILE_ROCKET_H