From 56b2915de96cf2a94f876b5e56fad2f34cff8052 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 17:49:40 +0300 Subject: Move questeffect into separate file. --- src/gui/windows/questswindow.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/gui') diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index 97f11c2e4..6ed7d6650 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -47,6 +47,7 @@ #include "utils/translation/podict.h" #include "resources/beingcommon.h" +#include "resources/questeffect.h" #include "resources/questitem.h" #include "resources/map/map.h" @@ -60,24 +61,6 @@ enum QuestType QUEST_REWARD = 2 }; -struct QuestEffect final -{ - QuestEffect() : - map(), - var(0), - id(0), - effectId(0), - values() - { - } - - std::string map; - int var; - int id; - int effectId; - std::set values; -}; - QuestsWindow::QuestsWindow() : // TRANSLATORS: quests window name Window(_("Quests"), false, nullptr, "quests.xml"), -- cgit v1.2.3-70-g09d2