mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Reorganized artifact-related classes
- files now generally contain only 1 class (except for tightly coupled classes) - files are now located in lib/entities/artifact directory - removed excessive includes No changes to functionality
This commit is contained in:
@ -20,12 +20,12 @@
|
||||
|
||||
#include "../constants/StringConstants.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "../CArtHandler.h"
|
||||
#include "../CCreatureHandler.h"
|
||||
#include "../CCreatureSet.h"
|
||||
#include "../spells/CSpellHandler.h"
|
||||
#include "../CSkillHandler.h"
|
||||
#include "../IGameCallback.h"
|
||||
#include "../entities/artifact/CArtHandler.h"
|
||||
#include "../entities/hero/CHero.h"
|
||||
#include "../entities/hero/CHeroClass.h"
|
||||
#include "../gameState/CGameState.h"
|
||||
@ -147,7 +147,7 @@ JsonRandomizationException::JsonRandomizationException(const std::string & messa
|
||||
{
|
||||
assert(value.isStruct());
|
||||
|
||||
std::set<CArtifact::EartClass> allowedClasses;
|
||||
std::set<EArtifactClass::Type> allowedClasses;
|
||||
std::set<ArtifactPosition> allowedPositions;
|
||||
ui32 minValue = 0;
|
||||
ui32 maxValue = std::numeric_limits<ui32>::max();
|
||||
|
Reference in New Issue
Block a user