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.

37 lines
876 B

  1. //====== Copyright � 1996-2004, Valve Corporation, All rights reserved. =====//
  2. //
  3. // Dme version of a hitbox
  4. //
  5. //===========================================================================//
  6. #ifndef DMEHITBOX_H
  7. #define DMEHITBOX_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // Valve includes
  12. #include "mdlobjects/dmebbox.h"
  13. //-----------------------------------------------------------------------------
  14. // A class representing an attachment point
  15. //-----------------------------------------------------------------------------
  16. class CDmeHitbox : public CDmeBBox
  17. {
  18. DEFINE_ELEMENT( CDmeHitbox, CDmeBBox );
  19. public:
  20. virtual void Draw( const matrix3x4_t &shapeToWorld, CDmeDrawSettings *pDrawSettings = NULL );
  21. CDmaString m_sSurfaceProperty;
  22. CDmaVar< int > m_nGroupId;
  23. CDmaString m_sBoneName;
  24. CDmaColor m_cRenderColor; // used for visualization
  25. };
  26. #endif // DMEHITBOX_H