1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/game/client/c_te_basebeam.h

53 lines
1.2 KiB
C
Raw Normal View History

2013-06-27 06:22:04 +08:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#if !defined( C_TE_BASEBEAM_H )
#define C_TE_BASEBEAM_H
#ifdef _WIN32
#pragma once
#endif
#include "c_basetempentity.h"
//-----------------------------------------------------------------------------
// Purpose: Base entity for beam te's
//-----------------------------------------------------------------------------
class C_TEBaseBeam : public C_BaseTempEntity
{
public:
DECLARE_CLASS( C_TEBaseBeam, C_BaseTempEntity );
DECLARE_CLIENTCLASS();
private:
public:
C_TEBaseBeam( void );
virtual ~C_TEBaseBeam( void );
virtual void PreDataUpdate( DataUpdateType_t updateType );
virtual void PostDataUpdate( DataUpdateType_t updateType );
public:
int m_nModelIndex;
int m_nHaloIndex;
int m_nStartFrame;
int m_nFrameRate;
float m_fLife;
float m_fWidth;
float m_fEndWidth;
int m_nFadeLength;
float m_fAmplitude;
int r, g, b, a;
int m_nSpeed;
int m_nFlags;
};
EXTERN_RECV_TABLE(DT_BaseBeam);
#endif // C_TE_BASEBEAM_H