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.
39 lines
1.2 KiB
39 lines
1.2 KiB
//====== Copyright © 1996-2004, 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_Path.Init( this, "path" );
|
|
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()
|
|
{
|
|
}
|