1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

map objects hierarchy now uses IGameInfoCallback

This commit is contained in:
Ivan Savenko
2025-05-14 15:50:13 +03:00
parent 6f20235d07
commit 4d4da0454f
111 changed files with 485 additions and 507 deletions

View File

@@ -14,7 +14,7 @@
#include "CArtifact.h"
#include "CArtifactSet.h"
#include "../../callback/CGameInfoCallback.h"
#include "../../callback/IGameInfoCallback.h"
#include "../../gameState/CGameState.h"
VCMI_LIB_NAMESPACE_BEGIN
@@ -125,13 +125,13 @@ void CGrowingArtifactInstance::growingUp()
}
}
CArtifactInstance::CArtifactInstance(CGameInfoCallback *cb, const CArtifact * art)
CArtifactInstance::CArtifactInstance(IGameInfoCallback *cb, const CArtifact * art)
:CArtifactInstance(cb)
{
setType(art);
}
CArtifactInstance::CArtifactInstance(CGameInfoCallback *cb)
CArtifactInstance::CArtifactInstance(IGameInfoCallback *cb)
: CBonusSystemNode(ARTIFACT_INSTANCE)
, CCombinedArtifactInstance(cb)
{