mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
5104a5a023
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually). This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
26 lines
476 B
C++
26 lines
476 B
C++
#ifndef OPENMW_ESM_DIALOGUESTATE_H
|
|
#define OPENMW_ESM_DIALOGUESTATE_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
// format 0, saved games only
|
|
|
|
struct DialogueState
|
|
{
|
|
std::vector<std::string> mKnownTopics;
|
|
|
|
std::map<std::string, std::map<std::string, int> > mChangedFactionReaction;
|
|
|
|
void load (ESMReader &esm);
|
|
void save (ESMWriter &esm) const;
|
|
};
|
|
}
|
|
|
|
#endif
|