openmw-tes3coop/apps/openmw/mwdialogue/journalentry.hpp

38 lines
683 B
C++
Raw Normal View History

2011-04-19 08:54:11 +00:00
#ifndef GAME_MMDIALOGUE_JOURNALENTRY_H
#define GAME_MWDIALOGUE_JOURNALENTRY_H
#include <string>
namespace ESMS
{
struct ESMStore;
}
namespace MWWorld
{
class World;
}
2011-04-19 08:54:11 +00:00
namespace MWDialogue
{
/// \brief a quest or dialogue entry with a timestamp
struct JournalEntry
{
int mDay;
std::string mTopic;
std::string mInfoId;
JournalEntry();
JournalEntry (int day, const std::string& topic, const std::string& infoId);
std::string getText (const ESMS::ESMStore& store) const;
static JournalEntry makeFromQuest (const std::string& topic, int index,
const MWWorld::World& world);
2011-04-19 08:54:11 +00:00
};
}
#endif