#ifndef GAME_MMDIALOG_DIALOGUEMANAGER_H #define GAME_MWDIALOG_DIALOGUEMANAGER_H #include #include "../mwworld/ptr.hpp" #include namespace MWWorld { class Environment; } namespace MWDialogue { class DialogueManager { MWWorld::Environment& mEnvironment; bool isMatching (const MWWorld::Ptr& actor, const ESM::DialInfo::SelectStruct& select) const; bool isMatching (const MWWorld::Ptr& actor, const ESM::DialInfo& info) const; std::map knownTopics;// Those are the topics the player knows. public: DialogueManager (MWWorld::Environment& environment); void startDialogue (const MWWorld::Ptr& actor); //calbacks for the GUI void keywordSelected(std::string keyword); void goodbyeSelected(); void questionAnswered(std::string answere); }; } #endif