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-2009, Valve Corporation, All rights reserved. =====//
  2. //
  3. // A list of DmeEyeballs's
  4. //
  5. //===========================================================================//
  6. // Valve includes
  7. #include "mdlobjects/dmeeyeballglobals.h"
  8. #include "datamodel/dmelementfactoryhelper.h"
  9. #include "movieobjects/dmedag.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include "tier0/memdbgon.h"
  12. //-----------------------------------------------------------------------------
  13. // Expose this class to the scene database
  14. //-----------------------------------------------------------------------------
  15. IMPLEMENT_ELEMENT_FACTORY( DmeEyeballGlobals, CDmeEyeballGlobals );
  16. //-----------------------------------------------------------------------------
  17. //
  18. //-----------------------------------------------------------------------------
  19. void CDmeEyeballGlobals::OnConstruction()
  20. {
  21. m_vEyePosition.Init( this, "eyePosition" );
  22. m_flMaxEyeDeflection.InitAndSet( this, "maximumEyeDeflection", 90.0f );
  23. }
  24. //-----------------------------------------------------------------------------
  25. //
  26. //-----------------------------------------------------------------------------
  27. void CDmeEyeballGlobals::OnDestruction()
  28. {
  29. }