Ivan Savenko
20f0b51912
Make bonus limiters/updaters/propagators const
...
All pointers held by bonus itself are now const.
To support OppositeSideLimiter (the only stateful limiter) bonuses now
hold their player owner instead.
No changes in functionality or mods
2025-06-03 19:39:28 +03:00
Ivan Savenko
25e57542be
Merge pull request #5725 from IvanSavenko/bonus_description
...
Custom descriptions and icons for creature abilities
2025-05-23 14:02:34 +03:00
Ivan Savenko
25655184d3
Add support for custom icons & descriptions for bonuses
2025-05-21 14:57:10 +03:00
Ivan Savenko
95ac124dc9
Bonus-aware addInfo loading
2025-05-20 14:56:22 +03:00
Ivan Savenko
9e49587749
Replace bonus string description with metastring that can properly
...
handle translations
2024-04-09 16:13:30 +03:00
Ivan Savenko
08deae4186
Moved static methods outside of vcmi namespace
2024-02-26 12:55:49 +02:00
Ivan Savenko
41493d6f67
Implemented 'strict' json support
2024-02-26 12:55:49 +02:00
Ivan Savenko
3740f8b02f
Moved bonus parsing to a new file
2024-02-14 15:48:06 +02:00