13 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(QTreeWidget::tr(
"Archetypes")));
19 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(arch->
name));
27 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(QTreeWidget::tr(
"Artifacts")));
33 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(arti->
item->
name));
41 if (allowed->name[0] ==
'!')
44 if (specific && specific->
clone.
face != NULL)
54 if (
generic != NULL && generic->clone.face != NULL)
55 face =
generic->clone.face->number;
66 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(QTreeWidget::tr(
"Treasures")));
72 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(list->
name));
82 QTreeWidgetItem* item;
91 item =
new QTreeWidgetItem(parent, QStringList(QString(QTreeWidget::tr(
"Invalid list: %1")).arg(treasure->
name)));
104 const archt* base = NULL;
108 title = QString(
"%1 (no archetype?)").arg(recipe->
title);
113 if (strcmp(recipe->
title,
"NONE") == 0)
122 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(title));
123 if (base != NULL && base->
clone.
face != 0)
131 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(QTreeWidget::tr(
"Faces")));
137 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(face->
name));
144 return new QTreeWidgetItem(parent, QStringList(QTreeWidget::tr(
"Animations")));
149 QTreeWidgetItem* item =
new QTreeWidgetItem(parent, QStringList(anim->
name));
archetype * find_archetype(const char *name)
static QTreeWidgetItem * animationNode(QTreeWidgetItem *parent)
static QIcon getTreasureIcon()
static QTreeWidgetItem * archetypeNode(QTreeWidgetItem *parent)
static QTreeWidgetItem * artifactNode(QTreeWidgetItem *parent)
treasurelist * find_treasurelist(const char *name)
static QTreeWidgetItem * formulaeNode(const recipe *recipe, QTreeWidgetItem *parent)
static QTreeWidgetItem * faceNode(QTreeWidgetItem *parent)
struct linked_char * next
static QIcon getIcon(int faceNumber)
archetype * get_archetype_by_type_subtype(int type, int subtype)
static QTreeWidgetItem * treasureNode(QTreeWidgetItem *parent)
void LOG(LogLevel logLevel, const char *format,...)
static QIcon getTreasureOneIcon()