Crossfire Server, Trunk
R21670
|
#include <QtWidgets>
#include "global.h"
#include "artifact.h"
#include "CREArtifactPanel.h"
#include "CREUtils.h"
#include "CREAnimationWidget.h"
Go to the source code of this file.
Functions | |
static void | addArchetypes (const artifact *artifact, const char *name, bool check, QTreeWidget *root) |
|
static |
Add all possible archetypes for the specified artifact.
artifact | artifact. Only the type is used. |
name | archetype or object name to allow. If NULL, all items of the correct type are added. |
check | if true then the archetype or object's name must match, else it must not match. |
root | tree to insert items into. |
Definition at line 121 of file CREArtifactPanel.cpp.
References CREUtils::archetypeNode(), archt::clone, first_archetype, artifactstruct::item, obj::name, archt::name, archt::next, and obj::type.
Referenced by CREArtifactPanel::setItem().