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.

38 lines
1.2 KiB

  1. //====== Copyright � 1996-2004, Valve Corporation, All rights reserved. =====//
  2. //
  3. // Dme version of a hitbox
  4. //
  5. //===========================================================================//
  6. #include "mdlobjects/dmelod.h"
  7. #include "datamodel/dmelementfactoryhelper.h"
  8. #include "movieobjects/dmemodel.h"
  9. #include "movieobjects/dmedag.h"
  10. #include "movieobjects/dmecombinationoperator.h"
  11. // memdbgon must be the last include file in a .cpp file!!!
  12. #include "tier0/memdbgon.h"
  13. //-----------------------------------------------------------------------------
  14. // Expose this class to the scene database
  15. //-----------------------------------------------------------------------------
  16. IMPLEMENT_ELEMENT_FACTORY( DmeLOD, CDmeLOD );
  17. //-----------------------------------------------------------------------------
  18. // Purpose:
  19. //-----------------------------------------------------------------------------
  20. void CDmeLOD::OnConstruction()
  21. {
  22. m_Path.Init( this, "path" );
  23. m_Model.Init( this, "model" );
  24. m_Skeleton.Init( this, "skeleton" );
  25. m_CombinationOperator.Init( this, "combinationOperator" );
  26. m_flSwitchMetric.Init( this, "switchMetric" );
  27. m_bNoFlex.Init( this, "noFlex" );
  28. m_bIsShadowLOD.Init( this, "isShadowLOD" );
  29. }
  30. void CDmeLOD::OnDestruction()
  31. {
  32. }