summaryrefslogtreecommitdiff
path: root/src/resources/questvar.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-08 21:33:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-08 21:33:36 +0300
commit70fc4db1b5570beceda662e9f34ec1729610512e (patch)
treeaf3873113624fa3484bf3eaef57711d51bca6c19 /src/resources/questvar.h
parent55a27d259810111936ed92711e69de86431b1fbe (diff)
downloadplus-70fc4db1b5570beceda662e9f34ec1729610512e.tar.gz
plus-70fc4db1b5570beceda662e9f34ec1729610512e.tar.bz2
plus-70fc4db1b5570beceda662e9f34ec1729610512e.tar.xz
plus-70fc4db1b5570beceda662e9f34ec1729610512e.zip
Move quests loading code into quests db.
Diffstat (limited to 'src/resources/questvar.h')
-rw-r--r--src/resources/questvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/questvar.h b/src/resources/questvar.h
index 3895d2783..1164d0f58 100644
--- a/src/resources/questvar.h
+++ b/src/resources/questvar.h
@@ -21,6 +21,8 @@
#ifndef RESOURCES_QUESTVAR_H
#define RESOURCES_QUESTVAR_H
+#include <map>
+
#include "localconsts.h"
struct QuestVar final
@@ -52,4 +54,7 @@ struct QuestVar final
int time1;
};
+typedef std::map<int, QuestVar> NpcQuestVarMap;
+typedef NpcQuestVarMap::const_iterator NpcQuestVarMapCIter;
+
#endif // RESOURCES_QUESTVAR_H