mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:49:56 +00:00
37 lines
568 B
C++
37 lines
568 B
C++
#ifndef _ESM_DIAL_H
|
|
#define _ESM_DIAL_H
|
|
|
|
#include <vector>
|
|
|
|
#include "esm_reader.hpp"
|
|
#include "esm_writer.hpp"
|
|
#include "loadinfo.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
/*
|
|
* Dialogue topic and journal entries. The actual data is contained in
|
|
* the INFO records following the DIAL.
|
|
*/
|
|
|
|
struct Dialogue
|
|
{
|
|
enum Type
|
|
{
|
|
Topic = 0,
|
|
Voice = 1,
|
|
Greeting = 2,
|
|
Persuasion = 3,
|
|
Journal = 4,
|
|
Deleted = -1
|
|
};
|
|
|
|
char type;
|
|
std::vector<DialInfo> mInfo;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
};
|
|
}
|
|
#endif
|