1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/apps/openmw/mwdialogue/dialoguemanager.hpp

33 lines
661 B
C++
Raw Normal View History

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