diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 02:36:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 02:36:11 +0300 |
commit | 18e46c191ce38819cc6fa2f720726bbb6115c613 (patch) | |
tree | 8ff5f70cc0e0b19bbb9ceb08f573f3e50f688089 /src/resources | |
parent | 310e966a513f456538d8fd1bb02e5878ce24bc2d (diff) | |
download | plus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.gz plus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.bz2 plus-18e46c191ce38819cc6fa2f720726bbb6115c613.tar.xz plus-18e46c191ce38819cc6fa2f720726bbb6115c613.zip |
Add support for cooridinates tag with x and y in quests.xml
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/questitemtext.h | 12 |
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 |