diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-09 00:05:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-09 00:05:38 +0300 |
commit | b28730a1ecf54cd50b09e5e93dfb454fc46c2300 (patch) | |
tree | 4fd9c679b026eea8c05c308a04187852b5199200 /src/gui/windows/questswindow.h | |
parent | 86cb4a51351b8217ede6672703a1b39b91ddb572 (diff) | |
download | manaplus-b28730a1ecf54cd50b09e5e93dfb454fc46c2300.tar.gz manaplus-b28730a1ecf54cd50b09e5e93dfb454fc46c2300.tar.bz2 manaplus-b28730a1ecf54cd50b09e5e93dfb454fc46c2300.tar.xz manaplus-b28730a1ecf54cd50b09e5e93dfb454fc46c2300.zip |
Open quest in quests window if quest link was clicked.
Diffstat (limited to 'src/gui/windows/questswindow.h')
-rw-r--r-- | src/gui/windows/questswindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/questswindow.h b/src/gui/windows/questswindow.h index dd3464fae..f4f00f429 100644 --- a/src/gui/windows/questswindow.h +++ b/src/gui/windows/questswindow.h @@ -76,6 +76,8 @@ class QuestsWindow final : public Window, void addEffect(Being *const being); + void selectQuest(const int varId); + private: QuestsModel *mQuestsModel A_NONNULLPOINTER; ExtendedListBox *mQuestsListBox A_NONNULLPOINTER; @@ -94,6 +96,7 @@ class QuestsWindow final : public Window, // npc effects for current map and values: npc, effect NpcQuestEffectMap mNpcEffects; std::vector<QuestItem*> mQuestLinks; + std::map<int, int> mQuestReverseLinks; int mNewQuestEffectId; int mCompleteQuestEffectId; const Map *mMap; |