mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Implemented optional descriptions for market map objects
It is now possible to define description of an object with 'market' handler that will be shown on right-clicking the object. Similarly, added description to right-click popup to Hill Fort.
This commit is contained in:
@@ -437,6 +437,9 @@ protected:
|
||||
public:
|
||||
using CGObjectInstance::CGObjectInstance;
|
||||
|
||||
std::string getPopupText(PlayerColor player) const override;
|
||||
std::string getPopupText(const CGHeroInstance * hero) const override;
|
||||
|
||||
std::string getDescriptionToolTip() const;
|
||||
std::string getUnavailableUpgradeMessage() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user