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.

40 lines
1020 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //===========================================================================//
  13. #ifndef COLLISIONMODEL_H
  14. #define COLLISIONMODEL_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. class CDmElement;
  19. struct s_source_t;
  20. void Cmd_CollisionText( void );
  21. int DoCollisionModel( bool separateJoints );
  22. #ifdef MDLCOMPILE
  23. int DoCollisionModel( s_source_t *pSource, CDmElement *pInfo, bool bStaticProp );
  24. void LoadCollisionText( const char *pszCollisionText );
  25. #endif MDLCOMPILE
  26. // execute after simplification, before writing
  27. void CollisionModel_Build( void );
  28. // execute during writing
  29. extern void CollisionModel_Write( long checkSum );
  30. extern void CollisionModel_SetName( const char *pName );
  31. void CollisionModel_ExpandBBox( Vector &mins, Vector &maxs );
  32. #endif // COLLISIONMODEL_H