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.

35 lines
839 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef C_PROP_WEIGHTEDCUBE_H
  8. #define C_PROP_WEIGHTEDCUBE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "c_physicsprop.h"
  13. class C_PropWeightedCube : public C_PhysicsProp
  14. {
  15. public:
  16. DECLARE_CLASS( C_PropWeightedCube, C_PhysicsProp );
  17. DECLARE_CLIENTCLASS();
  18. //IPlayerPickupVPhysics
  19. virtual QAngle PreferredCarryAngles( void );
  20. virtual const Vector& GetRenderOrigin( void );
  21. virtual void UpdateOnRemove( void );
  22. virtual void Spawn( void );
  23. static CUtlVector<C_PropWeightedCube *> s_AllWeightedCubes;
  24. };
  25. typedef C_PropWeightedCube CPropWeightedCube;
  26. #endif //#ifndef C_TRIGGER_PORTAL_CLEANSER_H