ManaPlus
|
#include "resources/db/questdb.h"
#include "configuration.h"
#include "logger.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
#include "utils/translation/podict.h"
#include "resources/beingcommon.h"
#include "resources/questeffect.h"
#include "resources/questitem.h"
#include "debug.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{questdb.cpp} | |
Functions | |
static void | loadQuest (const int var, const xmlNodePtr node) |
static void | loadEffect (const int var, const xmlNodePtr node) |
Variables | |
NpcQuestVarMap | anonymous_namespace{questdb.cpp}::mVars |
std::map< int, std::vector< QuestItem * > > | anonymous_namespace{questdb.cpp}::mQuests |
std::vector< QuestEffect * > | anonymous_namespace{questdb.cpp}::mAllEffects |
|
static |
Definition at line 159 of file questdb.cpp.
References BeingTypeId_negOne, QuestEffect::effectId, fromInt, XML::getProperty(), QuestEffect::id, anonymous_namespace{questdb.cpp}::mAllEffects, QuestEffect::map, splitToIntSet(), QuestEffect::values, Catch::Generators::values(), and QuestEffect::var.
Referenced by QuestDb::loadXmlFile().
|
static |
Definition at line 56 of file questdb.cpp.
References _, QuestItem::broken, QuestItem::complete, QuestType::COORDINATES, data, for_each_xml_child_node, XML::getIntProperty(), XML::getProperty(), PoDict::getStr(), QuestType::GIVER, QuestItem::group, QuestItem::incomplete, XML::langProperty(), Logger::log(), logger, anonymous_namespace{questdb.cpp}::mQuests, QuestType::NAME, QuestItem::name, QuestType::NPC, replaceAll(), replaceItemLinks(), QuestType::REWARD, splitToIntSet(), strprintf(), QuestType::TEXT, QuestItem::texts, Catch::toString(), translator, and QuestItem::var.
Referenced by QuestDb::loadXmlFile().