mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:49:55 +00:00
36 lines
611 B
C++
36 lines
611 B
C++
|
#ifndef OPENMW_ESM_JOURNALENTRY_H
|
||
|
#define OPENMW_ESM_JOURNALENTRY_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
// format 0, saved games only
|
||
|
|
||
|
struct JournalEntry
|
||
|
{
|
||
|
enum Type
|
||
|
{
|
||
|
Type_Journal = 0,
|
||
|
Type_Topic = 1,
|
||
|
Type_Quest = 2
|
||
|
};
|
||
|
|
||
|
int mType;
|
||
|
std::string mTopic;
|
||
|
std::string mInfo;
|
||
|
std::string mText;
|
||
|
int mDay; // time stamp
|
||
|
int mMonth;
|
||
|
int mDayOfMonth;
|
||
|
|
||
|
void load (ESMReader &esm);
|
||
|
void save (ESMWriter &esm) const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|