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.

46 lines
857 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef ANIMDATA_H
  8. #define ANIMDATA_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "typedlog.h"
  13. #include "tier1/utlstring.h"
  14. #include "dmxloader/dmxelement.h"
  15. class CAnimData
  16. {
  17. DECLARE_DMXELEMENT_UNPACK()
  18. public:
  19. CAnimData();
  20. ~CAnimData();
  21. bool Unserialize( CDmxElement *pElement );
  22. bool IsDone( DmeTime_t time );
  23. CUtlString m_pStateName;
  24. CUtlString m_pAnimAlias;
  25. int m_TextureAnimSheetSeqNumber;
  26. float m_AnimationRate;
  27. CTypedLog< color32 > m_ColorAnim;
  28. CTypedLog< Vector2D > m_CenterPosAnim;
  29. CTypedLog< Vector2D > m_ScaleAnim;
  30. CTypedLog< float > m_RotationAnim;
  31. CTypedLog< CUtlString > m_FontAnim;
  32. };
  33. #endif // ANIMDATA_H