2013-11-30 13:41:12 +00:00
|
|
|
#ifndef OPENMW_ESM_QUESTSTATE_H
|
|
|
|
#define OPENMW_ESM_QUESTSTATE_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
class ESMWriter;
|
|
|
|
|
|
|
|
// format 0, saved games only
|
|
|
|
|
|
|
|
struct QuestState
|
|
|
|
{
|
2015-01-27 14:41:37 +00:00
|
|
|
std::string mTopic; // lower case id
|
2013-11-30 13:41:12 +00:00
|
|
|
int mState;
|
|
|
|
unsigned char mFinished;
|
|
|
|
|
|
|
|
void load (ESMReader &esm);
|
|
|
|
void save (ESMWriter &esm) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-01-27 14:41:37 +00:00
|
|
|
#endif
|