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.

37 lines
1.2 KiB

  1. //===== Copyright (c) 1996-2009, Valve Corporation, All rights reserved. ====
  2. //
  3. // Dme $animblocksize
  4. //
  5. //===========================================================================
  6. #include "mdlobjects/dmeanimblocksize.h"
  7. #include "datamodel/dmelementfactoryhelper.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. //-----------------------------------------------------------------------------
  11. // Expose this class to the scene database
  12. //-----------------------------------------------------------------------------
  13. IMPLEMENT_ELEMENT_FACTORY( DmeAnimBlockSize, CDmeAnimBlockSize );
  14. //-----------------------------------------------------------------------------
  15. // Purpose:
  16. //-----------------------------------------------------------------------------
  17. void CDmeAnimBlockSize::OnConstruction()
  18. {
  19. m_nSize.Init( this, "size" );
  20. m_bStall.InitAndSet( this, "stall", true );
  21. m_nStorageType.InitAndSet( this, "storageType", ANIMBLOCKSTORAGETYPE_LOWRES );
  22. }
  23. //-----------------------------------------------------------------------------
  24. //
  25. //-----------------------------------------------------------------------------
  26. void CDmeAnimBlockSize::OnDestruction()
  27. {
  28. }