2010-08-06 17:16:44 +00:00
|
|
|
#ifndef GAME_MMDIALOG_DIALOGUEMANAGER_H
|
|
|
|
#define GAME_MWDIALOG_DIALOGUEMANAGER_H
|
2010-08-06 16:01:34 +00:00
|
|
|
|
2010-08-08 11:21:03 +00:00
|
|
|
#include <components/esm/loadinfo.hpp>
|
2010-08-06 16:01:34 +00:00
|
|
|
|
2010-08-08 11:21:03 +00:00
|
|
|
#include "../mwworld/ptr.hpp"
|
2010-08-08 09:34:03 +00:00
|
|
|
|
2010-08-06 16:01:34 +00:00
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class Environment;
|
|
|
|
}
|
|
|
|
|
2010-08-06 17:16:44 +00:00
|
|
|
namespace MWDialogue
|
2010-08-06 16:01:34 +00:00
|
|
|
{
|
2010-08-06 17:16:44 +00:00
|
|
|
class DialogueManager
|
2010-08-06 16:01:34 +00:00
|
|
|
{
|
|
|
|
MWWorld::Environment& mEnvironment;
|
|
|
|
|
2010-08-08 11:21:03 +00:00
|
|
|
bool isMatching (const MWWorld::Ptr& actor, const ESM::DialInfo::SelectStruct& select) const;
|
|
|
|
|
2010-08-08 09:34:03 +00:00
|
|
|
bool isMatching (const MWWorld::Ptr& actor, const ESM::DialInfo& info) const;
|
|
|
|
|
2010-08-06 16:01:34 +00:00
|
|
|
public:
|
|
|
|
|
2010-08-06 17:16:44 +00:00
|
|
|
DialogueManager (MWWorld::Environment& environment);
|
2010-08-06 16:01:34 +00:00
|
|
|
|
2010-08-06 17:16:44 +00:00
|
|
|
void startDialogue (const MWWorld::Ptr& actor);
|
2010-08-06 16:01:34 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|