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.

48 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. // $NoKeywords: $
  8. //=============================================================================//
  9. #ifndef C_PHYSICS_PROP_STATUE_H
  10. #define C_PHYSICS_PROP_STATUE_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. #include "c_physicsprop.h"
  15. //-----------------------------------------------------------------------------
  16. // Purpose:
  17. //-----------------------------------------------------------------------------
  18. class C_StatueProp : public C_PhysicsProp
  19. {
  20. public:
  21. DECLARE_CLASS( C_StatueProp, C_PhysicsProp );
  22. DECLARE_CLIENTCLASS();
  23. C_StatueProp();
  24. virtual ~C_StatueProp();
  25. virtual void Spawn( void );
  26. virtual void ComputeWorldSpaceSurroundingBox( Vector *pVecWorldMins, Vector *pVecWorldMaxs );
  27. virtual void OnDataChanged( DataUpdateType_t updateType );
  28. public:
  29. CHandle<CBaseAnimating> m_hInitBaseAnimating;
  30. bool m_bShatter;
  31. int m_nShatterFlags;
  32. Vector m_vShatterPosition;
  33. Vector m_vShatterForce;
  34. };
  35. #endif // C_PHYSICS_PROP_STATUE_H