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

More generic support for bonus subtypes descriptions

This commit is contained in:
Ivan Savenko
2025-05-23 19:19:03 +03:00
parent 747cf21cab
commit 6c5b2b8e63
4 changed files with 76 additions and 23 deletions

View File

@@ -32,6 +32,8 @@ private:
ImagePath icon;
std::map<int, ImagePath> subtypeIcons;
std::map<int, ImagePath> valueIcons;
std::map<int, std::string> subtypeDescriptions;
std::map<int, std::string> valueDescriptions;
std::string identifier;
bool hidden;