1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merged bonus names with bonus descriptions, since they are never used

separately
This commit is contained in:
Ivan Savenko
2025-05-23 17:12:51 +03:00
parent 4cd911247d
commit 3f4ff58a5e
22 changed files with 1214 additions and 2360 deletions

View File

@@ -24,7 +24,6 @@ class DLL_LINKAGE CBonusType
public:
CBonusType();
std::string getNameTextID() const;
std::string getDescriptionTextID() const;
private:
@@ -44,7 +43,7 @@ public:
CBonusTypeHandler();
virtual ~CBonusTypeHandler();
std::string bonusToString(const std::shared_ptr<Bonus> & bonus, const IBonusBearer * bearer, bool description) const override;
std::string bonusToString(const std::shared_ptr<Bonus> & bonus, const IBonusBearer * bearer) const override;
ImagePath bonusToGraphics(const std::shared_ptr<Bonus> & bonus) const override;
std::vector<JsonNode> loadLegacyData() override;