csgo-2018-source/hammer/maplight.cpp

46 lines
1.0 KiB
C++
Raw Normal View History

2021-07-25 12:11:47 +08:00
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "stdafx.h"
#include "maplight.h"
#include "hammer.h"
// memdbgon must be the last include file in a .cpp file!!!
#include <tier0/memdbgon.h>
IMPLEMENT_MAPCLASS( CMapLight );
CMapClass* CMapLight::CreateMapLight(CHelperInfo *pHelperInfo, CMapEntity *pParent)
{
return new CMapLight;
}
void CMapLight::OnParentKeyChanged(const char* key, const char* value)
{
}
CMapClass *CMapLight::Copy(bool bUpdateDependencies)
{
CMapLight *pNew = new CMapLight;
pNew->CopyFrom( this, bUpdateDependencies );
return pNew;
}
//-----------------------------------------------------------------------------
// Purpose: Never select anything because of this helper.
//-----------------------------------------------------------------------------
CMapClass *CMapLight::PrepareSelection(SelectMode_t eSelectMode)
{
return NULL;
}