1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

HeroBonus: move TBonusSubtype from GameConstants.h

This commit is contained in:
Konstantin 2023-04-30 19:23:11 +03:00
parent ce37380e99
commit 48bcfe74f7
2 changed files with 1 additions and 2 deletions

View File

@ -1339,7 +1339,6 @@ enum class EHealPower : ui8
// Typedef declarations
using TExpType = si64;
using TBonusSubtype = si32;
using TQuantity = si32;
using TRmgTemplateZoneId = int;

View File

@ -9,7 +9,6 @@
*/
#pragma once
#include "../GameConstants.h"
#include "../JsonNode.h"
VCMI_LIB_NAMESPACE_BEGIN
@ -22,6 +21,7 @@ class IPropagator;
class IUpdater;
class BonusList;
using TBonusSubtype = int32_t;
using TBonusListPtr = std::shared_ptr<BonusList>;
using TConstBonusListPtr = std::shared_ptr<const BonusList>;
using TLimiterPtr = std::shared_ptr<ILimiter>;