UIHelper.h 1016 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * UIHelper.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "StdInc.h"
  12. #include "../lib/CSoundBase.h"
  13. #include "../lib/texts/MetaString.h"
  14. VCMI_LIB_NAMESPACE_BEGIN
  15. struct MoveArtifactInfo;
  16. struct Component;
  17. class CArtifactSet;
  18. class CGHeroInstance;
  19. class CStackBasicDescriptor;
  20. VCMI_LIB_NAMESPACE_END
  21. namespace UIHelper
  22. {
  23. std::vector<Component> getArtifactsComponents(const CArtifactSet & artSet, const std::vector<MoveArtifactInfo> & movedPack);
  24. std::vector<Component> getSpellsComponents(const std::set<SpellID> & spells);
  25. soundBase::soundID getNecromancyInfoWindowSound();
  26. std::string getNecromancyInfoWindowText(const CStackBasicDescriptor & stack);
  27. std::string getArtifactsInfoWindowText();
  28. std::string getEagleEyeInfoWindowText(const CGHeroInstance & hero, const std::set<SpellID> & spells);
  29. }