| 246 | } |
| 247 | |
| 248 | void DFHack::describeNameTriple(NameTriple *info, const std::string &name, |
| 249 | const std::string &plural, const std::string &adj) |
| 250 | { |
| 251 | info->set_normal(DF2UTF(name)); |
| 252 | if (!plural.empty() && plural != name) |
| 253 | info->set_plural(DF2UTF(plural)); |
| 254 | if (!adj.empty() && adj != name) |
| 255 | info->set_adjective(DF2UTF(adj)); |
| 256 | } |
| 257 | |
| 258 | void DFHack::describeUnit(BasicUnitInfo *info, df::unit *unit, |
| 259 | const BasicUnitInfoMask *mask) |