You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
![]()
4 years ago
|
//========= 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
|