1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Animations from config

This commit is contained in:
nordsoft
2023-04-19 00:14:15 +04:00
parent 59a1a19d4a
commit d1dacd45e2
6 changed files with 69 additions and 39 deletions

View File

@@ -421,6 +421,11 @@ public:
const CGHeroInstance *hero; //hero on board
EPathfindingLayer::EEPathfindingLayer layer;
//animation filenames. If empty - animations won't be used
std::string actualAnimation; //for OH3 boats those have actual animations
std::string overlayAnimation; //waves animations
std::array<std::string, PlayerColor::PLAYER_LIMIT_I> flagAnimations;
void initObj(CRandomGenerator & rand) override;