summaryrefslogtreecommitdiff
path: root/src/resources/questitemtext.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 02:36:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 02:36:11 +0300
commit18e46c191ce38819cc6fa2f720726bbb6115c613 (patch)
tree8ff5f70cc0e0b19bbb9ceb08f573f3e50f688089 /src/resources/questitemtext.h
parent310e966a513f456538d8fd1bb02e5878ce24bc2d (diff)
downloadmanaplus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.gz
manaplus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.bz2
manaplus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.xz
manaplus-18e46c191ce38819cc6fa2f720726bbb6115c613.zip
Add support for cooridinates tag with x and y in quests.xml
Diffstat (limited to 'src/resources/questitemtext.h')
-rw-r--r--src/resources/questitemtext.h12
1 files changed, 10 insertions, 2 deletions
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