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.

45 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "stdafx.h"
  8. #include "maplight.h"
  9. #include "hammer.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include <tier0/memdbgon.h>
  12. IMPLEMENT_MAPCLASS( CMapLight );
  13. CMapClass* CMapLight::CreateMapLight(CHelperInfo *pHelperInfo, CMapEntity *pParent)
  14. {
  15. return new CMapLight;
  16. }
  17. void CMapLight::OnParentKeyChanged(const char* key, const char* value)
  18. {
  19. }
  20. CMapClass *CMapLight::Copy(bool bUpdateDependencies)
  21. {
  22. CMapLight *pNew = new CMapLight;
  23. pNew->CopyFrom( this, bUpdateDependencies );
  24. return pNew;
  25. }
  26. //-----------------------------------------------------------------------------
  27. // Purpose: Never select anything because of this helper.
  28. //-----------------------------------------------------------------------------
  29. CMapClass *CMapLight::PrepareSelection(SelectMode_t eSelectMode)
  30. {
  31. return NULL;
  32. }