1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Restored sound notifications

This commit is contained in:
Ivan Savenko
2023-12-21 22:33:18 +02:00
parent 37a8c8db8d
commit d8c69d39d8

View File

@@ -28,7 +28,7 @@ class TurnTimerWidget : public CIntObject
int lastSoundCheckSeconds; int lastSoundCheckSeconds;
bool isBattleMode; bool isBattleMode;
std::set<int> notificationThresholds; const std::set<int> notificationThresholds = {0, 1, 2, 3, 4, 5, 10, 20, 30};
std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsMain; std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsMain;
std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsBattle; std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsBattle;