Team Fortress 2 Source Code as on 22/4/2020
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
1.1 KiB

  1. //========= Copyright 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. #include "movieobjects/dmeshape.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward Declarations
  14. //-----------------------------------------------------------------------------
  15. class CDmeDrawSettings;
  16. struct matrix3x4_t;
  17. //-----------------------------------------------------------------------------
  18. // A class representing an attachment point
  19. //-----------------------------------------------------------------------------
  20. class CDmeHitbox : public CDmeShape
  21. {
  22. DEFINE_ELEMENT( CDmeHitbox, CDmeShape );
  23. public:
  24. virtual void Draw( const matrix3x4_t &shapeToWorld, CDmeDrawSettings *pDrawSettings = NULL );
  25. CDmaString m_SurfaceProperty;
  26. CDmaString m_Group;
  27. CDmaString m_Bone;
  28. CDmaVar< Vector > m_vecMins;
  29. CDmaVar< Vector > m_vecMaxs;
  30. CDmaColor m_RenderColor; // used for visualization
  31. private:
  32. };
  33. #endif // DMEHITBOX_H