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.

35 lines
701 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef ACTANIMATING_H
  8. #define ACTANIMATING_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "baseanimating.h"
  13. class CActAnimating : public CBaseAnimating
  14. {
  15. public:
  16. DECLARE_CLASS( CActAnimating, CBaseAnimating );
  17. void SetActivity( Activity act );
  18. inline Activity GetActivity( void ) { return m_Activity; }
  19. virtual int ObjectCaps( void ) { return BaseClass::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; }
  20. DECLARE_DATADESC();
  21. private:
  22. Activity m_Activity;
  23. };
  24. #endif // ACTANIMATING_H