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
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef EDGEPROPERTIES_H
  8. #define EDGEPROPERTIES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class CCurveData;
  13. class ChoreoScene;
  14. class CChoreoEvent;
  15. class CFlexAnimationTrack;
  16. #include "basedialogparams.h"
  17. //-----------------------------------------------------------------------------
  18. // Purpose:
  19. //-----------------------------------------------------------------------------
  20. struct CEdgePropertiesParams : public CBaseDialogParams
  21. {
  22. // GlobalEvent descriptive name
  23. char m_szName[ 256 ];
  24. void SetFromFlexTrack( CFlexAnimationTrack *track );
  25. void ApplyToTrack( CFlexAnimationTrack *track );
  26. void SetFromCurve( CCurveData *ramp );
  27. void ApplyToCurve( CCurveData *ramp );
  28. bool m_bActive[ 2 ];
  29. int m_InterpolatorType[ 2 ];
  30. float m_flValue[ 2 ];
  31. };
  32. int EdgeProperties( CEdgePropertiesParams *params );
  33. #endif // EDGEPROPERTIES_H