source-engine/game/client/tf2base/c_tf_projectile_rocket.h
2022-08-10 19:52:28 +03:00

39 lines
1003 B
C++

//====== Copyright © 1996-2005, 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 CreateRocketTrails( void );
virtual const char *GetTrailParticleName( void ) { return "rockettrail"; }
private:
bool m_bCritical;
};
#endif // C_TF_PROJECTILE_ROCKET_H