Team Fortress 2 Source Code as on 22/4/2020
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.

36 lines
736 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MAPLIGHT_H
  8. #define MAPLIGHT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "MapHelper.h"
  13. #include "fgdlib/HelperInfo.h"
  14. #include "MapEntity.h"
  15. class CMapLight : public CMapHelper
  16. {
  17. public:
  18. DECLARE_MAPCLASS(CMapLight,CMapHelper);
  19. static CMapClass *CreateMapLight(CHelperInfo *pHelperInfo, CMapEntity *pParent);
  20. virtual void OnParentKeyChanged(const char* key, const char* value);
  21. virtual CMapClass *Copy(bool bUpdateDependencies);
  22. virtual CMapClass *PrepareSelection(SelectMode_t eSelectMode);
  23. };
  24. #endif // MAPLIGHT_H