From 18e46c191ce38819cc6fa2f720726bbb6115c613 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Mar 2016 02:36:11 +0300 Subject: Add support for cooridinates tag with x and y in quests.xml --- src/resources/questitemtext.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/resources') diff --git a/src/resources/questitemtext.h b/src/resources/questitemtext.h index 01d6706ea..2667acc35 100644 --- a/src/resources/questitemtext.h +++ b/src/resources/questitemtext.h @@ -29,13 +29,21 @@ struct QuestItemText final { - QuestItemText(const std::string &text0, const QuestTypeT type0) : - text(text0), type(type0) + QuestItemText(const std::string &text0, + const QuestTypeT type0, + const std::string &str1, + const std::string &str2) : + text(text0), + type(type0), + data1(str1), + data2(str2) { } std::string text; QuestTypeT type; + std::string data1; + std::string data2; }; #endif // RESOURCES_QUESTITEMTEXT_H -- cgit v1.2.3-60-g2f50