1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +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

@@ -55,7 +55,7 @@ std::string CMapHandler::getTerrainDescr(const int3 & pos, bool rightClick) cons
const TerrainTile & t = map->getTile(pos);
if(t.hasFavorableWinds())
return VLC->objtypeh->getObjectName(Obj::FAVORABLE_WINDS, 0);
return LIBRARY->objtypeh->getObjectName(Obj::FAVORABLE_WINDS, 0);
std::string result = t.getTerrain()->getNameTranslated();
@@ -72,7 +72,7 @@ std::string CMapHandler::getTerrainDescr(const int3 & pos, bool rightClick) cons
{
return boost::str(
boost::format(rightClick ? "%s\r\n%s" : "%s %s") // New line for the Message Box, space for the Status Bar
% result % VLC->generaltexth->allTexts[330]
% result % LIBRARY->generaltexth->allTexts[330]
); // 'digging ok'
}
@@ -242,6 +242,6 @@ IMapObjectObserver::IMapObjectObserver()
IMapObjectObserver::~IMapObjectObserver()
{
if (VLC && MAPHANDLER)
if (LIBRARY && MAPHANDLER)
GAME->map().removeMapObserver(this);
}