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.

37 lines
1.2 KiB

  1. //========= Copyright 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_Model.Init( this, "model" );
  23. m_Skeleton.Init( this, "skeleton" );
  24. m_CombinationOperator.Init( this, "combinationOperator" );
  25. m_flSwitchMetric.Init( this, "switchMetric" );
  26. m_bNoFlex.Init( this, "noFlex" );
  27. m_bIsShadowLOD.Init( this, "isShadowLOD" );
  28. }
  29. void CDmeLOD::OnDestruction()
  30. {
  31. }