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.

42 lines
950 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef C_ENTITY_FLAME_H
  9. #define C_ENTITY_FLAME_H
  10. #include "c_baseentity.h"
  11. //
  12. // Entity flame, client-side implementation
  13. //
  14. class C_EntityFlame : public C_BaseEntity
  15. {
  16. public:
  17. DECLARE_CLIENTCLASS();
  18. DECLARE_CLASS( C_EntityFlame, C_BaseEntity );
  19. C_EntityFlame( void );
  20. virtual ~C_EntityFlame( void );
  21. virtual bool Simulate( void );
  22. virtual void UpdateOnRemove( void );
  23. virtual void OnDataChanged( DataUpdateType_t updateType );
  24. virtual void ClientThink( void );
  25. EHANDLE m_hEntAttached; // The entity that we are burning (attached to).
  26. private:
  27. void CreateEffect( void );
  28. void StopEffect( void );
  29. CUtlReference<CNewParticleEffect> m_hEffect;
  30. EHANDLE m_hOldAttached;
  31. bool m_bCheapEffect;
  32. };
  33. #endif // C_ENTITY_FLAME_H