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.

77 lines
2.6 KiB

  1. //===== Copyright (c) 1996-2009, Valve Corporation, All rights reserved. ====
  2. //
  3. // Dme Asset
  4. //
  5. //===========================================================================
  6. // Valve includes
  7. #include "datamodel/dmelementfactoryhelper.h"
  8. #include "mdlobjects/dmeasset.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. //-----------------------------------------------------------------------------
  12. // DmeRelatedAsset
  13. //-----------------------------------------------------------------------------
  14. IMPLEMENT_ELEMENT_FACTORY( DmeRelatedAsset, CDmeRelatedAsset );
  15. //-----------------------------------------------------------------------------
  16. //
  17. //-----------------------------------------------------------------------------
  18. void CDmeRelatedAsset::OnConstruction()
  19. {
  20. m_sPath.Init( this, "path" );
  21. m_bIncludeModel.Init( this, "includeModel" );
  22. m_sNotes.Init( this, "notes" );
  23. m_bUseSkeleton.Init( this, "useSkeleton" );
  24. m_bAlwaysIncludeAttachments.Init( this, "alwaysIncludeAttachments" );
  25. m_eAssembleCmds.Init( this, "assembleCmds" );
  26. }
  27. //-----------------------------------------------------------------------------
  28. //
  29. //-----------------------------------------------------------------------------
  30. void CDmeRelatedAsset::OnDestruction()
  31. {
  32. }
  33. //-----------------------------------------------------------------------------
  34. // DmeAssetRoot
  35. //-----------------------------------------------------------------------------
  36. IMPLEMENT_ELEMENT_FACTORY( DmeAssetRoot, CDmeAssetRoot );
  37. //-----------------------------------------------------------------------------
  38. //
  39. //-----------------------------------------------------------------------------
  40. void CDmeAssetRoot::OnConstruction()
  41. {
  42. m_sMdlPath.Init( this, "mdlPath" );
  43. m_sSurfaceProperty.Init( this, "surfaceProperty" );
  44. m_ePostAssembleCmds.Init( this, "postAssembleCmds" );
  45. m_eRelatedAssets.Init( this, "relatedAssets" );
  46. m_sNameAtCreationTime.Init( this, "nameAtCreationTime" );
  47. m_sNotes.Init( this, "notes" );
  48. m_bAmbientBoost.Init( this, "ambientBoost" );
  49. m_bCastTextureShadows.Init( this, "castTextureShadows" );
  50. m_bDoNotCastShadows.Init( this, "doNotCastShadows" );
  51. m_sDynamicLightingOrigin.Init( this, "dynamicLightingOrigin" );
  52. m_nOpacity.Init( this, "opacity" );
  53. m_bNoForcedFade.Init( this, "noForcedFace" );
  54. m_bSubdivisionSurface.Init( this, "subdivisionSurface" );
  55. m_sContentsDescription.Init( this, "contentsDescription" );
  56. }
  57. //-----------------------------------------------------------------------------
  58. //
  59. //-----------------------------------------------------------------------------
  60. void CDmeAssetRoot::OnDestruction()
  61. {
  62. }