Counter Strike : Global Offensive Source Code
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.

52 lines
1.2 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. // $NoKeywords: $
  8. //=============================================================================//
  9. #if !defined( C_TE_BASEBEAM_H )
  10. #define C_TE_BASEBEAM_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. #include "c_basetempentity.h"
  15. //-----------------------------------------------------------------------------
  16. // Purpose: Base entity for beam te's
  17. //-----------------------------------------------------------------------------
  18. class C_TEBaseBeam : public C_BaseTempEntity
  19. {
  20. public:
  21. DECLARE_CLASS( C_TEBaseBeam, C_BaseTempEntity );
  22. DECLARE_CLIENTCLASS();
  23. private:
  24. public:
  25. C_TEBaseBeam( void );
  26. virtual ~C_TEBaseBeam( void );
  27. virtual void PreDataUpdate( DataUpdateType_t updateType );
  28. virtual void PostDataUpdate( DataUpdateType_t updateType );
  29. public:
  30. int m_nModelIndex;
  31. int m_nHaloIndex;
  32. int m_nStartFrame;
  33. int m_nFrameRate;
  34. float m_fLife;
  35. float m_fWidth;
  36. float m_fEndWidth;
  37. int m_nFadeLength;
  38. float m_fAmplitude;
  39. int r, g, b, a;
  40. int m_nSpeed;
  41. int m_nFlags;
  42. };
  43. EXTERN_RECV_TABLE(DT_BaseBeam);
  44. #endif // C_TE_BASEBEAM_H