summaryrefslogtreecommitdiff
path: root/mdlobjects/dmelod.cpp
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /mdlobjects/dmelod.cpp
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'mdlobjects/dmelod.cpp')
-rw-r--r--mdlobjects/dmelod.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/mdlobjects/dmelod.cpp b/mdlobjects/dmelod.cpp
new file mode 100644
index 0000000..e7c1c4e
--- /dev/null
+++ b/mdlobjects/dmelod.cpp
@@ -0,0 +1,38 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Dme version of a hitbox
+//
+//===========================================================================//
+
+#include "mdlobjects/dmelod.h"
+#include "datamodel/dmelementfactoryhelper.h"
+#include "movieobjects/dmemodel.h"
+#include "movieobjects/dmedag.h"
+#include "movieobjects/dmecombinationoperator.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+
+//-----------------------------------------------------------------------------
+// Expose this class to the scene database
+//-----------------------------------------------------------------------------
+IMPLEMENT_ELEMENT_FACTORY( DmeLOD, CDmeLOD );
+
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+void CDmeLOD::OnConstruction()
+{
+ m_Model.Init( this, "model" );
+ m_Skeleton.Init( this, "skeleton" );
+ m_CombinationOperator.Init( this, "combinationOperator" );
+ m_flSwitchMetric.Init( this, "switchMetric" );
+ m_bNoFlex.Init( this, "noFlex" );
+ m_bIsShadowLOD.Init( this, "isShadowLOD" );
+}
+
+void CDmeLOD::OnDestruction()
+{
+} \ No newline at end of file