mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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();
|
|
}
|