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.

47 lines
904 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef MAPINFO_H
  7. #define MAPINFO_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "baseentity.h"
  12. class CMapInfo : public CPointEntity
  13. {
  14. public :
  15. DECLARE_DATADESC();
  16. DECLARE_CLASS( CMapInfo, CPointEntity );
  17. CMapInfo();
  18. virtual ~CMapInfo();
  19. bool KeyValue( const char *szKeyName, const char *szValue );
  20. void Spawn();
  21. void InputFireWinCondition( inputdata_t &inputdata );
  22. public:
  23. int m_iBuyingStatus;
  24. float m_flBombRadius;
  25. int m_iPetPopulation;
  26. bool m_bUseNormalSpawnsForDM;
  27. bool m_bDisableAutoGeneratedDMSpawns;
  28. float m_flBotMaxVisionDistance;
  29. int m_iHostageCount;
  30. };
  31. // The info_map_parameters entity in this map (only one is allowed for).
  32. extern CMapInfo *g_pMapInfo;
  33. #endif // MAPINFO_H