1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

Renamed LibClasses * VLC to GameLibrary * LIBRARY

This commit is contained in:
Ivan Savenko
2025-02-14 16:23:37 +00:00
parent 156de5b17e
commit 645b95ba02
287 changed files with 2032 additions and 2032 deletions

View File

@ -14,7 +14,7 @@
#include "ObjectInfo.h"
#include "ObjectConfig.h"
#include "../VCMI_Lib.h"
#include "../GameLibrary.h"
#include "../mapObjectConstructors/CObjectClassesHandler.h"
#include "../mapObjectConstructors/AObjectTypeHandler.h"
#include "../serializer/JsonSerializeFormat.h"
@ -102,7 +102,7 @@ void ObjectConfig::serializeJson(JsonSerializeFormat & handler)
JsonNode node;
node.String() = VLC->objtypeh->getHandlerFor(object.primaryID, object.secondaryID);
node.String() = LIBRARY->objtypeh->getHandlerFor(object.primaryID, object.secondaryID);
// TODO: Check if AI-generated code is right
@ -118,7 +118,7 @@ void ObjectConfig::serializeJson(JsonSerializeFormat & handler)
for (const auto & objectName : objectNames)
{
VLC->objtypeh->resolveObjectCompoundId(objectName,
LIBRARY->objtypeh->resolveObjectCompoundId(objectName,
[this](CompoundMapObjectID objid)
{
addBannedObject(objid);
@ -152,7 +152,7 @@ void ObjectConfig::serializeJson(JsonSerializeFormat & handler)
objectMaxPerZone = std::numeric_limits<int>::max();
}
VLC->objtypeh->resolveObjectCompoundId(objectName,
LIBRARY->objtypeh->resolveObjectCompoundId(objectName,
[this, objectValue, objectProbability, objectMaxPerZone](CompoundMapObjectID objid)
{