mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-13 22:06:58 +02:00
36 lines
1016 B
C++
36 lines
1016 B
C++
|
/*
|
||
|
* UIHelper.h, part of VCMI engine
|
||
|
*
|
||
|
* Authors: listed in file AUTHORS in main folder
|
||
|
*
|
||
|
* License: GNU General Public License v2.0 or later
|
||
|
* Full text of license available in license.txt file, in main folder
|
||
|
*
|
||
|
*/
|
||
|
#pragma once
|
||
|
|
||
|
#include "StdInc.h"
|
||
|
|
||
|
#include "../lib/CSoundBase.h"
|
||
|
#include "../lib/texts/MetaString.h"
|
||
|
|
||
|
VCMI_LIB_NAMESPACE_BEGIN
|
||
|
|
||
|
struct MoveArtifactInfo;
|
||
|
struct Component;
|
||
|
class CArtifactSet;
|
||
|
class CGHeroInstance;
|
||
|
class CStackBasicDescriptor;
|
||
|
|
||
|
VCMI_LIB_NAMESPACE_END
|
||
|
|
||
|
namespace UIHelper
|
||
|
{
|
||
|
std::vector<Component> getArtifactsComponents(const CArtifactSet & artSet, const std::vector<MoveArtifactInfo> & movedPack);
|
||
|
std::vector<Component> getSpellsComponents(const std::set<SpellID> & spells);
|
||
|
soundBase::soundID getNecromancyInfoWindowSound();
|
||
|
std::string getNecromancyInfoWindowText(const CStackBasicDescriptor & stack);
|
||
|
std::string getArtifactsInfoWindowText();
|
||
|
std::string getEagleEyeInfoWindowText(const CGHeroInstance & hero, const std::set<SpellID> & spells);
|
||
|
}
|