Go to the documentation of this file.
20 connect(menu->addAction(tr(
"Add quest")), &QAction::triggered, [
this] () {
addQuest(); });
28 if (aqd.exec() != QDialog::Accepted) {
void questModified(quest_definition *quest)
ArchetypeWrapper * wrap(archetype *arch, AssetWrapper *parent)
virtual void assetDefined(const archetype *arch, const std::string &filename) override
std::vector< std::string > questFiles() const
AssetsManager * getManager()
std::vector< Key > keys() const
T * define(const Key &name, T *asset)
sstring add_string(const char *str)
ResourcesManager * myResources
void markModified(ChangeType change, int extra=0)
QVector< AssetWrapper * > myAssets
quest_definition * quest_create(const char *name)
virtual void fillMenu(QMenu *menu) override