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.

54 lines
1.3 KiB

  1. //===== Copyright (c) 1996-2009, Valve Corporation, All rights reserved. ====
  2. //
  3. // DmeMotionControl
  4. //
  5. // Used for specifiying motion axis control things like in QC
  6. //
  7. //===========================================================================
  8. #ifndef DMEMOTIONCONTROL_H
  9. #define DMEMOTIONCONTROL_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "datamodel/dmelement.h"
  14. #include "datamodel/dmattributevar.h"
  15. //-----------------------------------------------------------------------------
  16. // CDmeMotionControl
  17. //-----------------------------------------------------------------------------
  18. class CDmeMotionControl : public CDmElement
  19. {
  20. DEFINE_ELEMENT( CDmeMotionControl, CDmElement );
  21. public:
  22. // Sets the motion control booleans based on logical OR'd STUDIO_? flags in passed int
  23. void SetStudioMotionControl( int nStudioMotionControl );
  24. // Gets the motion control booleans as a logical OR'd STUDIO_? flags int
  25. int GetStudioMotionControl() const;
  26. CDmaVar< bool > m_bX;
  27. CDmaVar< bool > m_bY;
  28. CDmaVar< bool > m_bZ;
  29. CDmaVar< bool > m_bXR;
  30. CDmaVar< bool > m_bYR;
  31. CDmaVar< bool > m_bZR;
  32. CDmaVar< bool > m_bLX;
  33. CDmaVar< bool > m_bLY;
  34. CDmaVar< bool > m_bLZ;
  35. CDmaVar< bool > m_bLXR;
  36. CDmaVar< bool > m_bLYR;
  37. CDmaVar< bool > m_bLZR;
  38. CDmaVar< bool > m_bLM;
  39. };
  40. #endif // DMEMOTIONCONTROL_H