summaryrefslogtreecommitdiff
path: root/hammer/maplight.h
diff options
context:
space:
mode:
Diffstat (limited to 'hammer/maplight.h')
-rw-r--r--hammer/maplight.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/hammer/maplight.h b/hammer/maplight.h
new file mode 100644
index 0000000..133267f
--- /dev/null
+++ b/hammer/maplight.h
@@ -0,0 +1,36 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef MAPLIGHT_H
+#define MAPLIGHT_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "MapHelper.h"
+#include "fgdlib/HelperInfo.h"
+#include "MapEntity.h"
+
+
+class CMapLight : public CMapHelper
+{
+public:
+
+ DECLARE_MAPCLASS(CMapLight,CMapHelper);
+
+
+ static CMapClass *CreateMapLight(CHelperInfo *pHelperInfo, CMapEntity *pParent);
+
+ virtual void OnParentKeyChanged(const char* key, const char* value);
+ virtual CMapClass *Copy(bool bUpdateDependencies);
+
+ virtual CMapClass *PrepareSelection(SelectMode_t eSelectMode);
+};
+
+
+#endif // MAPLIGHT_H