Team Fortress 2 Source Code as on 22/4/2020
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.

27 lines
807 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "particles_simple.h"
  7. #include "particles_localspace.h"
  8. #include "fx.h"
  9. #include "c_te_effect_dispatch.h"
  10. class CMuzzleFlashEmitter_1stPerson : public CLocalSpaceEmitter
  11. {
  12. public:
  13. DECLARE_CLASS( CMuzzleFlashEmitter_1stPerson, CLocalSpaceEmitter );
  14. static CSmartPtr<CMuzzleFlashEmitter_1stPerson> Create( const char *pDebugName, int entIndex, int nAttachment, int fFlags = 0 );
  15. virtual void Update( float t ) { BaseClass::Update(t); }
  16. protected:
  17. CMuzzleFlashEmitter_1stPerson( const char *pDebugName );
  18. private:
  19. CMuzzleFlashEmitter_1stPerson( const CMuzzleFlashEmitter_1stPerson & );
  20. int m_iMuzzleFlashType;
  21. };