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.

34 lines
790 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef C_PHYSICSPROP_H
  7. #define C_PHYSICSPROP_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "c_breakableprop.h"
  12. //-----------------------------------------------------------------------------
  13. // Purpose:
  14. //-----------------------------------------------------------------------------
  15. class C_PhysicsProp : public C_BreakableProp
  16. {
  17. typedef C_BreakableProp BaseClass;
  18. public:
  19. DECLARE_CLIENTCLASS();
  20. C_PhysicsProp();
  21. ~C_PhysicsProp();
  22. virtual bool OnInternalDrawModel( ClientModelRenderInfo_t *pInfo );
  23. protected:
  24. // Networked vars.
  25. bool m_bAwake;
  26. bool m_bAwakeLastTime;
  27. };
  28. #endif // C_PHYSICSPROP_H