Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

42 lines
1.0 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef C_TF_PROJECTILE_ENERGY_BALL_H
#define C_TF_PROJECTILE_ENERGY_BALL_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_weaponbase_rocket.h"
#define CTFProjectile_EnergyBall C_TFProjectile_EnergyBall
//-----------------------------------------------------------------------------
// Purpose: EnergyBall projectile.
//-----------------------------------------------------------------------------
class C_TFProjectile_EnergyBall : public C_TFBaseRocket
{
DECLARE_CLASS( C_TFProjectile_EnergyBall, C_TFBaseRocket );
public:
DECLARE_NETWORKCLASS();
C_TFProjectile_EnergyBall();
~C_TFProjectile_EnergyBall();
virtual void CreateTrails( void );
virtual const char *GetTrailParticleName( void );
private:
CNewParticleEffect *pEffect;
bool m_bChargedShot;
Vector m_vColor1;
Vector m_vColor2;
};
#endif // C_TF_PROJECTILE_ENERGY_BALL_H