From 2b16c3c72da75637c3e1dfc5ae0d7fb0015005fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 17:34:46 +0300 Subject: Move questitem into separate file. --- src/gui/windows/questswindow.cpp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'src/gui/windows/questswindow.cpp') diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index de7c62116..97f11c2e4 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -47,7 +47,7 @@ #include "utils/translation/podict.h" #include "resources/beingcommon.h" -#include "resources/questitemtext.h" +#include "resources/questitem.h" #include "resources/map/map.h" @@ -60,30 +60,6 @@ enum QuestType QUEST_REWARD = 2 }; -struct QuestItem final -{ - QuestItem() : - var(0), - name(), - group(), - incomplete(), - complete(), - texts(), - completeFlag(-1), - broken(false) - { - } - - int var; - std::string name; - std::string group; - std::set incomplete; - std::set complete; - std::vector texts; - int completeFlag; - bool broken; -}; - struct QuestEffect final { QuestEffect() : -- cgit v1.2.3-70-g09d2