hl2_src-leak-2017/src/game/client/tf/c_tf_projectile_rocket.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

41 lines
1.0 KiB
C++

//========= 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