Go to the documentation of this file.
16 #include "../archetypes/ArchetypeWrapper.h"
88 if (base->clone.title) {
89 return QString(
"%1 %2").arg(base->clone.name, base->clone.title);
91 return base->clone.name;
107 if (!face && base != NULL) {
117 if (strcmp(
wrappedItem()->arch_name[i],
arch->wrappedItem()->name) == 0) {
118 hint =
"alchemy product";
const recipe * myWrappedItem
virtual QString displayName() const override
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
static QIcon getIcon(uint16_t faceNumber)
RecipeWrapper(AssetWrapper *parent, const recipe *rp, ResourcesManager *resources)
virtual QIcon displayIcon() const override
static std::unique_ptr< QMutexLocker > lockCrossfireData()
struct linked_char * next
virtual PossibleUse uses(const AssetWrapper *asset, std::string &hint) const override
const recipe * wrappedItem() const
archetype * find_archetype(const char *name)
const Face * recipe_get_face(const recipe *rp)