mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
ee1b0459e6
- buiding/structure lists must use object format. This may break some outdated mods. - generic support for logical expressions that consist from and/or/not operators. - string ID's for buidings are now actually used.
13 lines
341 B
C++
13 lines
341 B
C++
#include "StdInc.h"
|
|
|
|
#include "LogicalExpression.h"
|
|
|
|
#include "VCMI_Lib.h"
|
|
#include "CGeneralTextHandler.h"
|
|
|
|
std::string LogicalExpressionDetail::getTextForOperator(std::string operation)
|
|
{
|
|
//placed in cpp mostly to avoid unnecessary includes in header
|
|
return VLC->generaltexth->localizedTexts["logicalExpressions"][operation].String();
|
|
}
|