#include "SelectionNames.h" #include #include "DisplayName.h" QString getBuildingTypeName(BuildingType type) { // "Hq" would read as a word rather than an acronym through the generic conversion, // and the player's own base deserves naming as such. if (type == BuildingType::Hq) { return QObject::tr("Player HQ"); } return QString::fromStdString(toDisplayName(buildingTypeId(type))); }