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.

33 lines
963 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Play VCD on taunt prop
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef TF_TAUNT_PROP_H
  8. #define TF_TAUNT_PROP_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class CTFTauntProp : public CBaseCombatCharacter
  13. {
  14. DECLARE_CLASS( CTFTauntProp, CBaseCombatCharacter );
  15. public:
  16. DECLARE_SERVERCLASS();
  17. CTFTauntProp();
  18. virtual bool StartSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event, CChoreoActor *actor, CBaseEntity *pTarget ) OVERRIDE;
  19. virtual bool ProcessSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event ) OVERRIDE;
  20. virtual float PlayScene( const char *pszScene, float flDelay = 0.0f, AI_Response *response = NULL, IRecipientFilter *filter = NULL ) OVERRIDE;
  21. virtual void UpdateOnRemove() OVERRIDE;
  22. private:
  23. EHANDLE m_hScene;
  24. };
  25. #endif // TF_TAUNT_PROP_H