mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	HeroBonus: move TBonusSubtype from GameConstants.h
This commit is contained in:
		| @@ -1339,7 +1339,6 @@ enum class EHealPower : ui8 | ||||
|  | ||||
| // Typedef declarations | ||||
| using TExpType = si64; | ||||
| using TBonusSubtype = si32; | ||||
| using TQuantity = si32; | ||||
|  | ||||
| using TRmgTemplateZoneId = int; | ||||
|   | ||||
| @@ -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>; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user