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.

36 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYPERFORMANCEPLAYBACKHANDLER_H
  5. #define IREPLAYPERFORMANCEPLAYBACKHANDLER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #include "replay/ireplayperformancecontroller.h"
  12. //----------------------------------------------------------------------------------------
  13. class Vector;
  14. class QAngle;
  15. //----------------------------------------------------------------------------------------
  16. class IReplayPerformancePlaybackHandler : public IBaseInterface
  17. {
  18. public:
  19. virtual void OnEvent_Camera_Change_FirstPerson( float flTime, int nEntityIndex ) = 0;
  20. virtual void OnEvent_Camera_Change_ThirdPerson( float flTime, int nEntityIndex ) = 0;
  21. virtual void OnEvent_Camera_Change_Free( float flTime ) = 0;
  22. virtual void OnEvent_Camera_ChangePlayer( float flTime, int nEntIndex ) = 0;
  23. virtual void OnEvent_Camera_SetView( const SetViewParams_t &params ) = 0;
  24. virtual void OnEvent_TimeScale( float flTime, float flScale ) = 0;
  25. };
  26. //----------------------------------------------------------------------------------------
  27. #endif // IREPLAYPERFORMANCEPLAYBACKHANDLER_H